Skin of Stars

Icon

Kevin Carmody on machines, media and miscellanea.

All the latest updates

I’ve had many jobs. My full CV is unprintable in a comfortable digest. Though all were useful in their own way, it was still a means to an end. Rock superstardom… so four years ago I decided to retool in what was then a time devouring hobby. So far, things have been going pretty well. I got a decent degree and have had two awesome jobs in a row, the second of which I still happily work at (whiteoctober).

I’ve been keeping my head down for some time now. I’ve really been wanting to get good at what I’m doing before I start to think of other things. But I’m happy to say that recently I’m starting to ‘get it’ with many of the techs that I’m using. I know I still have sooo much to learn, but it’s a good feeling to be making progress.

Oh yeah, I use Ubuntu for both work and play now. Good times :)

Hmm, what else is new… I move in a couple of weeks, to a place in Headington. At the moment there are five of us living in a four bedroom house in East Oxford. It’s fun and communal and all, but I’m really looking forward to moving in with just myself and Emily. You should check her blog by the way: emilychiang.wordpress.com.

Actually, I think that’s it for now. Take care.

PHP Script for RSS auto-discovery and OPML file generation

Hey All,

I recently got a reasonable size list of blog URLs. What I wanted was to import all these into a feed reader (via OPML). There seemed to be a lack of conversion scripts for batch URL->find RSS link->feed reader import file (I may be wrong, please let me know if I am :) , so I made one in PHP. I guess this is like an automatic-blogroller. I have just used this as a command line script, I’m not recommending you use this in ‘the wild’ as one might say, I have made little concession to security as I had a trusted list of URLs.

There are basically three steps to this

  1. Take an input file of newline seperated URLs, in my case blogs.
  2. Find (auto-discover) associated RSS feed of each blog URL
  3. Output an OPML file that you can use to import into a feed reader

What it does:

  • Takes a well formed list of newline separated URLs of blogs and turns it into an OPML
  • If the URL source doesn’t contain a <link> to an RSS feed in the head it doesn’t add it to the OPML
  • Detects the <title> and adds that to the OPML text field, or uses the URL if <title> isn’t present

What it doesn’t:

  • Check the RSS feed is validated XML
  • Any other checking really :)
  • Come with any sort of warranty/guarantee

Some of the key functions are from Keith Devens work. Thanks.
Read the rest of this entry »

About

My name is Kevin Carmody and I live in Oxford, United Kingdom. I am a web developer with a penchant for community sites and a pedantry for open standards.

This here is a collection of my thoughts and musings, a spot for pooling a little of what's rattling around. Thanks for taking the time to visit and I hope you enjoy your stay.