Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/contentmath/islandora_pretty_text_diff
Integrates the jQuery.PrettyTextDiff to visualize differences in texts.
https://github.com/contentmath/islandora_pretty_text_diff
Last synced: 3 months ago
JSON representation
Integrates the jQuery.PrettyTextDiff to visualize differences in texts.
- Host: GitHub
- URL: https://github.com/contentmath/islandora_pretty_text_diff
- Owner: contentmath
- License: gpl-3.0
- Created: 2016-04-04T16:47:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-04-07T00:25:10.000Z (over 8 years ago)
- Last Synced: 2024-05-02T21:07:35.852Z (7 months ago)
- Language: JavaScript
- Size: 21.5 KB
- Stars: 6
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- islandora_awesome - Islandora Pretty Text Diff - View "diffs" of text/XML datastream versions. [More info](http://www.contentmath.com/articles/2016/4/4/islandora-pretty-text-diff-compare-datastream-versions) (The Islandora 7.x-1.x List / Utility Modules)
README
# Islandora Pretty Text Diff
## Introduction
Integrates the jQuery.PrettyTextDiff plugin to visualize differences in texts.
## Requirements
This module requires the following modules/libraries:
* [Islandora](https://github.com/islandora/islandora)
* [Tuque](https://github.com/islandora/tuque)
* [Libraries API](https://drupal.org/project/libraries)
* [jQuery.PrettyTextDiff](https://github.com/arnab/jQuery.PrettyTextDiff)## Installation
Follow the typical Drupal module installation instructions [here](https://drupal.org/documentation/install/modules-themes/modules-7).
The jQuery.PrettyTextDiff plugin should be placed in the libraries directory so that jquery.pretty-text-diff.min.js is found in the root of the jQuery.PrettyTextDiff directory.
jQuery.PrettyTextDiff is a wrapper for Google's Diff Match and Patch JavaScript library. This library is included in the module (Apache License 2.0).
## Configuration
Enabling the module adds the diff form to the bottom of datastreams' versions page.
![Configuration screenshots](http://static1.squarespace.com/static/56ec91e02fe1319543ad7e75/t/570305d122482eac526b4daa/1459815901671/?format=750w)
### Customization
Islandora modules may call the islandora_pretty_text_diff_content() function with two different versions of content to render a diff.
## Documentation
Further documentation for this module is available at [www.contentmath.com](http://www.contentmath.com/articles/2016/4/4/islandora-pretty-text-diff-compare-datastream-versions).
## Troubleshooting/Issues
Have an issue with the module?
* [Issue Queue](https://github.com/contentmath/islandora_pretty_text_diff/issues)
Need support or additional features or modifications?
* [Content Math](http://www.contentmath.com)
## Maintainers/Sponsors
Current maintainers:
* [Mitch MacKenzie](http://www.contentmath.com)
## License
[GPLv3](http://www.gnu.org/licenses/gpl-3.0.txt)