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 …












May 29th, 2006 at 13:35
[...] Earlier when I wrote that I didn’t like the template language WordPress uses, I also made the joke about rewriting WP in Rails. Well, today I thought “Let’s give it a try”. Not that I seriously want to rewrite WP, but I was curious to see how Rails can deal with legacy database schemas. [...]