infernojj / daisydiff Goto Github PK
View Code? Open in Web Editor NEWThis project forked from daisydiff/daisydiff
An open source Java library to compare HTML files (forked from http://daisydiff.googlecode.com/).
License: Apache License 2.0
This project forked from daisydiff/daisydiff
An open source Java library to compare HTML files (forked from http://daisydiff.googlecode.com/).
License: Apache License 2.0
===================================================================================== This is the Nuxeo maintenance branch of daisydiff, forked from tag v1.2. The initial commit is a checkout of http://daisydiff.googlecode.com/svn/tags/v1.2/ Original README content below. ===================================================================================== Daisy Diff 1.2 This is Daisy Diff, the open source HTML diffing library! Website - http://code.google.com/p/daisydiff/ +---------------------------------------------------------------+ | STAND-ALONE | +---------------------------------------------------------------+ Java: ===== java -jar daisydiff.jar [oldHTML] [newHTML] [optional arguments] Optional Arguments: =================== --file=[filename] - Write output to the specified file. --type=[html/tag] - Use the html (default) diff algorithm or the tag diff. --css=[cssfile1;cssfile2;cssfile3] - Add external CSS files. --output=[html/xml] - Write html (default) or xml output. --q - Generate less console output. Example: ======== java -jar daisydiff.jar http://web.archive.org/web/20070107145418/http://news.bbc.co.uk/ http://web.archive.org/web/20070107182640/http://news.bbc.co.uk/ --css=http://web.archive.org/web/20070107145418/http://news.bbc.co.uk/nol/shared/css/news_r5.css java -jar daisydiff.jar http://cocoondev.org/wiki/291-cd/version/15/part/SimpleDocumentContent/data http://cocoondev.org/wiki/291-cd/version/17/part/SimpleDocumentContent/data --css=http://cocoondev.org/resources/skins/daisysite/css/daisy.css --output=xml --file=daisysite.htm Requirements: ============= Java 1.5 or 6 +---------------------------------------------------------------+ | EMBEDDED | +---------------------------------------------------------------+ Java: ===== org.outerj.daisy.diff.DaisyDiff{ /** * Diffs two html files, outputting the result to the specified consumer. */ public static void diffHTML(InputSource oldSource, InputSource newSource, ContentHandler consumer, String prefix, Locale locale) throws SAXException, IOException; /** * Diffs two html files word for word as source, outputting the result to * the specified consumer. */ public static void diffTag(String oldText, String newText, ContentHandler consumer) throws Exception; } Requirements: ============= Java 1.5 or 6 To run Daisy Diff embedded in your application, you don't need the entire Jar file. A much smaller Jar file without Xerces and NekoHtml will suffice. +---------------------------------------------------------------+ | PHP | +---------------------------------------------------------------+ The DaisyDiff algorithm has been integrated in MediaWiki. The version with DaisyDiff support isn't released yet. More info on: http://www.mediawiki.org/wiki/Visual_Diff The PHP code is released under the GPLv2. It can also be used as an embedded HTML differ in a PHP application. +---------------------------------------------------------------+ | Acknowledgements | +---------------------------------------------------------------+ Guy Van den Broeck <[email protected]> Daniel Dickison
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.