Parsing the Zen Garden

Note

This script was created as a response to this Mezzoblue post. Please note that there is an error in the script and the generated JSON file: there are no commas between elements in the list. Also note that the script will (likely) only work in Firefox, and only in the (unlikely) case that the structure of the Zen Garden pages has not been significantly altered.

Note added 4:26 p.m. Saturday, March 11, 2006

Some JavaScript to parse the Zen Garden designs page, provided as a bookmarklet that runs this JavaScript file (must be run on a mezzoblue.com page to avoid cross-site-scripting restrictions).

Bookmarklet: Parse Zen Garden design pages. (I've had some problems getting this working, though it works fine when zenparse.js is hosted on localhost.)

The JSON produced by a full run: zenparsed.json