mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
fixed the hardcoded pdf url, from schwarzjr in the forums.
This commit is contained in:
parent
f38f5e9c7c
commit
a22fb4e3d2
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ function doWeb(doc, url){
|
|||
translator.setTranslator("881f60f2-0802-411a-9228-ce5f47b64c7d"); //EndNote/Refer/BibIX
|
||||
translator.setString(text);
|
||||
translator.setHandler("itemDone", function(obj, item) {
|
||||
var pdfurl = 'http://download.interscience.wiley.com/cgi-bin/fulltext?ID=' + id + '&PLACEBO=IE.pdf&mode=pdf';
|
||||
var pdfurl = host + "cgi-bin/fulltext?ID=" + id + "&PLACEBO=IE.pdf&mode=pdf";
|
||||
item.attachments.push({url:pdfurl, title:"Wiley Interscience PDF", mimeType:"application/pdf"});
|
||||
item.DOI = item.url.match(/\.org\/(.*)$/)[1];
|
||||
item.complete();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue