Dodgy SVG version of picdiary slides page

December 23rd, 2002  |  Published in foaf, javascript, photos, svg, wordnet  |  2 Comments

I felt it was time to learn a bit more about SVG and do some concrete work with it. I made a fairly simple SVG document that renders picdiary feeds. It parses the RSS and builds the page on the client-side using Jim Ley’s lovely javascript rdf parser.

Compare the HTML version to the SVG version. There’s nothing in the SVG version that couldn’t be rendered in HTML; the interest was in doing the job entirely client-side.

The system builds links into foafnaut and my wordnet picture hierarchy when it finds appropriate metadata about a picture.

Jim’s parser page says the RDF parser needs at least version 5.5 to run under IE. Javascript in SVG is a pain to debug in mozilla; you don’t seem to be able to use mozilla’s javascript console or debugger.


  1. Jim Ley says:

    January 3rd, 2003 at 4:59 pm (#)

    The parser needs IE5.5 when running in HTML (actually it doesn’t, but you need components that come as default with 5.5, you could upgrade IE4 to do it, if you were perverse enough) when running under SVG, the IE version is irrelevant.

  2. Matt Biddulph says:

    January 3rd, 2003 at 5:18 pm (#)

    I don’t have old enough versions of IE to check, but I had a report from Leigh Dodds that he got a JScript runtime error message (“Object expected, line: 82, column 4”) on IE5 with SVG Viewer 3.0. The line numbers have probably changed in the code since then, I’m afraid, and I didn’t make much effort to remote-debug the problem.