On Apr 23, 2013, at 4:37 PM, Alexander Duryee wrote:
> The absolute simplest way to do this would be to fire up a terminal
> (OSX/Linux) and:
>
> diff page1.html page2.html | less
>
> Unfortunately, this will also catch changes made in other markup, and
> may or may not be terribly readable.
At the very least, I'd suggest adding a '-b' which will ignore changes to whitespace.
Also see:
http://www.w3.org/wiki/HtmlDiff
-Joe
> On Tue, Apr 23, 2013 at 4:31 PM, Alevtina Verbovetskaya
> <[log in to unmask]> wrote:
>> I've recently begun to use Beyond Compare: http://www.scootersoftware.com/ It's not free or OSS, though.
>>
>> There's also a plugin for Notepad++ that does something similar: http://sourceforge.net/projects/npp-compare/ This is free, of course.
>>
>> Thanks!
>> Allie
>>
>>
>> -----Original Message-----
>> From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Wilhelmina Randtke
>> Sent: Tuesday, April 23, 2013 4:24 PM
>> To: [log in to unmask]
>> Subject: [CODE4LIB] Tool to highlight differences in two files
>>
>> I would like to compare versions of a website scraped at different times to see what paragraphs on a page have changed. Does anyone here know of a tool for holding two files side by side and noting what is the same and what is different between the files?
>>
>> It seems like any simple script to note differences in two strings of text would work, but I don't know a tool to use.
>>
>> -Wilhelmina Randtke
|