Blog

  • Upgrading to WordPress 1.5

    February 19, 2005

    Upgrading to WordPress 1.5… Please be patient while I resolve the incompatibilities with the old site’s visual layout with the new system.

    I followed the steps here:

    • There are some weird things with image tags, and my layout isn’t showing up! It also looks like kubrick.
    • As it turns out, the WordPress 1.5 upgrade process automatically created a template with the name of your blog. It is incorrectly generated based on the default template in WordPress 1.5. You have to pick the one YOU created manually. After I did that, the problems went away.
    • I could use Dreamweaver’s editor fine, against what the upgrade notes suggest. But of course, I’m working in code view, not design view.
    • Had to update wp_list_cats in my category listing from wp_list_cats('sort_column=name') to wp_list_cats('sort_column=name&children=1&hide_empty=0') to get the same indent behavior I had before.
    • My page buttons for main sections (david-o-cracy, working-it, ideabox) were messed up…had to add some mod_rewrite rules to handle it. The special headers at the top of each section use mod_rewrite to set variables that the index.php code detects.
    Read more
    DSri Seah
  • Taiwanese Bread

    February 19, 2005

    yum I went back to the Merlion Asian Market to pick up some Taiwanese Bread.

    Taiwanese bakery bread tends to be light and airy, with a touch of sweetness. I have memories of visiting a bakery in a farmer’s market in Shih-lin near our house in Taipei. After enduring the pungent aroma of live chickens and ripening papaya, we’d stop in the bakery to pick up some treats.

    Photos follow!

    (more…)

    Read more
    DSri Seah
  • LazyImageLayout Updates for WordPress 1.5

    February 19, 2005

    Gundam » About Lazy Image Layout » How to Use » Troubleshooting » Download! (currently 0.36)

    With the release of WordPress 1.5 has come a smattering of reported compatibility problems with LazyImageLayout, aka LZIL. Adding them as I find out about them.

    • Possible conflict with default template stylesheet. Renamed css classes for a tags to be more LZIL specific (fixed in 0.33)
    • I’ve just migrated to 1.5, and have noticed some of the reported problems with LZIL if you are using a custom theme based on your WordPress 1.2 layout. LZIL appears to work fine with the new WordPress 1.5 themes otherwise.

    • It turns out that the default WP 1.5 style defines the img tag to have a max-width of 100%, which is causing the LZIL img tag definitions to fill into a weird space. (fixed in 0.34)

    • I just learned that WordPress treats syndicated excerpts differently than full posts. Excerpts are plain text, and posts are wrapped in [CDATA[ … ]] delimiters. The upshot is that for full posts, you CAN have HTML markup, which includes images. So I’ve experimentally modified LZIL to include images when posts are fully syndicated, and to strip ’em out when excerpted. (added in 0.35…experimental!)

    • Another issue with the WordPress 1.5 standard template: it apparently uses Excerpts instead of Full Text in some cases. I don’t get it, but I’ve modified LZIL to do this, as PHP-Markdown does as well. (added in 0.36)

    <

    p>

    GrendizerIf you’re using LZIL, drop me a line to let me know how it’s going…thanks! :-)
    Read more
    DSri Seah
  • Battlestar Galactica

    February 18, 2005

    I can’t believe just how good this show is, so here I am repeating myself. More than SF…human drama!

    (more…)

    Read more
    DSri Seah
  • Clothes-mindedness

    February 18, 2005

    Visit SiteMy sis passed this along: guess the movie when all the actors have been removed! You just see their clothing…it’s like some creepy Invisible Man alternate movie universe. There are lots of movies at the site. Post your score! I got 3! :-)
    Read more
    DSri Seah