Bibliolinks v3

Lately, real life constraints have forced me to consider the possibility of growing an additional pair of arms, Shiva-style; however, some tiny bugs in Bibliolinks, together with my recent discovery of jQuery, have prompted me to release a new version, Bibliolinks v3.

This version features a new, web-two-dot-zeroish load progress indicator, together with a handy link to open all URLs at once, and will exclude all self-links from the list (they weren’t that useful, anyway). You could have a look at my original article for installation details, or just read the documentation (Yes! This time the code is slightly documented!); but as there are subtle changes, I’ll post here a short guide:

  1. Obtain a Google AJAX Search API key.
  2. Edit your template and add this code snippet just before the </head> tag:
    <link href='http://www.google.com/uds/css/gsearch.css' rel='stylesheet' type='text/css'/>
    <link href='http://brucknerite.googlepages.com/bibliolinks.css' rel='stylesheet' type='text/css'/>

    Download this stylesheet here.

  3. Save your template, click on the Expand Widget Templates box and look for some place inside your post footer to drop this code snippet:
    <a class='bibliolink' expr:name='"bibliolink" + data:post.id' style='display:none;cursor:pointer;'/>

    In my template, there is a <div class='post-footer'>, but YMMV.

  4. Finally, add links for two scripts. The best place to do so is just before the closing </body> tag:
    <script src='http://www.google.com/uds/api?file=uds.js&v=1.0&key=YOUR_KEY_HERE' type='text/javascript'/>
    <script src='http://brucknerite.googlepages.com/bibliolinks3.js' type='text/javascript'/>

    Don’t forget to substitute YOUR_KEY_HERE by your very own API key.

And that’s all. Wonder why I skipped v2? Me too. There are stranger version numberings over there, you know.

Publicado por

Iván Rivera

Another instance of Homo sapiens.