1
vote
1answer
78 views
+50

How to show diff of two html tables using javascript?

I have a set of tabular data that has changed. Now i have both the data rendered side by side in two html tables. Now I want to highlight the columns that have changed just like in svn file diff. I ...
3
votes
1answer
34 views

Bash diff body text of html file only

I'm writing a shell script which tracks the changes of a website and emails me with the contents of the change if one occurs. The idea is to use wget to grab a copy of the html and compare it to the ...
1
vote
0answers
81 views

Calculating the difference in percentage of two HTML files

I'm writing a tool in php which compares HTML files and shows the differences. Now I'm looking for an efficient way to calculate the difference in percentage between two HTML files. These files can be ...
0
votes
2answers
46 views

Identify added or removed text in HTML files using Perl

My problem boils down to, I have multiple versions of the same HTML page, and I want to know if this page has changed using Perl. These files contain html/javascript and written English. The changes ...
0
votes
3answers
165 views

how to get html text differences like svn?

I am using PEAR text_diff class to get comparison of text. It works correct for plain text, but when I try to compare text with HTML tags, It gives wrong result is there any way to compare two HTML ...
1
vote
1answer
160 views

HTML Diff tool API

I'm looking for an api that will visually show html difference for both structure, characters/words, and style. This tool must also support double byte characters and be flexible enough for me to add ...
14
votes
3answers
539 views

Building an HTML Diff/Patch Algorithm

A description of what I'm going to accomplish: Input 2 (N is not essential) HTML documents. Standardize the HTML format Diff the two documents -- external styles are not important but anything ...
38
votes
12answers
9k views

Anyone have a diff algorithm for rendered HTML?

I'm interested in seeing a good diff algorithm, possibly in Javascript, for rendering a side-by-side diff of two HTML pages. The idea would be that the diff would show the differences of the rendered ...
2
votes
1answer
140 views

Can I diff HTML by its semantic or structure? [closed]

For example, I want the following to be considered same. <div id="div" class="txt"> Foo bar </div> and <div class="txt" id="div" >Foo ...
2
votes
2answers
331 views

Detect percentage of difference between HTML pages

Suppose I have 2 HTML sources. I want to compare these and if they differ more than a given percentage value I want to do something with the new HTML. For example, if the 2 HTML pages differ 5% or ...
20
votes
10answers
11k views

diff to html (diff2html) program [closed]

I'm looking for a "diff to html" program, which would generate a static html page from a given diff/patch file. I've googled for it of course, but apart from some scripts I've found there's no "real ...
1
vote
4answers
805 views

how to using python to diff two html files

i want use python to diff two html files: example : html_1 = """ <p>i love it</p> """ html_2 = """ <h2>i love it </p> """ the diff file will like this : diff_html = """ ...
1
vote
1answer
124 views

hot to use python diff html

is there a way diff html as bellow ? html_1 = "<h1>text<h1>" html_2 = "<h2>text<h2>" use google's diff_prettyHtml will not work correctly . i will say that 1 change to 2: ...
4
votes
1answer
483 views

In python, produce HTML highlighting the differences of two simple strings

I need to highlight the differences between two simple strings with python, enclosing the differing substrings in a HTML span attribute. So I'm looking for a simple way to implement the function ...
27
votes
4answers
8k views

Coloured diff to HTML

I enjoy using git diff --color-words to clearly see the words that have changed in a file. However I want to share that diff with someone without git or a colour terminal for that matter. So does ...

1 2 3
15 30 50 per page