Tag Archives: web

Update your Google Analytics Tracking Code

Just in case you missed the announcement from Google Analytics, they have just updated their tracking code snippet. The snippet is a couple of bits of JavaScript that first download the relevant copy of the analytics code (depending whether your site is SSL protected or not – so they don’t see security warnings from their browser) and then registers the visit with Google.

The change is simply to add some error handling to the JavaScript, so that if something goes wrong users will not see a warning method.

The new snippet is shown below, with the additional code in bold:

<script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ?
                     "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost +
                   "google-analytics.com/ga.js'
                   type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript">
    try {
        var pageTracker = _gat._getTracker("UA-50020-1");
        pageTracker._trackPageview();
    } catch(err) {}
</script>

(I’ve just applied the change to the DSpace code repository, ready for the upcoming 1.5.2 release)topodin.com

It’s raining docs – Hallelujah!

I came across a great little tool today: Precipitate (via the Google Mac Blog). It’s a bit of software from Google for Macs which allows the Mac OS X spotlight tool (a tool for indexing and searching files) to index and then open Google Docs. Called ‘Precipitate’ because like rain “it comes from the cloud” where Google stores it docs. So if you are a user of Google docs it performs a useful task.

It made me think a bit though about what else we could usefully make Spotlight search. Our repositories, or our own stuff in our repositories? Would this go a small way towards the issue of getting the repository into the workflow of depositors? Or how about other information silos such as SharePoint? Precipitate is released as open source software, so if I ever get the time(!) I might have play.коэффициент конверсии формула

Pro mashups book with a CC license

I’ve just followed a link to a blog from someones email footer, and found a book published this year: Pro Web 2.0 Mashups: Remixing Data and Web Services (Apress, 2008). The blog is by the author of the book Raymond Yee.

I was attracted to the blog and the book for two reasons:

  1. I love mashups, and when I find the time I like to tinker with my mashup – The Repository Mashup Map. I’m always looking for more ammunition to stuff in my mashups tool box.
  2. My work requires me to work extensively with Open Access Repositories. When I work with academics to examine what could be deposited in a repository we usually end up talking about books, and what can be done with them. Often, and for good and obvious reasons they do not want to archive whole copies of books. However I try to encourage them to look for options such as archiving the metadata along with a copy of the cover of the book, and maybe a sample chapter of two. The metadata can / should of course contain a link to the publishers site and somewhere where it can be purchased. All of this can serve as a good advert for the book and consequentially improve its sales. Raymond has gone to the extreme with this book, and both he and the publisher are to be commended: he has (with the publishers permission) put a copy, licensed by a ‘Creative Commons By-Attribution Non-Commercial Share-Alike license‘ online. Great stuff!

This is a good license to use – it means anyone working on a commercial mashup would have to buy the book, and the book has to be attributed if it has been used. This could be a good move to spread the word about the book.

The book can be downloaded chapter by chapter using the following link (http://blog.mashupguide.net/toc/). The book looks excellent and covers a lot of ground. And best of all, I can dip in and out of it a bit online to see if it suits me, and if so, buy a copy.

тексты для сайта знакомств