Good enough

Finally, I got my act together and installed WordPress in order to reactivate my home page. Installation was smooth, but my lack of CSS skills made the customization a not-so-pleasant trip. But, it’s good enough to get started.

I am planning to migrate the old content over piece by piece, let’s see how this goes. I had a lot of custom PHP tags in there, so I will have to fiddle around with regular expressions a lot.

I don’t like the template language of WP, however. It does not return objects, but rendered strings, which is a clear violation of the layering principle. For instance, I tried to put the links to pages in the header section (header of WP, not HTML). I expected to get an array or hash of pages and links to them, instead it returned a huge string of HTML with <li> and other stuff mixed in.

What if I don’t want to present the list of pages as a list? Well, I guess I had too much Rails lately …