Simon Willison’s Weblog

Subscribe

Items in 2002

Filters: Year: 2002 × Sorted by date


CSS filter guide

Spotted on the Web Manager’s Weblog, centricle : css filters is a list of all of the current CSS browser hiding techniques (all 17 of them!) along with a table showing which hack will hide things from which browser. Best of all, the name of each workaround is a link which will pop open a new window testing the hack in your browser.

[... 70 words]

Syndicating blogs with XHTML

Anil Dash suggests using structured XHTML as a blog syndication format. Scott Andrew points out that this has semantic problems in that it would mean using the class attribute to add additional meaning to a document. I was going to say that this would be an ideal opportunity to mix different namespaces in one XML document (as described by Lachlan Cannon) but techno-weenie beat me to it.

[... 79 words]

Taxomita

XFMLManager, Peter Van Dijck’s XFML construction and navigation tool to which I have contributed various chunks of XML related code, has been renamed Taxomita and given a brand new site. Peter hopes to have a public beta out within the next few weeks. It also has a mailing list. Meanwhile, XFML has been cropping up all over the place even despite the current lack of software, with the most recent sighting occurring over at Bill Kearney’s Syndication News.

[... 92 words]

OWASP Security guide

The Open Web Application Security Project (OWASP) have a free guide to building secure web applications, which covers a large range of common problems such as cross site scripting and SQL injection vulnerabilities. The report is a 60 page PDF and although I haven’t had time to go through it yet it looks like an excellent read.

[... 74 words]

phpPatterns

phpPatterns is a brand new site which advocates and documents the use of object oriented design patterns with PHP. It’s a great concept and the site already has some impressive content (although it could really do with a PHP references tutorial). The site is a project of Harry Fuecks, a regular contributor to SitePoint’s PHP forums.

[... 61 words]

Polluting the web

Hixie and Aaron Swartz are debating Hixie’s infamous Sending XHTML as text/html Considered Harmful on a W3C mailing list. While I am just as guilty of sending XHTML as text/html as anyone else (I’ve been meaning to fix this for a while but just haven’t found time yet) I’ll stick in an argument that Hixie hasn’t used yet. Sending XHTML as text/html basically amounts to pollution of the web. As far as the XML user agents of the future are concerned (which are supposedly one of the main reasons we use XHTML) an invalid XHTML document is unparseable and thus unreadable. Anyone who has tried to keep an XHTML blog valid will know how difficult it is to keep it that way, and without a browser refusing to display the document (as happened with Mozilla and diveintomark the other day thanks to an XML content type and a missing end tag) it can be all to easy to contribute to the pollution. As it stands, a massive proportion of the supposedly XHTML web may as well be just so many random floating bytes.

[... 191 words]

Get the look

Adam Polselli is a talented young designer who posts regularly on the SitePoint Forums. Get The Look is his new site (based on an article he wrote for SitePoint) which provides five excellent site templates and explains the design principles that were used to create them. I’m personally not interested in free site templates (though with my terrible design skills I probably should be) but the site is well worth visiting for the excellent advice provided with each design.

[... 87 words]

Information wants to be free

In Apple and the Pirate Everyman, Tom Coates discusses Apple’s attitude to copy protection and open standards. Choice quote:

[... 102 words]

Mimeo

Brian Graf has some very positive things to say about Mimeo, an innovative new web services based company in the States:

[... 156 words]

RESTLog

Joe Gregorio’s RESTLog is a fascinating piece of technology and a great example of the RESTian model of web service in action. Everything is built on XML and HTTP—new blog entries are POSTed to the index page as RSS 2.0 item elements, edits are done with the little-used HTTP PUT method and the DELETE method can be used to delete items. Content negotiation is in effect, so browsers recieve HTML while aggregators theoretically get RSS (though in practise existing aggregators fail to send a content negotiation header so an alternative URL scheme must be used). It’s very clever stuff. Further techie details are being posted on a regular basis, but a good overview can be had by reading RESTLog Overview and RESTLog Interface. The system was inspired by the RESTWiki’s RestidyingBlogger.

[... 155 words]

Aquari-gone-ics

Aquarionics is Gone (well, not entirely—the old site can still be found here). Aquarion has committed to building his new blogging system, Epistula 2, and vowed not to add any more entries until the new system is capable of taking them. Development of the new system will continue in the open at playground.aquarionics.com, which is currently throwing an HTTP 500 error but is likely to be an interesting place to watch in the next few days.

[... 83 words]

Interesting but ultimately useless

Via Stuart, Tantek has an intriguing new (valid) hack for adding HTML documentation to an external javascript file. The hack uses some clever multi-language comments to hide the HTML in the file from the script interpreter, while ensuring that the documentation remains readable when the file is interpreted as HTML. Unfortunately the trick does not work in Mozilla, as that browser respects the Content-Type served with the document (whereas IE “guesses” the content is HTML from clues in the document).

[... 93 words]

Mark’s tinkerings

Mark’s back, and he’s been tinkering. In addition to a whole bunch of changes made yesterday in response to Hixie’s markup critique, Mark now boasts php.net style shortcut URLs, an RDF powered about page and an automatically generated list of acronyms (in a semantically correct definition list). I use a similar technique (extracting structural markup tags using regular expressions) in my personal course notes—there’s something very rewarding about being able to extract information from a properly marked up document.

[... 112 words]

Changing backgrounds

Via Adrian Holovaty, Matt Jones points out an innovative new feature of the BBC’s new home page—background colours that adapt to your browsing preferences. Interesting stuff.

[... 33 words]

Search engines don’t care!

I’ve suspected this for ages, but finally it can be categorically announced that search engines just don’t care about the meta keywords attribute. The only major engine that still notices it is Inktomi, and even they treat it as a very low priority. Finally something concrete to refer people who still demand meta tags to. The description tag is still occasionally worth adding though.

[... 70 words]

Different browsers different DOMs

Hixie has put together a fascinating article describing how the Mozilla, Opera 7 beta and IE6 DOMs deal with incorrectly nested HTML tags. Internet Explorer goes as far as creating a malformed tree just to represent badly formed HTML!

[... 57 words]

Syndicated further reading recommendations

I frequently find myself reading something on someone elses blog and thinking “that’s interesting, and it fits in well with XXX that I read the other day”. I often end up blogging a link to both just to satisfy my need for completeness. Wouldn’t it be interesting if there was some standard for formalising this kind of further reading recommendation? I’m not sure exactly how it would work (it would almost certainly be XML based but I don’t know if it would require a new format or integrate with an existing one) but it could be an interesting avenue to explore. I think it’s a significantly different problem to the ones solved by XFML (external shared metadata) and Pingback for it to be worth committing some thought cycles to. Any ideas?

[... 131 words]

Content inventory tips

Peter has been blogging the progress of a 3828 page content inventory he is working on. Day Two describes his method of working with Excel, Day Three provides three useful inventory tips. Christina Wodtke’s Information Architecture: Blueprints for the Web has a nice overview of the content inventory process which recommends a dual monitor setup and links (well, footnotes) to these tips by Noel Franus. Peter has also commented on my decision to go with the blue RSS button in favour of the standard orange XML button—I’ve posted my reasons in a comment attached to his post.

[... 115 words]

A plea for sense

Peter Van Dijck: We need some sense in the naming of XML feed buttons.. I couldn’t agree more—in this day of syndication formats left, right and center the orange XML button could mean just about anything. Speaking of which, I’ve finally got around to adding a pretty blue RSS button to this site.

[... 63 words]

Condiment Clothing goodness

Thanks to CafeShops, pretty much anyone can set up a store to flog their own branded merchandise. Long time a favourite obscure site of mine, the Condiment Packet Museum now has their own line of goods. Dig those boxer shorts :)

[... 49 words]

OmniWeb CSS hack

The hack we’ve all been waiting for: How to hide CSS from OmniWeb. OmniWeb is a Mac browser which understands the @import rule but horribly mangles CSS layouts beyond all repair. Thanks to this hack CSS sites with a noticeable percentage of OmniWeb users (and anyone else who cares) can give OmniWeb the same treatment normally reserved for Netscape 4.

[... 70 words]

A royalty free web

Stuart points out that the W3C are seeking public approval for their recently published last-call draft of their patent policy. The email address is www-patentpolicy-comment@w3.org. Show them your support for a royalty-free web.

[... 41 words]

Microsoft will be around for a very long time...

This story on the BBC describing how Microsoft lost £112 million on the Xbox has been getting a lot of attention later. Here’s a depressing thought: With 40 billion dollars in the bank they could sustain that rate of loss for 85 years without running out of cash. Scary.

[... 56 words]

Structured procrastination

Thanks to Morbus, I have finally found a time management system that looks like it could work for me: Structured Procrastination.

[... 158 words]

Douglas Bowman goes it alone

Douglas Bowman has left Wired, and is striking out on his own with Stop Design, his one man consultancy business. With the Wired redesign Douglas gave a massive and long-awaited boost to the web standards movement by demonstrating once and for all that a large, high traffic site could make the transition to structural markup and standards compliant code. I wish him the best of luck in his new venture, and I look forward to keeping up with further developments via his excellent weblog.

[... 96 words]

Usability Views

Usability Views (via Zeldman) lists articles from a number of Usability related sites in a variety of different ways, including order-by-most-popular. Popularity appears to be judged by the number of links to that article around the web—I doubt the site is indexing the whole web so could this be another (very clever) application of the Google Web API? Grabbing the number of results for a Google link: query should be easy enough, and would be a great way of judging the popularity of external content. Here’s hoping Usability Views adds a “how this works” page in the near future to satisfy my inner geek.

[... 108 words]

Funky caching explained

I didn’t take much notice of “funky caching” while reading through Rasmus Lerdorf’s PHP tips and tricks presentation—I saw that it was talking about using custom 404 pages to serve up dynamic content depending on the URL and wrote it off as a hack that, while useful, was fundamentally flawed in that it would add an error log entry whenever a page was served.

[... 208 words]

High end CMS vendors in trouble

Licenses Down, Services Up is a fascinating article discussing the commoditising effect of open source software which uses the high-end Content Management market (such as Interwoven, BroadVision and Vignette) to demonstrate how open source is causing real problems for companies that rely on ludicrously high license fees as their main revenue stream. The conclusion?

[... 105 words]

Open source web editing

While reading the thread discussing Macromedia’s Contribute over on 37signals I realised something: the web could really do with an open source Contribute style application. Editing full documents is best done in an application—there’s only so much you can do with browser based editing tools (even if you take advantage of IE’s contendEditable or use Flash to build an editor applet). When people are using Word they hit Ctrl+S to instantly save what they working on—show me a browser based editor with the same functionality.

[... 277 words]

Blogspace census

Phil Wolff: We need a census of blogspace.

[... 9 words]