Amazon.com Link doesn't show up in Attachments tab
I'm using version 1.0.0b4.r5
If I modify the translator to display the ASIN url in the extra field, it does display the url in the extra field correctly - it just doesn't seem to get appended to the attachments array:
if (xml..ASIN.length()){
var url = "http://www.amazon." + suffix + "/dp/" + Zotero.Utilities.cleanString(xml..ASIN[0].text().toString());
newItem.extra = url;
newItem.attachments.push({title:"Amazon.com Link", snapshot:false, mimeType:"text/html", url:url});
}
If I modify the translator to display the ASIN url in the extra field, it does display the url in the extra field correctly - it just doesn't seem to get appended to the attachments array:
if (xml..ASIN.length()){
var url = "http://www.amazon." + suffix + "/dp/" + Zotero.Utilities.cleanString(xml..ASIN[0].text().toString());
newItem.extra = url;
newItem.attachments.push({title:"Amazon.com Link", snapshot:false, mimeType:"text/html", url:url});
}
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Not sure why the default setting is false.
2) The default is true (which should be non-bold in about:config). Maybe you turned it off in the Zotero prefs under "Automatically take snapshots when creating items from web pages"?
2) i guess, but a typical user won't realize that changing this pref will disable attachment functionality used by some translators