PDA

View Full Version : SimplePie - RSS to your web page



David
23rd Aug 2011, 06:29 pm
One of the tasks I set myself this summer was to better integrate all parts of the programme web inventory. You'll notice that the forum and blog are now skinned to match the main site. One of the things I'd like to do was move the blog to the websitearchitecture domain but it's just not possible using Wordpress multi-site. The application MUST be in the root folder for the whole thing to work, so it remains at webdesignstuff.

In order to form a dynamic link from one site to the other, I've used SimplePie (http://simplepie.org/). This is a PHP library that enables you to pull in and format RSS feeds so they can be published on your site. Take a look at the right-hand column of our homepage and you'll see it in action. It was very easy to implement. I used this tutorial (http://www.corvidworks.com/articles/easy-feed-reading-with-simplepie) from Corvid Works.