I’ve improved support for PDAs. Besides being able to browse to https://www.sfsignal.com/pda.htm, links to post entries will now display using the full width of the PDA screen.
The change was quite simple, really. First, I created a copy of the site’s style sheet page and optimized it for a PDA display (hiding the left and right columns and changing margins to zero). Then it was simply a matter of adding another style sheet reference (via the LINK tag) to the appropriate templates (the index template and the individual archive template) with the media attribute set to “handheld”. Any mobile browser that supports this attribute on the LINK tag will use the PDA stylesheet instead of the regular stylesheet.
Of course, I can extend this method to avoid having to use a special URL in the first place, but that’s for another day.