Click here to Skip to main content
15,912,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

I need to do new thing like compare URL ex: www.cricinfo.com periodical changes in this web page i need to catch. every 5 min or half hour or one hour once.
but if one hour means i need to get each and every changes happen between this hour.

Thanks in advance
Vinoth
Posted
Comments
Sandeep Mewara 11-May-11 10:20am    
So? What is the question here? What have your tried and stuck up in?
Manfred Rudolf Bihy 11-May-11 10:28am    
I think my solution will give OP a couple of things to wrap his mind around! ;)
Sandeep Mewara 11-May-11 10:37am    
:)

1 solution

Considering the general way in which you phrased you requirement I should say this impossible to do.
Why am I saying this and how can I corroborate my statement?

1. What comprises the content of a page and where is the change?
First look:
A page can look the same html wise hour after hour and day by day, but since content can be dynamically loaded via AJAX the true content can change every every second (more correct: as often as you can load stuff via AJAX and render it to the page).
Second look:
I refactor my css javascript and HTML layout to better organize (or obfuscate) my page. The content now looks completely different from what it was before, but as the keen web programmer that I am I have the refactored page look exactly the same as before including the user readable content. Where is the change now?

2. Talking about semantics and not structure
So when looking at what is the reader accessible content we have to also look at the semantic and not concentate on the structure.
First look:
So I've changed a typo in my content which changes the actual text, but does it change the semantic.

etc. etc.

To make a long story short you will have to first make up your mind what kind of changes you want to track and then think about the possibilities and challenges that each of these tracking methods will carry. Once you have made up your mind what exactly it is you need to track or if you have difficulties in specifying your exact requirements feel free to leave me a comment.

Best Regards,

-MRB
 
Share this answer
 
Comments
Sandeep Mewara 11-May-11 10:37am    
5! Good one. Well put. :)
Vinoth Arun Raj. X 19-May-11 9:47am    
Hi MRB,

thanks for reply,

but i fetch the change but it. Ex: 10th line add new text or something. it give all other from 10 to end of line as changed.
any solutions buddy.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900