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: [wpdDOMSaver.saveHTMLDocument] -> TypeError: aCSS.href is null

Any chance of solving this?
  • At least on FF 3.6, if I click on Create New Item from current page it gives me a working snapshot - have you tried that in FF5? If that works, the snapshot should work in general.
  • Please direct questions like this to zotero-dev: http://groups.google.com/group/zotero-dev
  • edited August 7, 2011
    hm, you're right. it works here too.
    **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.
Sign In or Register to comment.