Simon Willison’s Weblog

Sunday, 1st September 2002

Yay for <links>

Aquarionics has joined the Mozilla <link> element party.

[... 11 words]

Grabbing web pages with Perl and PHP

Web Basics with LWP (via Scott) is an excellent tutorial on Perl’s LWP, a powerful set of modules which make it easy to retrieve content from the web. I’ve been using the excellent Snoopy class for PHP for the same purpose, but I have to admit it isn’t half as comprehensive as LWP. I’ve also written my own simple function safeGet for more light weight tasks—it grabs and returns the contents of a web page but limits both the size of the page and the maximum time it can take to download it.

[... 108 words]


I’ve been playing with XML-RPC and PHP today. I ended up using Keith Devin’s pleasantly straight forward library thanks to PHP’s built in (and completely undocumented) XML-RPC support conflicting with the function names used by Useful Inc’s partially object oriented library. I’ve been messing around with Stuart’s idea for a trackback alternative and things are looking pretty promising.

[... 76 words]

Templating with Smarty

Zend have a short tutorial on PHP Templating with Smarty.

[... 11 words]

Joel on platforms

Joel Spolsky: Platforms. Plenty of food for thought. Dave Winer responds with a pointer to his 1996 article The Perfect Parent which touches on the reasons Groove can’t count on making it as a platform.

[... 45 words]

Font size bookmarklet

Scott Johnson (and others) has been waging war against Font Bitches, aka people who use fixed (pixel) fonts on their sites making the text unresizable in Internet Explorer. Here’s a new bookmarklet that can help alleviate the problem:

[... 94 words]

A better trackback

A discussion on Aquarionics nails why TrackBack isn’t quite there yet (emphasis mine):

[... 102 words]

2002 » September