Wikileaks plugin for Zotero?
I wonder whether anyone would be interested in developing a plugin for Wikileaks.
Whatever we may think of that project, it is indeed providing a mine of information that will be useful (also) to scholars. Some system of automatic download of the cables might help in arranging them in a meaningful way.
Whatever we may think of that project, it is indeed providing a mine of information that will be useful (also) to scholars. Some system of automatic download of the cables might help in arranging them in a meaningful way.
I took the script and modified it slightly so that it also downloads the title of the current cable. Simply modify the line:
title : FW.Xpath('//table[@class="cable"]/tbody/tr[2]/td/a').text().prepend("Wikileaks Cable "),
into this
title : FW.Xpath('//div[@class="pane big"]/h3').text().remove(/^Viewing cable /).prepend("WL Cable "),
However, the title as displayed on http://wikileaks.org/cable/2010/01/10MADRID86.html is cut in half ("AMBASSADOR SOLOMONT'S JANUARY 25 CALL ON").
The folks at http://www.cablegatesearch.net/ did a better job to extract the metadata from the original files. At http://www.cablegatesearch.net/cable.php?id=10MADRID86 the title is extracted in full ("Ambassador Solomont's January 25 Call On Industry/tourism/commerce Minister Sebastian").
When I have more time I'll look into writing a translator for cablegatesearch.net ...
If you do work on a translator for something like cablegatesearch.net, I recommend using the translator framework (http://www.zotero.org/support/dev/translators/framework) and Scaffold (http://www.zotero.org/support/dev/translators/scaffold) to make your life easier.
Does someone by any chance have a wikileaks translator that works with the latest zotero version? I'd be very grateful!
It comes in with Cable: 09BRUSSELS1_a as Title, the URL, and Accessed.
Thanks!
https://wikileaks.org/ = report
https://www.wikileaks.org = web page