Simon Willison’s Weblog

Subscribe

Entries

Filters: Sorted by date

Missing the point

The Register’s coverage of the end of development for IE on the Mac makes some worrying conclusions:

[... 506 words]

Tim Bray on search

I love it when bloggers stick to their word. The other day, while describing a quick Perl hack that really impressed a major client a few years ago, Tim Bray mentioned the following:

[... 240 words]

Improving label element discoverability

My good friend Andy is soliciting applications to be his other half via his blog. He’s a lovely guy, so go sign up! More importantly, the stylesheet for his romance test includes this gem:

[... 98 words]

More practical benefits of web standards

D. Keith Robinson recently launched the redesigned website for the Washington State Drowning Prevention Network. He has written a fascinating account of the development process used for the site, which validates as XHTML 1.0 Transitional and uses CSS for layout. The following extract in particular caught my eye:

[... 199 words]

Better mailing list archive integration

Peter Van Djick:

[... 96 words]

Aha!

Well that explains an awful lot. I was getting a huge number of complaints about lost comments when people were told off by my comment HTML checker, so it’s nice to know that the problem wasn’t entirely my fault! I fixed the problem (and dramatically improved the usability of the system as a whole) a few days ago by adding a proper preview / re-serve the form ability to the comments system.

Javascript, the DOM and application/xhtml

One of the side-effects of switching my blog to serving pages as application/xhtml+xml to browsers that support it (mainly Gecko engine browsers) was that my blockquote citations script simply stopped working in those browsers. The reason this happened is touched upon by Mark Pilgrim in The Road to XHTML 2.0: MIME Types: essentially, when dealing with XML documents Gecko needs you to use document.createElementNS in place of document.createElement when manipulating the DOM.

[... 258 words]

Phil Ringnalda on Firebird extensions

Phil Ringnalda writes about Firebird extensions:

[... 188 words]

More CSS Zen Garden submissions

The CSS Zen Garden is growing at a pretty impressive rate, with another three submissions since I last checked it a few days ago: Friendly Beaches, Calm & Smooth and Viridity. Also added recently is What Lies Beneath, which is unique in being the first horizontally rather than vertically oriented layout. It’s a shame there’s no automated way of tracking the garden (an RSS feed of new submissions for example) as I keep on forgetting to check back for new material.

The Way Forward

Dave Shea: The Way Forward:

[... 163 words]

Course management systems

Via EdTechDev, this report on the important characteristics of course management systems makes very interesting reading. I’ve been considering doing something along these lines for my final year project at University, but I hadn’t realised how much work had already been done in this field. It still looks like an area with a lot of space for improvement though.

time_since()

I’ve changed the date heading for each post to display the relative time since the entry was posted, rather than absolute the date and time. My main reason for doing this is that it solves the timezone problem; all times on this site are in GMT, but the majority of the site’s visitors are likely to be in different timezones. Showing the time elapsed since the entry was posted serves everyone regardless of their location.

[... 126 words]

Small design tweak, big difference

I’ve changed from using the day as the principle heading on the front page to using the title of each post instead. This is quite a minor alteration, but I expect it to have a relatively large impact on my blogging habits. For the past year I have treated my blog as a daily endeavour, thanks almost entirely to the way the site was layed out. This was intentional; when I orginally launched blog I made the decision to keep each entry as part of an ongoing narrative, with no individual entry titles and permalinks to entries in the context of the day they were posted.

[... 270 words]

The reason monopolies are a bad idea

I wasn’t planning to cover the recent AOL and Microsoft announcements as they’ve been covered to death elsewhere by people with far more insight than myself, but this third piece of news seems to bring things to a head: Microsoft have announced the end of development of Internet Explorer for the Mac. I’ve never really had access to this browser but I’ve read enough to know that it was the first full browser release to take web standards seriously, and as such plays a very important part in the history of the web standards movement. It’s sad to see it come to an end, but it also raises yet more questions about the direction Microsoft is taking with regards to the web.

[... 571 words]

One year of blogging

Today marks the first anniversary of the start of my blog (and, by a slightly contrived coincidence, my thousandth blog entry). It’s been a fun year. Here are my highlights—if you can’t stand lengthy self-congratulatory bullet points, stop reading now.

[... 666 words]

Official film sites almost always suck

Why do official film sites almost always suck? www.x2-movie.com is a prime example: 100% Flash, ridiculous loading times (and I’m on broadband), totally unintuitive interface, tedious, unnecessary animations every time you click on anything and when you finally get to the content (all I could find was the “Mutant Database”) it gives you hardly any information above what you get by watching the film! It looks pretty (pretty expensive at any rate) but really is nothing more than a glorified trailer.

[... 347 words]

Safely consuming RSS: RegExps don’t cut it

Mark Pilgrim highlights the severe security issues introduced by RSS aggregators that display potentially unsafe HTML, often executing it in the “secure zone” generally reserved for trusted local documents. Mark suggests a number of dangerous tags and attributes that should be removed before display. Unsurprisingly, regular expressions have cropped up in the comments as the suggested solution. Jamie Zawinsky famously once posted the following to comp.lang.emacs:

[... 396 words]

Structured content defined

Peter Van Djick: The structure of content and metadata, a glossary style overview of important concepts in structured content and website metadata. Peter also links to Victor Lombardi’s excellent Metadata Glossary.

Eric Meyer Redesigns

Eric Meyer has released a new selection of designs over on Meyerweb. The designs are inspiring, and Eric’s CSS is well worth perusing for style tips and insights in to reliable methods of creating relatively complex layouts.

Under the Iron

Under the Iron is a series of interviews with interesting people. The most recent three include one with Mark Pilgrim, which talks in part about Mark’s reasons for creating diveintoaccessibility:

[... 140 words]

Authentication via POP3

Authenticating users through a third party POP3 server (Python sample code provided) is a really interesting idea, but one that I don’t think could ever be used in the wild. Firstly, I haven’t the slightest idea what my POP3 password is as I tend to save it in my mail application and forget about it. Secondly (and more importantly) is trust: how many web sites do I trust enough to give them my email password whenever I log in?

[... 133 words]

Home improvements

Exams are all over and I’ve had a few days of doing nothing to recuperate. I’ve also made a couple of small improvements to my blog. Firstly I’ve finally updated the comment system (after numerous vocal complaints) to provide a preview option and redisplay the form in the case of invalid markup. I’ve also changed the monthly archive pages to display the titles of all of the posts from that month instead of just showing which days had entries. In my experience date based navigation is the least useful way of finding old content in a blog (search, categories and related reading are far more valuable) but the new way of presenting monthly archives at least gives an overall view of the topics I was posting about over a particular time period.

Using bookmarklets to experiment with CSS

I’m in the middle of a whole bunch of exams at the moment, but here’s a quick tip that should make experimenting with and learning CSS a great deal easier. It involves bookmarklets. If you haven’t seen them before, bookmarklets are bookmarks that embed javascript; when you click the bookmark, the javascript is executed in the context of the currently loaded page. What that means is that in a suitably advanced browser bookmarklets can be used to modify pages, analyse their structure and do a whole host of other useful things.

[... 813 words]

From HTML to CSS

Tom Gilder: “I did this in HTML, how do I do it in CSS?”. A collection of tips for replicating visual formatting effects in old-style HTML with their CSS equivalents. A good resource for people just getting started with CSS.

Mouseless

My mouse stopped working a couple of days ago. This hasn’t ben as big a problem as you might have thought, mainly because Vice City refuses to install on my PC so I’ve been playing it on a housemates instead ;) Surfing the ’net mouseless has however given me an interesting insight in to a number of accessibility issues.

[... 387 words]

Infrequent updates

My infrequent updates can be blamed on two things: revision for exams (three next week) and Grand Theft Auto: Vice City. One of these two has been taking up far more time than it should...

Golden Mean

Golden Mean is Doug Bowman’s first contribution to the CSS Zen Garden, and it’s a very nice piece of work. Even better is the fact that Doug has provided extensive coverage of the design process (including technical CSS details) on his blog.

Fun with links

Yesterday we talked about the box model. Today we’re going to put a small part of it to work, by investigating ways of styling links. Before getting stuck in, we need to talk a bit about pseudo-selectors (also known as pseudo classes). The CSS specification defines pseudo classes as “characteristics that cannot be deduced from the document tree”, but in practise the only widely implemented psuedo selectors are those that apply to links. The key psuedo selectors for links are:

[... 810 words]

Understanding the Box Model

Today’s tutorial is going to be all theory. The box model is an inevitable part of CSS, and understanding it is critical if you want to do anything remotely interesting. Like most of CSS, it’s a lot simpler than it sounds. Here it is:

[... 626 words]

CSS Tutorial: feedback so far

My CSS tutorial series has been getting some fantastic feedback, both in this blog’s comments system and elsewhere. This entry will summarise the most useful feedback, acting as a kind of errata to the previous entries. Thanks to everyone who commented, there are too many to credit individually but you can see most of the points in their original format by browsing the comments attached to each entry.

[... 661 words]