November 14th, 2007
I stumbled upon a simple method for opening a Finder window at your current Terminal session location recently. Since it is something that I have a regular need for, I thought that there might be other Mac users out there who might also find this useful from time to time.
Read the rest of this entry »
July 5th, 2007
&[Osmosoft]:http://www.osmosoft.com
Since we recently redeveloped the [Osmosoft][] web site, we figured that we had better have some decent analytics on the site to monitor the activity. Google Analytics is perfectly good enough for our needs, and so I set about implementing it.
After signing up for a free Google Analytics account, it is a simple task to start tracking the hits on your site. You just need to add the javascript code that google generates for you onto into your code. The best way to do this in TiddlyWiki, is to modify the MarkupPostHead tiddler. This tiddler exists precisely for this kind of task. It inserts code into the end of the Head of your TiddlyWiki page.
The code you insert here looks something like this:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script;
<script type="text/javascript">
_uacct = "UA-123456789";
urchinTracker();
;/script>
With this code in place, Google will start collecting information about the traffic to your site and present it to you via your Google Analytics account. But there is a problem, and that is that you really want to know what content your visitors are looking at within your site. You want their navigation in your site to be recorded too. On a traditional site, that’s no problem. Each page just has this same bit of javascript included and Google can register hits on each page. In TiddlyWiki however, everything happens within a single page so this kind of mechanism won’t quite do the job.
Thankfully both Google Analytics and TiddlyWiki are flexible enough for us to find a pretty simple solution.
Read the rest of this entry »