Search complete for “zotero”. Results are below.
-
Zotz and the limitations of the Zotero plugin framework
Zotz Developer's Guide – SIMILE has a useful warning to all who work on developing Zotero plugins: Zotz is a Zotero add-on, but it's written as a regular Firefox extension: the nature of firefox extensions all living in the same address space allows extensions to invoke each other internal methods, which means that Zotz can [...]
Filed in Zotero | 15-Jan-09 | no comments -
copying to clipboard Zotero citations as HTML w/ chickenfoot
Here's a first pass at a Chickenfoot script that copies selected Zotero items as HTML to the clipboard. (I couldn't find anything in the Zotero interface to do exactly this function. There is a Create Bibliography from Selected Item(s)->Copy to Clipboard but that seems to copy citations as RTF for me.) var Zotero = chromeWindow.Zotero; [...]
Filed in Chickenfoot, Zotero | 02-Jan-09 | no comments -
I installed the coins-metadata plugin
I just installed coins-metadata plugin for my various WordPress blogs so that Zotero can pick up the embedded OpenURL ContextObject in SPAN (COinS).
Filed in Uncategorized | 18-Dec-08 | no comments -
studying sync.js to (start) to understand how Zotero does synchronization
This morning I was studying how Zotero performs synchronization among libraries distributed in different Firefox profiles via Zotero sync server. Specifically, I printed out /extension/tags/1.5-sync3.5/chrome/content/zotero/xpcom/sync.js to decipher some off its workings. My goal wasn't to understand all the code, which gets pretty complicated, because of the complexities of things like conflict resolution. Rather, my focus [...]
Filed in Uncategorized | 16-Dec-08 | no comments -
Range of creator types in Zotero
One thing that I didn't know about Zotero was the range of creator types in Zotero. Here's a Chickenfoot script that you can run to list them: // to explore the range of creatorTypes // to do: figure out how to get localized string for different creator types var Zotero = chromeWindow.Zotero; var creatorTypes = [...]
Filed in Chickenfoot, Zotero | 16-Dec-08 | no comments -
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 = [...]
Filed in Chickenfoot, Zotero | 16-Dec-08 | no comments -
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 [...]
Filed in Chickenfoot, Zotero | 11-Dec-08 | 3 comments -
Getting primary and secondary item types in Zotero
A Chickenfoot script for calculating the primary and secondary Zotero items (which draws upon the code in overlay.js->onLoad(): // based on https://www.zotero.org/trac/browser/extension/tags/1.0.7/chrome/content/zotero/overlay.js#L153 var Zotero = chromeWindow.Zotero; var itemTypes = Zotero.ItemTypes.getPrimaryTypes(); for(var i = 0; i<itemTypes.length; i++) { output (itemTypes[i]['name'] + ":" + itemTypes[i]['id']); } var itemTypes = Zotero.ItemTypes.getSecondaryTypes(); for(var i = 0; i<itemTypes.length; i++) { output (itemTypes[i]['name'] + ":" + itemTypes[i]['id']); } The output of the script is (for [...]
Filed in Chickenfoot, Zotero | 02-Dec-08 | one comment -
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 [...]
Filed in Chickenfoot, Zotero, screencast | 21-Nov-08 | no comments -
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 [...]
Filed in Chickenfoot, Zotero | 12-Nov-08 | 5 comments