Fixing PDF saving for JSTOR translator
This commit is contained in:
parent
24ace7c733
commit
ab6b3b16d9
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
||||||
"priority":100,
|
"priority":100,
|
||||||
"inRepository":"1",
|
"inRepository":"1",
|
||||||
"translatorType":4,
|
"translatorType":4,
|
||||||
"lastUpdated":"2010-08-22 08:01:40"
|
"lastUpdated":"2010-08-22 08:32:02"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ function doWeb(doc, url) {
|
||||||
set.doi = "10.2307/" + jid;
|
set.doi = "10.2307/" + jid;
|
||||||
|
|
||||||
if (/stable\/(\d+)/.test(item.url)) {
|
if (/stable\/(\d+)/.test(item.url)) {
|
||||||
var pdfurl = "http://"+ host + "/stable/pdfplus/" + jid + ".pdf";
|
var pdfurl = "http://"+ host + "/stable/pdfplus/" + jid + ".pdf?acceptTC=true";
|
||||||
item.attachments.push({url:pdfurl, title:"JSTOR Full Text PDF", mimeType:"application/pdf"});
|
item.attachments.push({url:pdfurl, title:"JSTOR Full Text PDF", mimeType:"application/pdf"});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue