MT comment bug; Convert Line Breaks + dl

Posted by Oli  @   3:28 PM · 15 February  to   Coding · HTML · Weblogging

I’ve found an unusual bug in how MT handles white space with block level HTML when “Convert Line Breaks” is active. It’s great for ul and ol, but does some strange stuff to dl.

Continued... (250 words)

Comments (2) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/62

Reply to Gregory Narain’s Why cruft doesn’t matter

Posted by Oli  @   3:15 PM · 29 January  to   Coding · Weblogging

Gregory Narain recently wrote about why he thinks non-crufty URLs are overrated. He was kind enough to use an article of mine as a source, so I felt compelled to write a reply. While I agree with some of what he says, I don’t agree (and can’t understand) his conclusion.

I think this kind of over-analysis marks me as a perfect candidate for some kind of ‘semantic wonk/geek’ committee position. sigh :-/

Continued... (886 words)

Comments (1) · TrackBacks (1)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/60

Recent weblog improvements, plus some intentions for 2004

Posted by Oli  @   4:15 PM · 09 January  to   Coding · HTML · Weblogging

I’ve made several small changes here recently, including automatic acronym tagging, fixing issues when using HTML in comments, and sending XML to compliant browsers.

From here on in I have several improvements in the works, including a redesign (the sooner the better!). I don’t even think I can call it a redesign actually — a design perhaps? ;-) This year I hope to post more frequently, write more about Japan and living here, and make this a more visually interesting weblog. Here we go!

Continued... (992 words)

Comments (0) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/57

URL cruft, and how to remove it

Posted by Oli  @   2:19 PM · 29 December  to   Coding · Unix · Weblogging

This is a guide to how to make the perfect URL; ones that are informative, short, and don’t change. It provides information and links on why you’d want to do this, and how to do it for Movable Type and for websites in general.

Continued... (936 words)

Comments (2) · TrackBacks (2)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/53

Links; MT Spam, mod_rewrite, tutorials

Posted by Oli  @   1:54 PM · 28 November  to   Coding · HTML · Unix · Weblogging

Some links for further reading on a security weakness in MT (allowing spammers to use MT as an open relay), trapping bad robots and spammers (especially relevant for MT users), a good introduction to mod_rewrite, and tutorials on regular expressions and command line text editors.

Continued... (262 words)

Comments (0) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/45

Using cron and cgi to back up log files

Posted by Oli  @   2:42 PM · 19 November  to   Coding · Unix

Script kiddie alert! I try to fudge my way through appending my daily log files to another file that my ISP won’t delete. For anyone even more ignorant about cron and cgi than me, if that’s possible ;-)

Continued... (757 words)

Comments (3) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/41

Interesting Mozilla Behaviour

Posted by Oli  @   7:01 PM · 15 November  to   CSS · Coding · HTML · Weblogging

This site looked terrible in Mozilla 1.4/PC, and I’ve finally figured out why — Mozilla thought it was Japanese, and was applying one line of CSS only meant for inline use to every element. The weird thing is the only place ja appears on almost all pages is that one line of CSS. Is this a bug?

Continued... (211 words)

Comments (1) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/39

ReUSE:IT competition results

Posted by Oli  @   3:13 PM · 05 November  to   Coding · The ‘Net

The ReUSE:IT competition to redesign Jakob Neilsen’s UseIt.com website is over. Here are the designs that I liked the best.

Continued... (298 words)

Comments (1) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/33

Boblet Coding Style Guide

Posted by Oli  @   6:25 PM · 02 November  to   CSS · Coding · HTML · Weblogging

This is a reference for me so I don’t forget how to code for Boblet. It’s just my notes on tag attributes and styles to tie in with my stylesheets. This is of no interest (unless you are interested in the how’s and why’s of my code).

Continued... (938 words)

Comments (2) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/32

Why Web Standards and Validation?

Posted by Oli  @   4:50 PM · 21 October  to   Coding · HTML

I recently read an email in the Japan Bloggers list, and my reply became too long to email. So here it is; Why should anyone use ‘Web Standards’ or validators when making web pages?

Continued... (916 words)

Comments (8) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/28

Problems with MT:KeyValues

Posted by Oli  @   2:16 PM · 12 October  to   Coding · Weblogging

I’m having problems with Brad Choate’s most excellent MT:KeyValues plugin, and despite the high likelihood of user error I can only think it might be a bug. Inconceivable! Help would be greatly appreciated in pointing out the user error ;-)

Update: Help received from Brad himself! Thanks!

Continued... (277 words)

Comments (0) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/25

Changes to the Source; MetaTags, Excerpts & Comments

Posted by Oli  @   1:40 PM · 03 October  to   Coding · HTML · Weblogging

My latest small polishings to this weblog have involved adding Metatags (what an ordeal!), changing the formatting of long posts (like this one) in indexes, and a start on reworking comments. Oh yes, the excitement never ceases round here!

Continued... (476 words)

Comments (0) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/22

IE 6 Display Error?

Posted by Oli  @   6:37 PM · 28 September  to   CSS · Coding · Weblogging

This weblog has a display error in IE 6. I don’t know if I’ve fixed it, so leave a comment if things don’t look quite right.

Continued... (135 words)

Comments (0) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/20

Fun with SQL

Posted by Oli  @   4:38 PM · 12 September  to   Coding · Weblogging

I had some fun playing with SQL while trying to improve this weblog. Although I couldn’t get what I wanted, I’ve collected some links to SQL resources so I can learn more later.

Continued... (281 words)

Comments (0) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/15

A Two-Column Layout

Posted by Oli  @  12:24 PM · 28 August  to   CSS · Coding · Weblogging

And I thought table layouts were tough! How are we meant to make a basic two column layout in CSS? This really should be easier. Here’s what I came up with, using position:relative on the background and position: absolute on the menu.

Continued... (308 words)

Comments (0) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/9

Why isn’t address an inline tag?

Posted by Oli  @   8:30 PM · 18 August  to   Coding · HTML

Why isn’t the address tag inline? Because it’s block I can’t use it in a definition list.

Continued... (93 words)

Comments (0) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/4

Read the Funky Manual

Posted by Oli  @   5:28 PM · 17 August  to   Coding · HTML · Weblogging

I’ve been trying to set up non-crufty URLs, and had some problems. Then I found the “remove_html” option and worked out how to use MTKeyValues to strip HTML from the page title and improve URL readability respectively. I also realised that the lang=”” attribute isn’t for computer languages.

Continued... (193 words)

Comments (0) · TrackBacks (0)  to  http://www.boblet.net/cgi-bin/mttb-external.cgi/1

Browser Weirdities

Posted by Oli  @  12:32 AM · 18 May  to   CSS · Coding · HTML

These observations on Netscape Navigator 4.7 (Mac) and some other browsers’ weirdities were made while building a Mie University Center for International Students template. The template layout is table-based but uses CSS extensively, and doesn’t contain nested tables. I haven’t…

Continued... (452 words)

NN4 is trying to kill me

Posted by Oli  @   9:31 AM · 26 April  to   CSS · Coding

Somebody shoot me. I’ve been asked to redesign a sub-website for a University still using a lot of Netscape Navigator 4 browsers. I want to make something that is standards-compliant (preferably XHTML), uses CSS not tables for layout, and…

Continued... (110 words)

Unicode, UTF-8 and MSIE5.2 (Mac)

Posted by Oli  @   9:41 AM · 05 March  to   Coding · Japan

Why does using Unicode have to be so hard? I’m trying to use Unicode to make Japanese/English files. However I found that how I save the file makes a big difference to how they’re displayed on my three test browsers…

Continued... (295 words)

2003.03.05 Wednesday

Posted by Oli  @   9:43 AM · 04 March  to   CSS · Coding · Diary

I’ve been having a CSS nightmare day, trying to make an all-CSS layout. The code is clean and validates as XHTML Strict, and the CSS validates too. It looks perfect on (the browser formerly known as) Chimera and Safari….

Continued... (238 words)

Unicode and Line Breaks

Posted by Oli  @   9:39 AM · 04 March  to   Coding

When using Unicode UTF-8 formatted files, be careful of the line breaks. If you use Unicode’s line breaks, the page won’t validate. There are also potential display errors in some browsers (with the line-break character being treated as a <br>…

Continued... (115 words)

Centering Block Level Elements (eg if using tables for formatting)

Posted by Oli  @   7:21 AM · 27 February  to   CSS · Coding

There doesn’t seem to be anything to specifically replace the depreciated align=center tag for block-level elements in CSS, only alignment for text. If you are still using a table-based layout and want to center the enclosing table (or a…

Continued... (147 words)

Notes from Eric Meyer On CSS

Posted by Oli  @   8:44 AM · 17 February  to   CSS · Coding · HTML

A list of notable things to remember (with page #s), from Eric Meyer’s excellent book. Includes some unacknowledged errata…

Continued... (1190 words)