Jump to content

Working With Rss Feeds

Recommended Posts

So I'm using file_get_contents() in php to get the contents of an RSS feed and I'm parsing through it using simplexml. I got it working fine, but for some reason when I browse to the actual RSS feed in the browser, the latest item is from a few days ago on October 7th, but the latest dated item pulled from my php script is from August. Anyone have similar issues with RSS feeds not returning the latest? I'm not sure how to fix this or what is happening... Edit: Im trying to pull from a Wordpress generated RSS feed. I think it has something to do with the way they generate clean URL's. Im not sure how to tell it to give me the newest 5. The feed I am trying to read from is: http://www.thearmpit.net/eng/feed/

Edited by big dave
  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...