Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detecting new new items in a RSS feed

What is the best way to detect when a feed has been updated? Say I have an application which polls the feed every 15 minutes. How do I find out if new content has been added or not? For RSS as well as Atom feeds.

like image 207
haden Avatar asked Aug 25 '09 06:08

haden


People also ask

Does RSS feed update automatically?

Using RSS readers, podcast directories or sites can automatically update to display the latest episodes to listeners. Interested podcast listeners can then receive automatic updates when the podcasts they subscribe to post fresh content.

Is RSS feed push or pull?

RSS feeds are consumed through Pull actions performed by the user where a user opens an RSS Feed reader to consume the content via a feed – with limited reach. Web Push, on the other hand, is a Push-driven system that does not depend on a user input and offers a higher success rate.

Are RSS feeds still crawled by Google?

Google Doesn't Have a Preference Between RSS Feeds & Google News Sitemaps. RSS Feeds and Google News sitemaps both work for Google and there is no preference between the two. The benefit of RSS feeds for webmasters is that there is no limit of URLs, whereas Google News sitemaps are limited to 1,000 pages.

Are RSS feeds going away?

Yes and no. RSS feeds are certainly still present (more on this later), but they aren't as dominant as they once were. Social media sites like Facebook, Twitter, LinkedIn, and others have become the go-to option for following sites, watching feeds, and learning about the latest content.


1 Answers

Each item in RSS 2 and Atom has a GUID/ID that may be flagged as unique. If it's flagged as unique you can use it to identify items and match against the previous items.

like image 170
Guffa Avatar answered Sep 19 '22 06:09

Guffa