
In the geomapping with trains session, Ben Metcalfe asked for the XML for the Tube status. The guy who designed the excellent Tube Status widget for Apple's Dashboard has made XML available here. I've written a (non-XSL) transform to turn it in to OPML. Here is the OPML, and here it is in Grazr. ![]()
3spots has a list of digg tools - my digg/Grazr mashup is included. (Put it in OPML, man!) ![]()
Now that Sheila and Ian have finally take me by the hand and showed me the world of XSL, I have a new tool in my arsenal to build mashups. ![]()
Sheila and Ian have been giving me seriously great tech support and tuition in using XSL. As a result, I can now show you how we can render OPML blogs using XSL.
Here's an example of the rendered code. There are a few little bugs to iron out, but it's 99% there. You can see the XSL transform - please hack it up and make it better, and help us build the replacement for the OPML Community Server on the LAMP stack.
Evaluating PHP in XSLT - apparently, I need to use what are called XSL scheme handlers. PHP has a function called xslt_set_scheme_handlers() - Baptiste's comment. This stuff is complicated, but it looks mighty powerful.
So, I'm testing it out. It's quite easy to put together. You write yourself a PHP function, and you put it in an array, and then you tell the XSLT processor to set it as a scheme handler.