rednose / htmldiff
There is no license information available for the latest version (dev-master) of this package.
RedNose HTMLDiff fork
dev-master
2013-06-27 17:47 UTC
Requires
- php: >=5.2.4
This package is not auto-updated.
Last update: 2024-12-11 20:09:51 UTC
README
HTML diff engine derived from the MediaWiki Visual Diff module http://www.mediawiki.org/wiki/Visual_Diff. Hosted on http://gitorious.org/htmldiff. Sources: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/diff/HTMLDiff.php?view=markup&pathrev=58266 http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/diff/Diff.php?view=markup&pathrev=58266 http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/diff/Nodes.php?view=markup&pathrev=58266 http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Sanitizer.php?view=markup&pathrev=58267 http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Xml.php?view=markup&pathrev=58267 To use this, include the file htmldiff.php. The function html_diff($a, $b) is a helper function that returns the difference between to HTML code strings as HTML code. It will assign the HTML class names diff-html-added and diff-html-removed to changed content. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. or see http://www.gnu.org/