OhioLINK EJC PDF attachment issue

When I try to import an OhioLINK EJC (Electronic Journal Center) article into Zotero, it doesn't grab the PDF attachment.

Here is the link to the OhioLINK EJC article to serve as an example:
http://journals.ohiolink.edu/ejc/article.cgi?issn=07378831&issue=v30i0001&article=12_tagdsetotlrp

If you're not in an OhioLINK institution, here is the HTML source of the link above http://pastebin.com/ARhFzNNH and a screenshot - http://i.imgur.com/zS50HTH.png

The metadata is translated fine (I think it uses COinS) but the PDF doesn't attach. How might this issue be resolved? I would be willing to go into Github and try to fix it myself, but I don't have a clue on getting started. I don't know which Git file I should be looking at.

Thanks!
  • when you hover over the URL bar icon--what does it say? It will start with "Save to Zotero" - the part in parentheses is what's important.
  • yes, so there is not dedicated translator for that page--COinS is a way for the webpage to display metadata in a way that Zotero and other ref managers will recognize, but there's no way to include a PDF--and the only way to write one that works well is for someone to actually have access to OhioLink.
    For someone with even basic javascript experience that's very doable, but without such experience that's going to be too difficult.
    https://www.zotero.org/support/dev/translators/coding
  • The HTML source is quite helpful, though, and we could probably write a translator somewhat semi-blindly, since it should be fairly straightforward. We would need some more info. (OhioLINK seems quite popular, which is why I'm interested)

    If you follow the "Export to Reference Manager" link, does it immediately download a RIS file? (i.e. there's no intermediate window) Can you upload the contents of that file somewhere?

    If you right-click -> Save Link As... on the PDF link and save it to your desktop, does it save the PDF? Or does it save an HTML page? If HTML, can you upload the source of that as well?
  • When I click the Export to Reference Manager, it downloads ris.cgi and the contents of that file are in this pastebin - http://pastebin.com/ADZzcXnz

    Yes, when you right click and download the PDF link, it downloads a PDF directly. When you click the link, it loads a PDF in my browser window (Safari 7's native PDF reader). The URL doesn't change.

    When you right click and want to "Save As..." the PDF link, the filename scheme it seems to use is the first author's Lastname_Firstnam edot pdf. For example, in this EJC article, it prompts me to name the file 'Markey_Karen.pdf'
  • A very simple translator is up. Update your translators via Preferences -> General -> Update Now. Restart your browser. This will only grab articles with PDFs from OhioLINK EJC single article display pages. We can add support for more pages if you provide the URL and HTML source (and more info as needed).

    Thanks!
  • edited September 22, 2014
    Wow thanks so much! I followed your directions, but I'm still seeing "COinS" in the Save to Zotero button, and the PDF doesn't get saved. Should I expect the PDF saving behavior to work once I see a different translator show up?

    NEVERMIND. I tried a different page and it worked perfectly! It was a caching issue. This totally rocks! Thanks again!
Sign In or Register to comment.