473,656 Members | 2,997 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2611
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.infos ystems.www.author
ing.html, Anil <an****@gmail.c om> 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.demo n.co.uk/> - FAQqish topics, acronyms & links.
PAS EXE TXT ZIP via <URL:http://www.merlyn.demo n.co.uk/programs/00index.htm>
My DOS <URL:http://www.merlyn.demo n.co.uk/batfiles.htm> - also batprogs.htm.
Jul 23 '05 #4
Dr John Stockton <sp**@merlyn.de mon.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.infos ystems.www.author
ing.html, Anil <an****@gmail.c om> 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.co m 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
2513
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 something. The diff file contains diff's for a nuch of files, not just a single file. Do I need a
0
3309
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. It has a timedelta object that returns the difference in days between two dates: >>> d1 = datetime.date(2002,1,1)
2
2417
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 match but there some are always some difference. Is there any tools out there that can compare the structure, instead of content, of two htmls?
9
6508
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 delta binary is pretty huge in size. I have 1 byte file and 2 bytes file, the delta should be 1 byte but somehow it turns out to be 249 bytes using binary formatter. I guess serialization has some other things added to the delta file.
6
6443
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 add missing/remove old tables/sequences/etc to one or another (manually). Is there some quick tool for doing this ? There was a thread about it sometime in aug, 2002, but it ended without producing anything useful.
4
4950
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 the ordered or unordered xml node tree of the compared documents? - what identifiers/criteria should be used by default to match elements of the same type in different documents? - should a diff tool consider move operations or only insert/delete
3
3002
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 one local file & a remote ftp server. Anyone have any ideas on source for this before i go ahead and build it? At least the diff engine? a nice gui would be best, but not totally necessary. TIA,
6
3304
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 in red and deletions in red strike though. There seem to be several in Perl and Python and many diff programs which all seem to be line based and work on text written in PHP.
2
1945
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
8380
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8296
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8816
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8710
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8497
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8598
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4299
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2721
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1928
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.