Get only new RSS entries with PHP Script ?

Posted by ArneRie on Stack Overflow See other posts from Stack Overflow or by ArneRie
Published on 2010-04-12T07:24:11Z Indexed on 2010/04/12 7:33 UTC
Read the original article Hit count: 238

Filed under:
|

What im trying to do:

Fetch X numbers of RSS Feeds from my Blogs and echo only new entries. My Problem is, how to know wich items are already parsed?

Solution so far:

Fetch the Feed every 5 hours, store all titles inside an Database table or flat file. Next run check if the title is already in database if not print it and save it inside the database.

But iam not sure if this is best practise to do this?

If someone knows a fast way, it would be great. Sorry for my poor english.

© Stack Overflow or respective owner

Related posts about php

Related posts about rss