Archive for May, 2005

Blogs in XML with XSL

Monday, May 30th, 2005

I’m currently investigating using XML with XSL to serve my blogs instead of writing it in XHTML to start with. It looks like it will be very easy to serve my blogs as raw RSS with a stylesheet, which the browser uses to turn it into XHTML. Funky.

I’ve got a test page demonstrating this with the same CSS style sheet as this blog. I don’t see that XSL will replace CSS for XHTML as it has a much easier to understand syntax, even if it’s not as flexible.

The next incarnation of these scripts will hopefully output RSS which can be aggregated into SUCS Planet :)

Hello world!

Wednesday, May 11th, 2005

Blogging seems to be all the rage atm, so I’ve decided to write my own.

This is all done using Python (see the nifty “Python Powered” logo at the bottom :) using a custom library that represents arbitrary XML elements including content and attributes as Python objects. Each element has a show() method which calls the show() method of every object it contains (and prints any free strings, usually).

In the Real World (whatever that is): I had my oral exam on Tuesday. I thought it went pretty well, although you can never really be sure of that in advance.