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

Fetch RSS with Wordpress   

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 don on 10/04/08 (0) Comments



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

Leave a Reply

You must be logged in to post a comment.

  • Community

    Already a member?
    Login
    Login using Facebook:
    Last visitors
    view more...
    Powered by Sociable!

  • Recent Video

    Loading
    Loading Viddler Videos

      Powered By Viddler

      Recent Posts

      Subscribe