March 1st, 2002

Browsable hardware list

Brad asked for a viewer for LJ's hardware list, so I wrote one which utilizes the W3C's Document Object Model to read input.

My implementation is written in JScript. This way, the browser only has to download the source files (script, data, and DTD) once; the user can then manipulate the display without asking the server for a new page on each click. The page works in Internet Explorer 5 (and probably 6?) with scripting enabled; if any other browsers already ship with the ability to read XML in a similar way, I'd like to know.

The DOM is platform-independent, so my script should be easy to port to other platforms, including perl (using the libxml-enno bundle) and other browsers with adequate XML DOM support.

The script is browse.htm in the /doc/xml/lj/hardware/ directory on my goathack server.