473,387 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Diff between 2 HTMLs

Hi,

I have a HTML webpage that is updated every week.
I mean the layout gets chaged every week(not a very drastic change).
Like, edit box is changed to drop down menu or a field is moved from one
place to other within the HTML page.

I keep the HTML source backup before it gets updated.
Are there any software tools(in any language) that will automatically
check the difference between 2 HTML pages(2 weeks) and tell me
what has changed in the new page.

I used the TKDIFF/diff etc. commands in unix, but they all are manual
tools. I need an automated script that will me tell about teh changes.

Regards,
Anil.
Jul 23 '05 #1
5 2599
Anil wrote:

I keep the HTML source backup before it gets updated.
Are there any software tools(in any language) that will automatically
check the difference between 2 HTML pages(2 weeks) and tell me
what has changed in the new page.

I used the TKDIFF/diff etc. commands in unix, but they all are manual
tools. I need an automated script that will me tell about teh changes.

Put the diff script in a cron job and mail the results to yourself.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 23 '05 #2

jmm-list-gn wrote:
Anil wrote:

I keep the HTML source backup before it gets updated.
Are there any software tools(in any language) that will automatically check the difference between 2 HTML pages(2 weeks) and tell me
what has changed in the new page.

I used the TKDIFF/diff etc. commands in unix, but they all are manual tools. I need an automated script that will me tell about teh changes. Put the diff script in a cron job and mail the results to

yourself.
--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Thanks for the response. I was looking for the tool, not the
reporting mechanism.

Jul 23 '05 #3
JRS: In article <63**************************@posting.google.com >,
dated Wed, 1 Dec 2004 01:27:56, seen in news:comp.infosystems.www.author
ing.html, Anil <an****@gmail.com> posted :

I keep the HTML source backup before it gets updated.
Are there any software tools(in any language) that will automatically
check the difference between 2 HTML pages(2 weeks) and tell me
what has changed in the new page.


The rendering of an HTML page is substantially independent of the amount
and type of whitespace (including newlines) that separates each item in
the source file.

The first question must therefore be whether you want to compare the
source code files themselves, or you want the comparison to be sensitive
only to the meaning of the source code.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk DOS 3.3, 6.20; Win98. ©
Web <URL:http://www.merlyn.demon.co.uk/> - FAQqish topics, acronyms & links.
PAS EXE TXT ZIP via <URL:http://www.merlyn.demon.co.uk/programs/00index.htm>
My DOS <URL:http://www.merlyn.demon.co.uk/batfiles.htm> - also batprogs.htm.
Jul 23 '05 #4
Dr John Stockton <sp**@merlyn.demon.co.uk> wrote in message news:<+q**************@merlyn.demon.co.uk>...
JRS: In article <63**************************@posting.google.com >,
dated Wed, 1 Dec 2004 01:27:56, seen in news:comp.infosystems.www.author
ing.html, Anil <an****@gmail.com> posted :

I keep the HTML source backup before it gets updated.
Are there any software tools(in any language) that will automatically
check the difference between 2 HTML pages(2 weeks) and tell me
what has changed in the new page.


The rendering of an HTML page is substantially independent of the amount
and type of whitespace (including newlines) that separates each item in
the source file.

The first question must therefore be whether you want to compare the
source code files themselves, or you want the comparison to be sensitive
only to the meaning of the source code.


I wanted the comparison to be sensitive onlt to the meaning of the source code
that will tell me what has changed in the layout of the page.
Jul 23 '05 #5
an****@gmail.com said the following on 12/02/04 10:39:
jmm-list-gn wrote:
Anil wrote:
[..] I need an automated script that will me tell about teh
changes.

Put the diff script in a cron job and mail the results to
yourself.


Thanks for the response. I was looking for the tool, not the
reporting mechanism.


They're both in his answer, the reporting tool is email, the automation
is cron.

--
Regards
Harrie
Jul 23 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Charley | last post by:
I've got a diff file that I think is a patch for a bunch of file in a directory. How do I apply this file? I thought it was #patch myfile.diff But that does nothing. I must be missing...
0
by: python | last post by:
Hi- I have a lot of monthly time series data. I need to be able to compare two dates and get the number of months that they are apart. The datetime module is a daily-frequency data type. ...
2
by: Muqu | last post by:
hi, I am trying to compare one nicely written html file against another program generated one, whose formatting isn't very appealing to human eyes. I am tuning the code so that two htmls will...
9
by: Ching-Lung | last post by:
Hi all, I try to create a tool to check the delta (diff) of 2 binaries and create the delta binary. I use binary formatter (serialization) to create the delta binary. It works fine but the...
6
by: Igor Shevchenko | last post by:
Hi! Suppose I have "pg_dump -s" of two pg installs, one is "dev", another is "production". Their schemas don't differ too much, and I want to get a "diff -u"-like schema diff so I can quickly...
4
by: Andreas Kasparek | last post by:
Hola! I'm preparing my master thesis about a XML Merge Tool implementation and was wondering if there is any open standard for XML diff regarding topics like: - is a diff result computed on...
3
by: AirYT | last post by:
Hello, I'm looking for an implementation for diffing 2 (text) files and spitting out the output using php only. i would like to extend this to use ftp to diff two files on two ftp servers, or...
6
by: Aaron Gray | last post by:
Hi, I am working on an HTML WYSISYG Wiki and need to display a diff page like WikiPedia does if two people edit a file at the same time to give the second user the diff. Basically with additions...
2
by: akshaycjoshi | last post by:
I have got one tree tree view control.I have three levels in it. Example- Root1 ------->child1 ------->child2 ---------------->child1 ---------------->child2 ------->child3 Root2
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.