A New Wiley Translator

I found many friends reported their troubles with Wiley Translator, I also met some errors when I tried with it. I could not correctly save multiple results from a issue page or search results page because it just saved the last selected one for several times. So, I tried my best to resolve this problem and got a good result. Here is my new code for Wiley publisher. It can scribe the search results page and an issue page, also PDF will be downloaded when you save an item.

[Code removed — see below.  – D.S.]
  • Thanks for your work on this!

    I added a link to this thread to the existing ticket. https://www.zotero.org/trac/ticket/1243 Once someone from the dev team has a chance to test it we can push it out.
  • santawort, may I have silly question:

    How I can use your corrected translator? Do I need to use Scaffold or maybe there is a way to simply copy and paste your code somewhere?
  • kosa, you'd better to use Scaffold to add the code in Wiley translator.Just copy and paste the code in the two separated windows[detectWeb and doWeb function].
  • Thanks for quick response.

    I just tried scaffold. I am new user so of course the new translator returned an error.

    What I did:
    Open scaffold
    Loaded Wiley InterScience from the database
    Pasted new code into Detect Code and Code tabs
    Changed Translator ID in the Metadata tab to match that one from the "translator.setTranslator("881f60f2-0802-411a-9228-ce5f47b64c7d"); //EndNote/Refer/BibIX" line in the Code tab (was that necessary?)
    Saved to database
    Restarted firefox
    Tested on http://www3.interscience.wiley.com/journal/106559009/abstract

    and get an error (Could not save an item).

    Repeated twice (after reseting all translators).

    I guess I am doing something wrong ;-)
  • Is the indentation required in javascript?
  • An updated Wiley translator is now available. Your copy of Zotero should auto-update within 24 hours, or you can update manually by clicking Update Now in the General pane of the Zotero prefs. The update only fixes the repeated item problem. Some search result pages may still produce an error.

    Note that the translator above isn't quite correct, for rather complicated reasons I explain in a dev list post.
  • kosa, pls dont change Translator ID in the Metadata tab, just copy and paste.

    Dan Stillman, thanks for your expaination. But, the updated Wiley translator also has error, It catchs same PDFs for all items!
    Line 113, id in "var pdfurl " is fixed at last selected items.
    Line 61, "(/abstract\/([\d]+)\//)" changed to "(/\/([\d]+)\/abstract/)" will get istems from wiley journal issue page.
    https://www.zotero.org/trac/browser/extension/trunk/translators/Wiley InterScience.js?rev=3976#L61

    I will fixed the ACS translator based on your wiley one.
  • It catchs same PDFs for all items!
    Oops. Thanks for catching that.

    Both issues should now be fixed, and the updated translator is available. Thanks.
  • Hi,

    Could I ask you for checking that link with both versions of the wiley translator (yours Santawort and the zotero official one):
    http://www3.interscience.wiley.com/journal/116327420/abstract

    Do you have PDF attachment automatically attached to zotero record or it opens in a default pdf viewer instead? This problem has been already reported on the forum.
  • PDF attachment automatically attached to the zotero record.
  • edited January 10, 2009
    Hmm, the level of my frustration unfolds.

    I am still being prompted to open the file instead.

    Moreover, when I grab & drop the "PDF" link to zotero entry (what works for me for many other journals) I get only some empty snapshot with a title "Wiley InterScience :: Journal :: Article PDF" (PDFSTART.html on disk).

    I tested on firefox-linux and firefox-windows. Zotero reinstalled, checked for updates. I've checked that I do have changes in doWeb at least from https://www.zotero.org/trac/changeset/3981 So I think updates worked.

    Maybe it is related to some settings of the browser... I wonder whether others have this problems still.
  • edited January 15, 2009
    "Open with" dialog problem: http://forums.zotero.org/discussion/3593/problem-adding-from-wiley-interscience/#Comment_23299
Sign In or Register to comment.