how to HIGHLIGHT new lines in an updated HTML file?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Guest10
Posts: 578
Joined: 01 Oct 2013, 02:50

how to HIGHLIGHT new lines in an updated HTML file?

13 Apr 2014, 18:01

i am using Firefox if this is a factor. i have a simple html file that contains only simple lines of text (these are all live or active links but short headlines and are line separated [default blue color characters against plain white background]). this html file is updated every 10 minutes and some of these lines may change (that is, some lines are added or deleted when compared to its previous [pre-updated] version). it is confusing to figure out which lines have been added (as new lines). is it possible to write a script that compares the updated version with the older version (pre-updated one) every 10 minutes and HIGHLIGHTS the added (new) headlines in the updated html file (it could generate a separate file to accomplish this if necessary but its contents [links] must be identical to the updated file before and after highlights are added. highlights are simply for readability)? thanks! :D
Guest10
Posts: 578
Joined: 01 Oct 2013, 02:50

Re: how to HIGHLIGHT new lines in an updated HTML file?

13 Apr 2014, 20:26

not sure if this helps?: :D
https://code.google.com/p/html-diff/

The tool compares HTML files not only on the source level, but tries to compare shown text as well, because there can exist more different source files that appear to be the same in the HTML browser. Program is launched from command line and generates new file containing differential report with highlighted changes.
step
Posts: 3
Joined: 29 Mar 2014, 12:43

Re: how to HIGHLIGHT new lines in an updated HTML file?

14 Apr 2014, 01:14

Websitewatcher is a commercial option. It's a page synchronization tool. It takes a page snapshot, compares it with a previous page snapshot and outputs a highlighted, new html page. It does many other things.
Guest10
Posts: 578
Joined: 01 Oct 2013, 02:50

Re: how to HIGHLIGHT new lines in an updated HTML file?

14 Apr 2014, 02:20

never heard of it! good stuff! thanks, downloaded and now testing... :lol:
Guest wrote:does exactly what you want https://addons.mozilla.org/En-us/firefo ... e-scanner/
Guest10
Posts: 578
Joined: 01 Oct 2013, 02:50

Re: how to HIGHLIGHT new lines in an updated HTML file?

14 Apr 2014, 06:25

yes, thanks, bull's eye! looks like a winner and an indispensable part well-know. good stuff! :lol:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Ralf_Reddings200244 and 287 guests