« Older: The Right Tool for the Job  Newer: Why I’m on Windows »

Fetch RSS with Wordpress   
Why am I here?

More for my personal Wordpress Wiki, but I can’t believe I didn’t share this before.

I’m sure you’ve seen the front page of donburnside.com or even the Motoringfile News Room. I built both of them using features built into Wordpress and nothing else. How did I do it?

Start by checking out this page at the Codex.

Retrieves an RSS feed and parses it. Uses the MagpieRSS and RSSCache functions for parsing and automatic caching and the Snoopy HTTP client for the actual retrieval.

If you scroll down the page a little bit there is an example of what you need to get things working. In my testing, I started with that as a base and modified it for how I needed it to look and work. Once you get it working the way you want, what do you do with it?

I built custom page templates within the Wordpress theme that included the code to pull the RSS feeds I wanted. Then, I created a page with a title and used that custom template for the page. If you are familiar with modifying WP template files or creating custom template files, then it should be easy for you too.

Posted in Tech, WordPress Fixes — by on 10/04/08



« Older: The Right Tool for the Job  Newer: Why I’m on Windows »

Leave a Reply

Comment moderation in full effect!

All comments at donburnside.com are moderated by my first rate team of robot warriors, ready to do battle with all the nare-do-wells that stalk the interwebs!

Besides, it's only your first comment (per IP address if you are commenting from work and home) that the robot warriors have to approve. After that it should be clear saling! If not, contact db and I'm sure he'll hook you up.

Finally, for those of you in the know, Markdown is available as it a very small set of HTML tags. If you are scratching your head, don't worry, it's just geek stuff. You can still comment!

Thanks for stopping by!

Recent Posts

Subscribe