also available in rss format

Luke's uberFeed

04/04/09 @ 10:47:58

with this itchy rash of web 2.0 sites out thee i've found i have a host of sites that im updating (twitter being the most regular, i really do like micro-bloggin') and it's all been a bit disjointed. now for the the more techi amongst you, why would you want multiple feeds coming in from one person? just fills your newsreader with junk. it's also kinda annoying having to point people in the right direction whenever something get's updated, eg:

a new crop of photos have gone online and i give my old man a call: "hey dad, want to see my new photos?", "sure son, are they on that twithead thing you gave me?", "uhhh, no - they're on picasa, you know the photo-sharing place", "nope, don't recall - do you have a link?".

something had to be done.

RSS to the rescue

you might have seen the little orange rss buttons floating around the web?! basically they provide a link to the raw data of a webpage and are usually consumed by another electronic service somewhere to re-produce the headline, link and brief description of the original article. so, in a nutshell, im able to grab these rss feeds from the sites i post to (blog, twitter, youtube, picasa etc) mix them all together and chuck them back out in date order and in the format i decide.

technical challenges (management speak for "pains in the arse")

only bother reading on if you're a web techie... (if not just go to Luke's uberFeed you'll get the idea.

feeds can be slightly different to one another which means some intervention would be required to make them all play nice. for instance, an atom feed is different to an rss feed - to be honest im not sure of all the differences - something about harvard doing one and someone doing something else, and.. well i don't really care, all i know is if it's structured - i can get at it :-) which is what i did. coldfusion offers some excellent xml functions and with a little bit of messing you can soon pull the fields you need out.

simply put if you create an object by calling a url with cfhttp, then parse it with xmlParse you can then get at the data fairly easily:

something like:

<cfhttp url="http://lukenukum.blogspot.com/feeds/posts/default?alt=rss" method="get">
<cfset doc = xmlParse(cfhttp.fileContent) />
<cfoutput>#doc.rss.channel.item[1].title.xmlText#</cfoutput>


will bring you back my latest blog post title (swap the 1 for 2 to get the second title etc). you can then adapt this to get the url and description, it's not rocket science but it's a handy thing to know. all well and good, this enabled me to produce a pretty list and then repeat the process for my other feeds - all similarly tagged (albeit slightly differently) in the XML.

but how to get them mingled with each other so that they form a nice time line? a faux query of course. creating a query object from scratch means that once you have it you can query it just like you would say an SQL database, so using something like the following (ideally in a loop over your XML object):

<cfset thisCell = QuerySetCell(thisRss, "title", doc.rss.channel.item[1].title.XmlText) />
<cfset thisCell = QuerySetCell(thisRss, "published", doc.rss.channel.item[1].pubDate.XmlText) />


it populate that query object (thisRss) which you can then treat just as you would a database query (ie - select title from thisRss order by published) - magic. theres a whole bunch of other stuff going behind the scenes including date formatting and a fix for twitter which clears @[twittername] replies from tweets - they now get filtered out along with other bits of ugly HTML via some regular expressions.

tbh, im getting a bit bored of typing now, suffice to say im fairly happy with Luke's uberFeed (oh, and there's an rss spawn of it here). i know friendfeed is a very similar and far superior option *but* it's all a bit too much... i just don't need more than a link and brief description of something i posted.

i guess the only question that remains is why you'd want to efficiently bring together a bunch of prattle... good question, good question :-/

keep it real campers.



on 05/09/10 @ 10:23:11 posted from twitter

is dukenukem forever really gonna happen in 2011? linkage bring it on!


on 03/09/10 @ 13:34:26 posted from twitter

are you in design hell? linkage


on 02/09/10 @ 19:15:28 posted from twitter

google's new artificial intelligence API linkage (aka skynet!)


Android GPS navigation: X-wing edition

on 17/08/10 @ 21:17:04 posted from google news

oh yes! stay on target.


Yet Another Google Bookmarks Extension Is a Highly Customizable Bookmarks Manager [Downloads]

on 03/08/10 @ 21:29:57 posted from google news

been using this for a while, can say it's rather excellent.


How to Deal with Distractions in a Web Worker's World

on 23/07/10 @ 16:54:02 posted from google news

believe it or not, whilst reading this - i got distracted :-/


Dell Streak Tablet Phone

on 23/07/10 @ 16:41:25 posted from google news

i'd missed this... how many more variations on the size of panel do we need?


on 29/06/10 @ 17:01:39 posted from newWord

volition - to deliberately choose or decide


James Bond Aston Martin on the block for $4m (or more)

on 02/06/10 @ 17:31:38 posted from google news

the classic DB5 up for auction, yeah - i'll be bidding...


on 25/05/10 @ 10:38:34 posted from newWord

hyperbole - intentional exaggeration


on 19/05/10 @ 13:47:32 posted from newWord

prowess - exceptional or superior ability or strength


on 12/05/10 @ 12:22:43 posted from newWord

plaudit - enthusiastic approval


on 28/04/10 @ 14:12:45 posted from newWord

bigot - a prejudiced person who is intolerant of any opinions differing from their own


Easter 2010

on 04/04/10 @ 12:00:00 posted from picasa

an Easter bank holiday weekend away in Devon

5 photos after the jump!


Gran Canaria 2010

on 07/03/10 @ 19:33:43 posted from picasa

a week's holiday in the Canaries, March 2010

33 photos after the jump!


Random Snaps

on 11/02/10 @ 13:00:00 posted from picasa

a bunch of random photos taken when out and about

7 photos after the jump!


Icy Studland 09-01-10

on 09/01/10 @ 17:51:42 posted from picasa

a chilly walk out across the Studland beach in Dorset

18 photos after the jump!


Oxfordshire 2009

on 23/12/09 @ 16:21:46 posted from picasa

good ol' family xmas in Sparsholt, Oxfordshire 2009

17 photos after the jump!


time-lapse of me in office

on 05/10/09 @ 11:51:32 posted from youtube

time lapse test of me sat at my desk for a couple of hours (not exciting!). taken using sheado.net 'time-lapse' application on Android phone

42 second clip after the jump!


Eurofighter Typhoon at Bournemouth Airshow 2009

on 25/08/09 @ 06:44:33 posted from youtube

the stunning Eurofighter Typhoon seen at Bournemouth Air Festival 2009

170 second clip after the jump!


Heading north on m40, SLOWLY!

on 24/07/09 @ 17:39:54 posted from youtube

This video was uploaded from an Android phone.

20 second clip after the jump!


first video with my htc magic

on 17/07/09 @ 13:35:48 posted from youtube

This video was uploaded from an Android phone.

14 second clip after the jump!


Durdle Door Dorset

on 15/03/09 @ 21:23:31 posted from youtube

the lovely Durdle seen from the cliff above on a sunny Sunday in March

65 second clip after the jump!



latest snaps

stuck in the car until the rain stops #noCoat
now that is one wacky carrot
they still make them! Brannigans beef n mustard crisps, i've not seen them for years!
it's a veritable 'quornucopia' in the freezer these days
arghhh! there's a scary stair post living in our house!
it's a dog's life
That is anything but a dirty gate
i mean seriously, what year is this? 1985? i need a barber, NOW.
Its got a propellor!
Advantec really don't hold back when it comes to the stationary budget
Is there any finer sight on a June Friday afternoon?
Enjoying a beer by the river :)
well that's it, end of an era. i just walked out of the echo for the last time #emotional
awwww the guys made me a frontpage :)
Ze duck, she is ready :) #foodpic
My 'friend' @r0bfleming can't even wait till I've gone! Two days left!!
time to bring out the big guns in the overheating server room. soooo noisy though :-( #fixIt
beer and postcards in Brighton, bohemian Britain at its best :-)
Luke and Vicki move into their new home
its just like summer today in Bournemouth but without the crowds
o2 arena is definitely the coolest place for gigs in my neighborhood
James are quite honestly brilliant, sorry about the poor pic! they're amazing live still!
up and out for a stroll, looks like it's gonna be a lovely day!
Pip was not impressed by Over The Rainbow, i have to agree
anything that can read my left-handed scrawl is truly impressive
ahhhh Devon, it was pouring 20 mins ago!
created a custom shadow stuck-on screenshot effect in photoshop
MAN THIS STUFF IS FRICKIN AMAZING. if you've got any mold, this is the answer, its INCREDIBLE! REALLY!
hahah @r0bfleming just made a great little adjustment to one of my holiday snaps!
hello spring! please stick around...
rounded off the corner of my desk :-)
just improvised a netbook splatter-wall
closely followed by the CLASSIC mkii Ford Escort rally car. awesome.
spent most of the day in Beaulie Motor Museum... again :-) this was my favourite - the AC Cobra
the darkness it cometh... *runs back to the office*
beaming wildly like a small boy who's just woke up Xmas morning and found his new bike
counting a glass jar's worth of coinage, this is the best bit :-) cashback!
now able to watch our feathered friends from the kitchen window, nice one Victoria!
awoke to find a guard and watchdog on duty