Final formatting (hopefully) done

2002 September 27
by darkness

OK, I think I fixed just about everything I enumerated last night.

  • Time zones: not happening. MT apparently doesn’t store time zones with entries. I can see why they wouldn’t do this, but at the same time I think I’d rather them go ahead and do it. This way you could calculate the correct time zone that each time stamp (which is stored in local time) is in. Yeah, I think storing the TZ with each entry makes sense. Anyway, instead of fixing this madness, I’ve gone ahead and changed MT to think I’m in UTC (hopefully). Now all entries are listed in UTC. All entries prior to this one have an invalid time stamp (UTC-0400, though they show up as UTC).

  • I changed the navigation for the individual entry pages, but not the monthly archive pages. IE 5.5 isn’t floating the box on the individual entry pages correctly; waiting to see if IE 6 does from someone who has it installed. Mozilla and Konqueror float it correctly. (Honestly it was some pretty messy CSS on my part; I was just kind of adding things in to the style sheet until I liked what I saw.)

  • Changes /blogs to /weblogs, but all the archive pages still have the old link. I’m hoping that’s because it’s stored in the DB; will check it when new pages get created (like after this entry). /blogs still works via a symlink AFAIK.

  • Added the archive and RSS links I wanted. Added the logo on the front page for MT as well; hope just the front page is enough, because I really don’t want to edit all these templates and stick it in.

I think that’s about it. I also found a bug in xml.el which basically made multiple passes of decoding entities. For example, “&” would “expand” (reduce? Translate? What’s the correct term here?) to just “&”. I made a patch against Emacs 21.2 xml.el and sent it to bug-gnu-emacs@gnu.org or some such. Whatever was in the info page. It took me forever to feel that I had read all the bug posting recommendations and followed them adequately before I was ready to send the bug report. I didn’t receive any confirmation of it.

Now I have to remember what projects I was working on before this. I think I’m about to dive into some Perl.

Update: the timestamp on this entry, too, is wrong. MT just not doing DST right at all, and I can’t really say I care to try and track down what’s doing it. I can’t quite figure out where the error is, but I kind of suspect the offset_time* functions in MT::Util. Anyway, according to MT I’m now at UTC-0100 to make everything come out OK. Someone remind me to change this when DST goes away in October or whenever.

No Comments

Leave A Comment

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS