trouble with inter-research translator

I can not seem to get items translated from Inter-Research journals (Marine Ecology Progress Series, Aquatic Microbial Ecology). Is this a common problem? My error report ID is: 887624113

Thanks.
  • edited May 10, 2009
    please also post sample URL as well as Zotero version
  • sorry...

    http://www.int-res.com/abstracts/meps/v382/p1-21/

    version 1.0.10
  • doesn't work in 1.5b either.
  • does not work in 2.0.3b either
  • edited May 17, 2009
    Changing the line

    item.date = doc.evaluate('//div[@class="abs-footer"]', doc, null, XPathResult.ANY_TYPE, null).iterateNext().textContent.match(/date:\s+(.*)]P/)[1];

    into

    item.date = doc.evaluate('//div[@class="abs-footer"]', doc, null, XPathResult.ANY_TYPE, null).iterateNext().textContent.match(/date:\s+(.*)/)[1];

    fixes the problem on that page. Other problems popped up on other pages though, e.g. http://www.int-res.com/abstracts/esep/v8/n2/p109-119/
    gives a different error.
  • Hi,

    I posted the same problem on another forum post here:

    http://forums.zotero.org/discussion/9838/inter-research-import-fails/#Item_3

    I modified the translator to fix all the problems I found. The modified translator can be downloaded here:

    http://www.ur097.ird.fr/team/dkaplan/personal/inter-research-science-center.js

    Note that I changed the file name to make the link simpler.

    I would like to get these changes back into zotero, but so far no one has taken the bait.
  • I would like to get these changes back into zotero, but so far no one has taken the bait.
    Since translators require code review before they are pushed to Zotero clients, you should join the zotero-dev group and post your updated code there. The Zotero core team will review it and add it to the repository.
Sign In or Register to comment.