I am trying to make a Android application which will take your URL and if there is new update on that website then it will show the user that this link have been updated.
I am working on the project which will check for the website if they have been updated or not.
I know that there are RSS on most of websites, but I am talking about those websites which don't have but are important for us. Like the websites where result will be posted but for that I will have to check that website again and again.
How can I check that website is updated or not?
Best Answer
You can use the If-Modified-Since HTTP header. If the server tells you that the page has been modified since the given date, then you can download the new content.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.29