www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a499edbf25e4fc3291e5dddcce58dbfc6d6589b4
parent fe02104c9a30f2bd219bbca54dc550b3139df9f7
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 20 Oct 2008 17:56:31 +0000

Pushed IEEE Xplore


Diffstat:
Mtranslators/IEEE Xplore.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/translators/IEEE Xplore.js b/translators/IEEE Xplore.js @@ -8,7 +8,7 @@ "maxVersion":"", "priority":100, "inRepository":true, - "lastUpdated":"2008-05-08 20:30:00" + "lastUpdated":"2008-10-20 17:35:00" } function detectWeb(doc, url) { @@ -115,6 +115,7 @@ function doWeb(doc, url) { var pdfpath = '//td[2][@class="bodyCopyBlackLarge"]/a[@class="bodyCopy"][substring(text(), 1, 3) = "PDF"]'; var pdfurlElmt = newDoc.evaluate(pdfpath, newDoc, namespace, XPathResult.ANY_TYPE, null).iterateNext(); if (pdfurlElmt) { + pdfurlElmt.href = pdfurlElmt.href.substr(0,32) + 'PDF/getPDF' + pdfurlElmt.href.substr(38); item.attachments = [{url:pdfurlElmt.href, title:"IEEE Xplore Full Text PDF", mimeType:"application/pdf"}]; } item.complete();