Wiley Interscience Proxy URL issue

There is a hardcoding issue in the Wiley translator that keeps people who access pages via proxy urls from download PDFs.

Down at the bottom of the translator it says:
var pdfurl = 'http://download.interscience.wiley.com/cgi-bin/fulltext?ID=' + id + '&PLACEBO=IE.pdf&mode=pdf';

It should be replaced with something like:

var baseurl = url.match(/https?:\/\/[^/]+\//)[0];
var dlurl = baseurl.replace(/\/(?:www3\.|www\.)/,"\/download\.");
var pdfurl = dlurl + 'cgi-bin/fulltext?ID=' + id + '&PLACEBO=IE.pdf&mode=pdf';

I noted something like this with the ScienceDirect translator a while back (http://forums.zotero.org/discussion/1903/sciencedirect-not-scraping-any-more/#Item_19). Is there a way to maybe add a note to the translator authorship page to suggest people consider base-urls in the future?

I was also going to mention the weird PDF opening thing but it sounds like you have that covered. For the record in my Zotero it still saves the attachment as well as accidentally opening it.

-Keith
  • Also, speaking of Wiley... Somebody else mentioned that Wiley was throwing html commands into the metadata's title field. I noticed it with this article too:

    http://www3.interscience.wiley.com/cgi-bin/abstract/121427652/ABSTRACT

    where the title is: ECOLOGICAL GENOMICS OF MODEL EUKARYOTES<sup>1</sup>

    I know you tend to err toward leaving the supplied metadata as is, but now that Zotero is getting so popular, could you maybe pressure/persuade Wiley Interscience to NOT suck so hard?
Sign In or Register to comment.