My new blog is here

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 GrazrPermanent link to this item in the archive.

3spots has a list of digg tools - my digg/Grazr mashup is included. (Put it in OPML, man!) Permanent link to this item in the archive.

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. Permanent link to this item in the archive.

Rendering OPML blogs with XSL Permanent link to this item in the archive.

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.

|

XSL: Doing PHP in XSL Permanent link to this item in the archive.

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.

HomeTom MorrisOpiumfield

Last modified: Sunday, August 26, 2007 at 10:20 AM.

September 2006
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Aug   Oct

This is my old blog. Please visit the new one.

Send me a voice message via Odea PayPal
 Subscribe

My podcast (RSS)