Log in

No account? Create an account
entries friends calendar profile my webpage Previous Previous Next Next
A new web page. - Tina Marie's Ramblings
Red hair and black leather, my favorite colour scheme...
A new web page.
I couldn't tell you the last time I updated my web page. I think of LiveJournal as my primary website these days, and the old one has languished.

I knew what I wanted to do with it, though. There are basically 3 RSS feeds that define my online life: my flickr photo feed, my public LJ feed, and my Google shared items feed. I wanted to combine them all into one webpage that kept itself updated.

Google and Flickr are easy - they have javascript badges that I could just plop down. But I wanted to style the information from my LJ myself, so I actually went out and grabbed the RSS, parsed it, and re-rendered it. Turns out that the DOM parser in PHP is incredibly slow - it's taking multiple seconds to get the feed, parse it, and re-render it. I can live with that - I just set it to cache and only update twice a day, but I might look into it at some point and see if there's something I can do to speed it up.

Anyway, I'm happy with it for now.


Current Mood: geeky geeky

2 comments or Leave a comment
driftingfocus From: driftingfocus Date: February 22nd, 2008 01:20 am (UTC) (Link)
When my personal site gets up, I will have to talk to you about how to make that work, because I want my public LJ feed to be a part of mine as well.

Is there a way to get the flickr JS to only get a feed from, say, a set, or somesuch?

Edited at 2008-02-22 01:20 am (UTC)
skywhisperer From: skywhisperer Date: February 22nd, 2008 03:00 am (UTC) (Link)
Yes, the flickr one will do all pictures, a tag, or a set:


LiveJournal has a JS widget, too:


I thought it was awfully inflexible - and it just seemed like more fun to write it myself.

Talk to me about it when you're here - how easy it is is largely dependent on what you're using as the base software for your personal site.
2 comments or Leave a comment