I’m building my personal page right now, and since I write 2 blogs of my own (with one more coming up) and contribute to 3 other blogs I thought it would be a nice feature to have a list of my most recent posts on my personal page. You could of course always update the list by hand, but how much easier it would be to get it done by a script. It turns out that this is harder to do than it sounds, but a tool I found, called Magpie RSS makes the job easy (or easier, rather).
If you want a simple job done quickly then download the tarball file (for Windows users, I know Tugzip will unpack it for you) and upload the four .inc files and the extlib directory to your server. You then just place some simple php code where you want the list and off you go.
There is one option that I found really useful, namely that it doesn’t only understand a set number of tags. As long as they are in the following two forms Magpie will understand them. <field_name>value</field_name> <namespace:field_name>value</namespace:field_name> This is great if you need some customization, let me show you a quick example of what I needed and did.
continue reading "Pull feeds into your website and customize them"