Page 1 of 1

New items in a RSS feed published at 2 time intervals?

Posted: Thu May 28, 2009 12:08 pm
by ChrisK
How to find new items in a RSS feed published at 2 time intervals?.

I get an RSS feed from a Client at 6AM in the morning and again (items published at 6am + new items) at 11AM in the morning.

Issues are

1. Client always keep the item pubDate to the constant time (6AM time), even for the items published in 11AM feed
2. Evertime I refresh the feed, items are displayed in RANDOM order.

I really appreciate you for any suggestions/Hints/thoughts on finding the new items

Thanks
Chris

Re: New items in a RSS feed published at 2 time intervals?

Posted: Thu May 28, 2009 3:49 pm
by divito
Have you tried the timestamp?

Re: New items in a RSS feed published at 2 time intervals?

Posted: Thu May 28, 2009 4:42 pm
by Darhazer
And each item should have a unique identifier in the <guid> tag...

Re: New items in a RSS feed published at 2 time intervals?

Posted: Thu May 28, 2009 5:33 pm
by ChrisK
Thank you very much all of you for your responses.

divito: Have you tried the timestamp? -> pubDate was same for all the items (both for the old and new items), except the RSS header pubDate, so i did not try.

McInfo: Thank you the sample code -> I will work on it.

Darhazer: You reminded me a good TIP.

Thank you once again for your valuable time and help.

Thanks
ChrisK