The Philosopher's Toolbox

Project status for my collection of websites.

Hi there. Not seeing this page in a two-column layout? Perhaps your browser doesn't support web standards (or you've turned style sheets off). Don't worry. The content of this page is accessible to any browser or internet device. However, to get the full 2-D effect simply turn style sheets on, or upgrade your old browser to one which supports web standards. For more information and quick links to browswer upgrades, just click here.

permalink  Tuesday, May 7, 2002
Seven down, nine to go. Replaced all ampersand characters with "&" in the body of all the posts, and wrapped the radio.macros.staticSiteStatsImage macro which is on the template for this page in a div tag. Macros not wrapped in div or span tags seem to generate superfluous, unclosed p tags.
Hmm. Turns out that ampersands have been causing xml validation problems for a while: (2000), (2001), (March 2002).
Two errors down, sixteen to go. Latest tweek: code generated by the 'Comments' function (which I'm not using anyway) was causing xhtml validation errors, so I turned it off. For those following along at home, here's the run-down: The problem lies in the url which gets passed to the comment pop-up page. The comment script generates an address of the form: "" where u is the usernumber of the author, and p is the index number of the post you want to comment on. (Depending on whether you have comments disabled or enabled, and what you select in the comment tag preference, the script might generate "" instead. That's what I got). The problem: Apparently, xml validators won't accept the ampersand in "u=1000&c=count". You have to pass it as '&' instead (at least according to this post. But why dig into Radio's guts in order to tweek a feature I'm not using? Let's just add it to the wish list.
A single line in a #prefs file now sets the titles for all pages in this section to 'Toolbox'. The images used in the posts are now served from UTORweb. The 'Custom Images' function (and a macro) rewrites their image tags for XML well-formedness. (And adds 'alt' and 'title' attributes too. Place the mouse over the blue 'page' image at the left to see the effect).