Feeling Tiddly!

I have moved the site to TiddlyWiki. You all know my preference for a Wiki as an underlying CMS for my site. If not, well, you know it now! From the TiddlyWiki site:

Welcome to TiddlyWiki, a free MicroContent WikiWikiWeb created by JeremyRuston and a busy Community of independent developers. It’s written in HTML, CSS and JavaScript to run on any modern browser without needing any ServerSide logic. It allows anyone to create personal SelfContained hypertext documents that can be posted to a WebServer, sent by email or kept on a USB thumb drive to make a WikiOnAStick. This is revision 2.0.6 of TiddlyWiki, and is published under an OpenSourceLicense.

That is what it runs on. What is TiddlyWiki?

A TiddlyWiki is like a blog because it’s divided up into neat little chunks, but it encourages you to read it by hyperlinking rather than sequentially: if you like, a non-linear blog analogue that binds the individual microcontent items into a cohesive whole. I think that TiddlyWiki represents a novel medium for writing, and will promote its own distinctive WritingStyle.

The first thing to do was (no points for guessing) to break into it. To see whether I could seperate the JavaScript from HTML. I had two good reasons.

  1. I’m using sitecopy for syncing my local and remote hosts – I can’t afford to upload 150+ KB every time. Splitting TiddlyWiki reduced the upload to 30+ KB.
  2. I can now run multiple Wikis from the same JavaScript file – TiddlyWiki farms anyone?

The split threw up some problems. The JS from the host’s ads were interfering with the Wiki’s JS and not allowing it to initiate – “bootstrap” is the word. A hint from the TW mailing list and I fixed that – ads or no ads, TW now works!

With another hack in its main(), I plan to use it as an index file for my USB stick and single-session/to-be-finalized CDs.