meemee Posted August 21, 2010 Share Posted August 21, 2010 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 More sharing options...
RussellReal Posted August 21, 2010 Share Posted August 21, 2010 rl=links/start&a=open&category=15">Znanost</a> Datum: 21.08.2010 They do infact show dates.. and they all should show dates... Link to comment https://forums.phpfreaks.com/topic/211353-get-timestamp-from-every-rss-feed/#findComment-1102039 Share on other sites More sharing options...
meemee Posted August 21, 2010 Author Share Posted August 21, 2010 Yes, it shows date, but I have no idea how I could use that date :S I guess I'd have to add an exception for each pubdate-less feed on the internet? Link to comment https://forums.phpfreaks.com/topic/211353-get-timestamp-from-every-rss-feed/#findComment-1102132 Share on other sites More sharing options...
RussellReal Posted August 22, 2010 Share Posted August 22, 2010 probably Link to comment https://forums.phpfreaks.com/topic/211353-get-timestamp-from-every-rss-feed/#findComment-1102287 Share on other sites More sharing options...
meemee Posted August 22, 2010 Author Share Posted August 22, 2010 Ouch :/ Ill try to find more elegant solution, but I think Ill have to add exceptions :/ Thank You for help! Link to comment https://forums.phpfreaks.com/topic/211353-get-timestamp-from-every-rss-feed/#findComment-1102304 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.