Archive for June 2006

New Planet coming soon

I’ve been playing with the Planet lately and a new version is coming soon.

It now uses the rather cool Kid template language for the templates, which ensures that the output is as close to real XHTML as possible. This also means that your feeds must be properly encoded — if not, then the content will be mercilessly dropped. That’s the new world of XML…

It might sound hard when one considers that browsers have been handling slightly-broken content for years, commonly referred to as “tag-soup”. The advantage of strict compliance to XHTML is the number of programmically transformations possible because we now require the input to be a valid XML tree.

Anyway, consider this post a sort of test-post for the new Planet. As such, I’ll start by testing the encoding of ampersands: &. WordPress ought to encode it as &amp; in the feed, something which Blogger.com seems to forget. An alternative is to wrap the whole thing in a <![CDATA[ ... ]]> construct. This is what WordPress actually does, now comes the question: does it remember to esacpe the CDATA declaration I just made? Lots of things to consider here :-)