Writing a simple translator

I tried to get started on a translator for BioMed Central today, but found it difficult. Basically I just wanted to run a bit of Javascript to detect the PubMed ID, locate the PDF and then call a Zotero function to fetch all the metadata based on the PMID.

Does anyone have any advice?
  • You'll need scaffold, the IDE for zotero. It's just a firefox mod.
    http://dev.zotero.org/scaffold
    Then check out this page for info on actually making a translator: http://dev.zotero.org/creating_translators_for_sites?s=scaffold
  • please, just for starters, could you explain how i could get the CiteSeer translator to read the year data from a page like http://www.citeulike.org/article/515359 ? btw, is everything going as it should if i get the following in scaffolg when clicking execute?
    13:56:02 ===>Translation using CiteSeer failed:
    thrown exception => No BibTeX found!
    url => http://www.citeulike.org/article/515359
    extensions.zotero.cacheTranslatorData => true
    extensions.zotero.downloadAssociatedFiles => true<===(string)
    thank you very much!!
  • cz, I have yet to write my own translator, but if a page has
    an endnote link you can retrieve the RIS --
    so the link you have can use the RIS retreival to fetch
    http://www.citeulike.org/endnote/article/515359

    if you are trying to fetch the BibTex, it might be that
    you are encountering an BibTex option page, that is asking for information about
    assigning a BibTex key. I don't know how to avoid that page.
Sign In or Register to comment.