Simon Willison’s Weblog

Subscribe

Items in 2002

Filters: Year: 2002 × Sorted by date


AllTheWeb claims

Boston.com, via Slashdot: Online search engine AlltheWeb claims bigger index than Google. I was under the impression that the 2,073,418,204 quoted on Google’s home page is no longer accurate (it hasn’t changed in months, and I know Google have been adding things to their index). I had a play with AllTheWeb and it turned up some decent results for my test queries, but it seems to load slightly slower than Google. Further discussion on this can be found over at WebmasterWorld, which is also home to the best Google discussion forum I’ve ever seen.

[... 117 words]

Day 6: Doctypes

Mark Pilgrim starts his series of weblog accessibility tips today with tutorial on adding a doctype to a blog.

[... 25 words]

Styling <hr>

Interesting thread today on css-discuss about styling <hr> elements. I had tried this before with no luck, but the thread provided some useful tips. Marek Prokop provided this tutorial, and Kevin W responded with these tips on styling <hr> in Opera. Michael Guitton suggested that setting width: 100%; could help fix problems with Netscape 6.

[... 107 words]

Blog fixed

I’ve just finished rebuilding the main data file for this blog, after it became corrupted last night due to a “Disk Quota Exceeded” error. It looks like this was my fault—I inadvertantly filled up my disk space when I was playing around with libxml and PHP choked when it tried to save the latest update to my blog. Luckily no data was permanently lost as the archives are cached as flat files, which allowed me to rebuild the data file from scratch.

[... 109 words]

Micah’s alternative Yahoo

Micah S Sittig on css-discuss has created an alternative version of the new Yahoo site design using CSS for layout instead of tables. The aim of the excercise was to demonstrate how much code can be saved by using CSS, and this has been achieved admirably with a 60% reduction in overall page size. The new version was developed for Mozilla 1.1 and looks great in that browser, but fails to render quite as well in IE. Still, as a demonstration of the file size benefits that come with CSS it works fantastically well. A full overview of the project alogn with file size statistics and implementation details is available here.

[... 130 words]

Elm0 suggests libxml

Elm0 has suggested a solution to my XHTML validation woes in a thread on WMHub. He suggests using libxml to validate new entries against a DTD, via PHP’s exec() function. It looks like xmllint is just the command line tool I need—if only I could get it to compile on the University server. I’m getting “out of space” errors which is strange as I have over 10MB left on my account, so I’ll assume for the moment that it’s a problem with the server and try again in a few days.

[... 104 words]

Excited about XWT

New toy: XWT, the XML Windowing Toolkit. This is one impressive piece of open source software. It allows you to create a graphical user interface using relatively simple XML markup (with ECMAScript to define interactivity). Your application can then be executed using a browser plugin, implemented as an ActiveX component on IE and a Java applet everywhere else. The idea is not to write whole applications in XWT, but to create server side applications and provide a client side GUI using the toolkit. Both SOAP and XML-RPC are supported for communicating between client and server.

[... 140 words]

University of Blogaria

Apparently the University of Blogaria was founded on the principle that the ideal university would have no students to contaminate the educational process (Jonathan Delacour). The only way in is to earn a position on the faculty, which no doubt requires slightly more than four days of blogging. Thank goodness their courses (or at least the benefits of their wisdom) are freely available to all.

[... 83 words]

Jonathan on Mark

Jonathan has meta-blogged (I think that’s the term) responses to Mark Pilgrim’s accessiblity series. He replies to my query about the wisdom of limiting the series to bloggers rather than expanding it to cover as much as possible:

[... 166 words]

My first XHTML mind bomb

I’ve been looking at PHP’s XML handling functions (in particular the xml_parse() function) and I’ve suddenly realised the advantages of writing entries in valid XHTML. Before I started this blog one of the features I considered adding was something that can pull all of the links out of an entry when it is submitted and index them or add them to a directory somewhere. I was preparing myself for some regular expression hacking, but thanks to XHTML this is now completely unnecessary. All I need to do is define a couple of handlers to deal with <a> tags and Expat will do the hard work for me. In fact, this approach gives me a great deal of flexibility in what I do with my entries. I can extract quotes and blockquotes, pick up on emphasized text and generally allow my blog software to “understand” my entries as and when I add them. The true benefits of XHTML have suddenly become clear.

[... 163 words]

Fixed validation again

The road to validity is frought with peril. I’ve just fixed another small group of errors that were preventing this page from validating (after spotting the ominous W3C validator in today’s user-agent logs). This time is was a couple of forgotten </p> tags and an unescaped ampersand.

[... 242 words]

Meg replies

Meg has replied to Jonathan’s criticism of her piece on the nature of blogging via his site’s comments system. She defends her original viewpoint, commenting on blogging that we can’t define this thing based on the content we’re outputting. It looks like this debate still has quite a bit of life left in it.

[... 57 words]

Meetup Launches

With launch notices on both glish and Signal vs. Noise I just had to check out MEETUP. I was not dissapointed. MEETUP is a beautifully simple concept that has been superbly executed. It aims to arrange real life get togethers around the world of people with similar interests. You simply find a topic that interests you and see when the next scheduled meetup for that topic in your area is, then enter your email address to have the site update you on the status of the meetup and remind you nearer the time. Meetup participants vote on the venue (from a list of over 11,000 suggested spots) and the rest is up to them. Why MEETUP?

[... 160 words]

Has Paul finished?

I wonder if Paul Sowden has finished his exams yet.

[... 12 words]

Anil Dash does Amazon

Anil Dash provides a copy of Amazon’s home page in HTML 4.0 Transitional, and it validates. Solid proof that you can rewrite a complex ecommerce site in valid HTML, and another victory for the web standards movement.

[... 40 words]

The nature of blogging

Meg Hourihan’s explanation of blogging (which I linked to and praised earlier) is stirring up something of a storm. Meg’s suggestion that the key to blogging is the format has been ripped to pieces by the likes of BurningBird, Jonathan Delacour and Stavros. Jonathan uses photography as an analogy—some photographers are excellent technically and concentrate on taking the perfect photograph while losing sight of the art of the medium. I hope I’m not overquoting, but Jonathan clinched his argument for me with the following:

[... 331 words]

JSRS 2.1 released

Brent Ashley: JSRS2.1 Released (from June 10th—Internet Archive copy). JSRS is Javascript Remote Scripting, an incredibly powerful javascript library that allows DHTML pages to communicate with a web server without having to reload the page. This latest version fixes POST suport for Mozilla. The library opens the way for a whole host of interactive web applications without the normal limitations caused by the request-and-response nature of the web. Best of all, JSRS is cross platform (at least for Mozilla, NS4+ and IE4+).

[... 151 words]

User Agent list

rudy on thelist pointed me to this handy List of User Agents.

[... 14 words]

Pure CSS popups

New example on Eric Meyer’s css/edge: Pure CSS Menus. This is very impressive stuff—it’s an implementation of those dropdown menus where you hover over an item and a new menu pops up, but it’s done in pure CSS without a line of javascript. Even better, the markup for the menu is a nested unordered list, so browsers that don’t support the advanced CSS needed will still display the menu in a meaningful way.

[... 113 words]

Learning from smart tags

Scott Andrew LePera in a mail to Webdesign-L (sent on the 12th of June, I’m catching up on my mailing list folders):

[... 196 words]

Python iterators

Via Daily Python-URL (which appears not to provide permalinks): Introduction to Python iterators. This is an extract from Deitel & Deitel’s “Python How To Program” and includes extensive code samples. Iterators are very cool—as I see it, they allow you to overload an object ready for use with Python’s powerful for ... in ... syntax (as well as other looping methods). This blog is implemented as an object in PHP—had I used Python I could display the whole blog using for entry in blog: print entry.

[... 94 words]

Meg on blogging

Meg Hourihan: What We’re Doing When We Blog. It’s a curious fact of blogdom that many bloggers blog blogging—why they do it, what it is and why it’s so important. I feel Meg has nailed it with this article—blogging is defined by the format, not by the subject matter. She also makes some insightful comments about why the blogging format works so well:

[... 105 words]

Google already

This site has been here for less than four days yet it already shows up as the top result if you search for simon willison on Google—and I never even submitted the URL. In fact, asking Google to list pages that link to me currently turns up zero results. Spooky.

[... 54 words]

Uni year ends

Well, I’ve reached the end of my first year at Bath University (studying a degree in Computer Science) and I can safely say I’ve never had 9 months go so fast. I’ve had a fantastic time—I met the girl of my dreams, made a whole bunch of great friends, did loads of cool things and spent far too much money. Today I move out of halls (a terrifying prospect when you live on the ninth floor and the lift is playing up). As an aside, I also lose my lovely fast net connection and return to the trauma of 56K. Thank goodness for Mozilla and tab based browsing.

[... 144 words]

CSS panic guide

Owen Briggs: CSS Panic Guide. Owen is the author of several excellent CSS resources (including Box Lessons and 264 font size screenshots) and this is his collection of links to CSS resources from all around the web. It covers every CSS reference worth knowing about and is an essential bookmark for anyone interested in using CSS for layouts.

[... 75 words]

Mark explains all

Over at diveintomark Mark Pilgrim has explained the aims of his Accessibility series:

[... 208 words]

Meta weblog API

I’m itching to get an XML-RPC interface to this blog up and running so I can start playing with blogging tools (or roll my own in PythonCard). It looks like Dave Winer’s MetaWeblog API is just what I need. It describes an XML-RPC interface with 3 methods: metaWeblog.newPost, metaWeblog.editPost and metaWeblog.getPost. More importantly, the standard supports complete flexibility in the data that is sent along with the request. My entries consist of a body, an optional permalink (one is generated if none is specified), optional categories and an optional search string for a “Google It!” link if one is required. The MetaWeblog API looks ideally suited to handling this, and is fully extensible should I change the format of my entries in the future.

[... 126 words]

Blog added to the OED

Dane Carlson: Blog to be added to the Oxford English Dictionary.

[... 12 words]

Day 4: Lillian

Mark Pilgrim’s set of case studies is beginning to shape together. I’ve been following responses to it through his “Further reading on today’s posts” referral tracking tool—reception has been overwhelmingly positive, with almost universal praise for Mark’s decision to use the case study format to drive home his point. kcalder criticised Mark’s suggestion that colour blind users wouldn’t get much out of images on the web, and Mark has apologised and altered the case study accordingly. SubAverage called Mark “preachy” and posted a parody (mentioned in passing by Dave Winer). All this and we’re only on day 4.

[... 120 words]

Sex tips for Geeks

Eric Raymond: Sex Tips for Geeks :)

[... 8 words]