www

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

commit 847b44f0ece810a3bc90bd7b31b088edf650f820
parent c29f08b5836696a6c4b81465c0c5291673b7ad36
Author: Matt Burton <mcburton@gmail.com>
Date:   Mon,  1 Jun 2009 01:57:13 +0000

fixing some URL handling in PLoS

Diffstat:
Mtranslators/PLoS Journals.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/translators/PLoS Journals.js b/translators/PLoS Journals.js @@ -70,7 +70,7 @@ function doWeb(doc, url) { translator.setTranslator("32d59d2d-b65a-4da4-b0a3-bdd3cfb979e7"); translator.setString(text); translator.setHandler("itemDone", function(obj, item) { - //item.attachments[0]=({url:pdfURL, title:"PLoS Full Text PDF", mimeType:"application/pdf"}); + item.url = snapshot; item.attachments.push({url:pdfURL, title:"PLoS Full Text PDF", mimeType:"application/pdf"}); item.attachments.push({url:snapshot, title:"PLoS Snapshot", mimeType:"text/html", snapshot:true}); item.DOI = doi;