Autodiscovery Bookmarklet Generator

The Autodiscovery Bookmarklet Generator will generate Javascript bookmarklet code for autodiscovering metadata linked from an HTML document using the LINK tag. Thought it might be useful for folks wanting to glue various services together.
This has had absolutely minimal testing (i.e. I’ve checked it against FOAF and RSS examples) so let me know if you have any problems.
Its part of a suite of micro-utils I’m developing: tiny, but useful bits of code.