attachments not saved on cablegatesearch.net
Hi.
I started tinkering with Zotero translators and adapted an existing one for wikileaks cables (https://gist.github.com/1048146 ) for cablegatesearch.net which duplicates WL's database and has some fance stats and stuff.
Now when I want to save an item from that page by clicking on the adress bar, it correctly downloads a reference into Zotero but no snapshot is being created. (example webpage: http://www.cablegatesearch.net/cable.php?id=10MADRID86 )
I then tried with the Webpagedump FF extension (after patching its maxversion-tag to work with FF 5) and directed it to the page but it only spat out the following error:
Any chance of solving this?
I started tinkering with Zotero translators and adapted an existing one for wikileaks cables (https://gist.github.com/1048146 ) for cablegatesearch.net which duplicates WL's database and has some fance stats and stuff.
Now when I want to save an item from that page by clicking on the adress bar, it correctly downloads a reference into Zotero but no snapshot is being created. (example webpage: http://www.cablegatesearch.net/cable.php?id=10MADRID86 )
I then tried with the Webpagedump FF extension (after patching its maxversion-tag to work with FF 5) and directed it to the page but it only spat out the following error:
[wpdDOMSaver.saveHTMLDocument] -> TypeError: aCSS.href is null
Any chance of solving this?
**embarrassed for not having tried that**
the attachments code in my translator .js-file is identical to the one in the original WL translator (https://gist.github.com/1048146)
attachments : [{
url : FW.Url(),
title : "Wikileaks cable snapshot",
type : "text/html" }],
should i rather post this to the dev-list on google groups with the complete code?
EDIT: Ok. will do.