[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#653791: RFP: libhtml-diff-perl -- show the changes between two HTML documents



Package: wnpp
Severity: wishlist

* Package name    : libhtml-diff-perl
  Version         : 0.561
  Upstream Author : Ezra elias kilty Cooper <ezra@ezrakilty.net>
* URL             : http://search.cpan.org/dist/HTML-Diff/
* License         : Perl
  Programming Lang: Perl
  Description     : show the changes between two HTML documents

This module compares two strings of HTML and returns a list of a chunks
which indicate the diff between the two input strings, where changes in
formatting are considered changes.

HTML::Diff does not strictly parse the HTML. Instead, it uses regular
expressions to make a decent effort at understanding the given HTML. As a
result, there are many valid HTML documents for which it will not produce
the correct answer. But there may be some invalid HTML documents for which
it gives you the answer you're looking for. Your mileage may vary; test it
on lots of inputs from your domain before relying on it.



Reply to: