Skip to content

{ Author Archives }

Accessing attributes of Zotero Items

The following Chickenfoot script demonstrates how to access attributes related to Zotero items. (I’ve run this script on both Zotero 1.0.7 and the latest named release of  Zotero 1.5 Sync Preview (1.5-sync3.5))): // zotero_item_show_pieces.js // code to extract elements of the first selected item // Dec 16, 2008 var Zotero = chromeWindow.Zotero; var ZoteroPane = […]

Tagged ,

Adding all tabs to Zotero Version 2 — scraping translatable sites

In a previous post adding all Firefox tabs to Zotero using Chickenfoot, I showed how to write a Chickenfoot script to loop through all Firefox  tabs and add each of them as an item into Zotero.  A limitation of the script was that it used only ZoteroPane.addItemFromPage for every tab, even if a given tab […]

Fixing the OpenID setup my WordPress blogs

Since I want to make it easier for people to write comments on my weblogs (while not making it too easy for spammers), I added support for OpenID for my blogs by using the WordPress OpenID plugin. Unfortunately, the plug-in stopped working sometime along the way, giving rise to the following error message when users […]

Tagged ,

A screencast to show Chickenfoot scripting of Zotero

Several weeks ago, I wrote (a blog post and a post on the zotero-dev group) on how to use Chickenfoot to script Zotero. I’m starting to experiment with creating little videos that I hope will make my technical posts easier to understand. Here’s one I just made to illustrate what I wrote about in the […]

Tagged , ,

adding all Firefox tabs to Zotero using Chickenfoot

We can now build on what was presented in the previous blog post: Adding items to Zotero with Chickenfoot. The end goal is to loop through all the tabs and add Each of them as items into Zotero. So we need to figure out how to access the tabs. I would do so here by […]

Tagged ,

Python 2.6

I just installed Python 2.6: Python 2.6 Release SourceForge.net: Python for Windows extensions — build 212 I’ve not had a chance to figure out how it’s different from Python 2.5.

Tagged

Adding items to Zotero with Chickenfoot

Here I report a few code fragments that you can try in Chickenfoot to create a Zotero item from the contents in the selected tab of your browser. (For a bit of context for what I’m talking about here, see my previous post Data Unbound » Accessing Zotero via Chickenfoot: a warm up exercise.) There’s […]

Tagged ,

Remembering how to map the key to a function in OpenOffice.org Writer

Yesterday, I installed the new version 3.0 of Open`Office.org. I had configured the old version of open office.org to map Ctrl-Q to insert a timestamp of the current time. (I’m using the key mapping from Ecco Pro.) It took me a little while to figure out how to do this configuration once again. Hence I […]

Tagged ,

Congrats to smARThistory!

Hearty congratulations to my colleagues Beth Harris and Steven Zucker for winning a prestigious international award for their newly redesigned smARThistory! I’m looking forward to studying the new site in detail — and learning a lot about art history while doing so. (I started reading the number of books on art history (including Julian Bell’s […]

Tagged

Listing the URLs of all my current Firefox tabs using Chickenfoot

Here’s some code I figured out for doing so that I believe should work: var tabBrowser = getTabBrowser(chromeWindow); var tabs = tabBrowser.mTabBox._tabs.childNodes; for (var i=0; i <tabs.length; i++) { var browser = tabBrowser.getBrowserForTab(tabs[i]); output(browser.contentWindow.location); } It took me a while to gather the pieces, and I’ll have to explain how I did it — but […]

Tagged