blog archive contact about feed

Rob's Blog - May 2006

Contents

Here are Rob's Blog entries for May 2006.

Blog entries for other months can be found in the main blog index.

Links for 2006-05-28

Bookmarks from del.icio.us
Entered: 2006-05-29 00:15:01
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=739

Links for 2006-05-25

Bookmarks from del.icio.us
Entered: 2006-05-26 00:15:01
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=738

Orange Ditches Animal Tariffs

Orange UK are thankfully going to ditch their terrible animal tariffs, and hopefully move to something more sensible.

Orange Animal Tariffs

Orange's ad agency Mother claimed to have uncovered four distinctive groups of phone users - sociable Canaries, no-nonsense Racoons, fun loving Dolphins and no-expense-spared Panthers.

The campaign has been scorned by customers who didn't seem too thrilled being called various animal names, along with media pundits causing Mother to loose the 50m UKP Orange account to Fallon and Havas as the mobile operator integrates the ISP Wannado.

Entered: 2006-05-25 10:36:07
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=737

Links for 2006-05-22

Bookmarks from del.icio.us
Entered: 2006-05-23 00:15:02
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=736

Links for 2006-05-17

Bookmarks from del.icio.us
Entered: 2006-05-18 00:15:01
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=735

Links for 2006-05-15

Bookmarks from del.icio.us
Entered: 2006-05-16 00:15:01
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=734

Links for 2006-05-14

Bookmarks from del.icio.us
Entered: 2006-05-15 00:15:01
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=733

Links for 2006-05-12

Bookmarks from del.icio.us
Entered: 2006-05-13 00:15:02
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=732

Captain Kremmen Podcasts

Captain Kremmen PodKast GCap has launched a range of new standalone podcasts, backed by mobile phone network Orange for a trial period.

Included in the new podcasts is a rerun of Kenny Everett's cult classic, Captain Kremmen!

It's great to see a commercial media company working on these outside their existing brands.

Mind you, they do have the World's Most Fabulous Man helping them.

Entered: 2006-05-12 14:10:02
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=731

Nokia's Flickr Uploader Uses The Atom Protocol

Charlie has a photo of his back garden on his blog that was updated using the Flickr uploader on his Nokia N93 phone.

FYI, the 'Flickr' uploader is using the same protocol as Lifeblog. So, if you know how that is done, you can theoretically post to other Lifeblog compatible sites.

That's really interesting, and I was pondering which protocol the Flickr uploader would use. Lifeblog uses the Atom protocol, and I have written code to take lifeblog entries and upload them to a blog in the past.

I just need to get hold of a nice new Nokia N93 phone to test my code still works with the new Flickr uploader.

Entered: 2006-05-10 13:36:21
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=730

Links for 2006-05-08

Bookmarks from del.icio.us
Entered: 2006-05-09 00:15:01
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=729

May's Mobile Monday London

A quick snap taken at tonight's Mobile Monday in London.

The event was hosted by Surfkitchen, who provided a cracking venue for the night at the Savoy.

The theme was on user experiences and was a lot more commercial than previous meetings in my opinion.

The comparison between a java portal against an open SVG client was interesting.

Dan updated us on the global Mobile Monday conference taking place today in Helsinki via a 3G video call. A nice use of the technology there.

Mon 08/05/2006 19:22 Image(058) - mobile monday london
Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2006-05-08 21:15:33
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=728

Sinner, Not A Winner, According To Westminister Council

Those of you who travel near Oxford Circus in London will no doubt know Philip Howard, better known for his megaphone messages about being not being a sinner but a winner.

According to tonights London Evening Standard, he's been given an ASBO for constantly harassing people with his megaphone.

It appears he's not a winner, so does that mean he's a sinner?

Fri 05/05/2006 20:31 Image(056) - London Evening Standard

Lifeblog Entry - Posted via Lifeblog from a Nokia smart phone
Entered: 2006-05-05 20:40:17
Modified: 2006-05-05 23:34:17
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=727

Links for 2006-05-02

Bookmarks from del.icio.us
Entered: 2006-05-03 00:15:04
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=726

Retargetting Selected Links With JavaScript

At work I have a new site that makes use of iframes to embed external content onto a page. The content is a blog, written by non technical members of staff who needed to be able to include links to external websites. They are happy with using <a href=" tags, but I didn't want to worry them with target parameters in the HTML. We have to target _blank as we want the readers to keep the old site open and not open the content in the site framework.

The solution to this is to use a bit of JavaScript to manipulate the DOM and insert blank targeting to all blog entries.

As we control the HTML template of the blog, we made sure all the blog entries were wrapped by an enclosing div tag with a class called blogentry.

Here's some example HTML. We have one link in the blogentry div we need to re target. The other link is not in a blogentry so has to be ignored.

<div class="blogentry"> <a href="http://www.robertprice.co.uk/">This link needs to open in a new window</a>. </div> <div> <a href="http://www.robertprice.co.uk/">This link won't open in a new window</a>. </div>

The JavaScript first has to get all div tags on the page. It does this by calling getElementsByTagName on the document. Once we have all the div tags, we have to iterate over them to make sure we only get the ones with the classname of blog entry.

var entries = document.getElementsByTagName('div'); for (var i in entries) { if (entries[i].className == "blogentry") { // insert target code here. } }

Now have our blogentry's we need to find all the links inside and make sure they all target blank. We do this by calling getElementsByTagName on each node, then setting the target attribute to blank.

var targets = entries[i].getElementsByTagName('a'); for (var j in targets) { targets[j].target="blank"; }

It's as simple as that. The full code follows...

<script language="JavaScript" type="text/javascript"> <!-- var entries = document.getElementsByTagName('div'); for (var i in entries) { if (entries[i].className == "blogentry") { var targets = entries[i].getElementsByTagName('a'); for (var j in targets) { targets[j].target="blank"; } } } // --> </script>
Entered: 2006-05-02 20:41:47
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=725

Q Review Podcast Goes Live

Q Podcast We've just put live the first Q review podcast.

Here's a quote from the press release...

The first Q Review Podcast launched this afternoon. Featuring reviews of next week's best new albums, an exclusive interview with Keane and a fantastic cover of R.E.M.'s Orange Crush taken from the new Q cover-mount CD, this is the first in a series of weekly audio podcasts. Each week, Q will pick two recommended albums that are released that Monday and also suggest other titles in a similar vein. There'll also be a TRACK OF THE WEEK, to complement the long-running Q50 feature in the magazine, which plucks the very best new tunes from the ether and plonks them on your iPod. Plus, there'll be loads of exclusive, entertaining and exciting stuff that we can't possibly reveal yet.

If that's whetted your whistle, download the Q review podcast now.

Entered: 2006-05-02 17:13:05
Modified: 2006-05-02 17:13:51
TRACKBACK - http://www.robertprice.co.uk/cgi-bin/robblog/trackback.pl?id=724