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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ChrisK
Forum Newbie
Posts: 9
Joined: Thu May 28, 2009 11:37 am

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

Post 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
divito
Forum Commoner
Posts: 89
Joined: Sun Feb 22, 2009 7:29 am

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

Post by divito »

Have you tried the timestamp?
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

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

Post by Darhazer »

And each item should have a unique identifier in the <guid> tag...
ChrisK
Forum Newbie
Posts: 9
Joined: Thu May 28, 2009 11:37 am

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

Post 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
Post Reply