Tuesday, March 3, 2009

Arbitrary HTML in Google Code wiki

Google Code supports a limited subset of HTML in Wiki. In particular, <input/> cannot be used. Because of this, the early version of CopyingTextFromSafari uses the traditional "go to a link and bookmark it" mechanism to add the bookmarklet.

Then today I realized that I could use HTML in Google Gadgets. So I can just
  • Put all HTML in an XML file and upload the file to SVN.
  • Insert a <wiki:gadget/> with URL to the wiki page.

I've immediately changed CopyingTextFromSafari, and also added a Donate button to the front page after figuring this out.

One slight note is that the HTML you use will live inside an iframe.

No comments:

Post a Comment