Jump to content

Get timestamp from every RSS feed


meemee

Recommended Posts

Hello!

I'm trying to develop some kind of RSS news aggregator and I want to show only feeds younger than 1day. I figured i could transform RSS pubDate to timestamp (strtotime()), but there are some feeds without timestamp (like: http://izklop.com/xmldata/rsslinks.xml). Is there any other way to do it, so I could find timestamp from those feeds without pubdate?

 

If there isn't any other way, do You think it is ok, to just show last 5 feeds?

 

I hope I made my self clear, and please forgive me for my English :)

Link to comment
https://forums.phpfreaks.com/topic/211353-get-timestamp-from-every-rss-feed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.