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.setTranslator("881f60f2-0802-411a-9228-ce5f47b64c7d"); //EndNote/Refer/BibIX
|
||||||
translator.setString(text);
|
translator.setString(text);
|
||||||
translator.setHandler("itemDone", function(obj, item) {
|
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.attachments.push({url:pdfurl, title:"Wiley Interscience PDF", mimeType:"application/pdf"});
|
||||||
item.DOI = item.url.match(/\.org\/(.*)$/)[1];
|
item.DOI = item.url.match(/\.org\/(.*)$/)[1];
|
||||||
item.complete();
|
item.complete();
|
||||||
|
|
Loading…
Reference in a new issue