Library Catalog Field
I have been working on adding Zotero support to my website using by using un-API to serve up MODS xml. Everything is working perfectly, except that anything imported into Zotero from my site fills in the Library Catalog field as "unAPI".
I would like to change this to something more along the lines of "library.case.edu" or something like that that makes more sense to the user. Is there a way to change that field for the items on my site without writing my own translator?
I would like to change this to something more along the lines of "library.case.edu" or something like that that makes more sense to the user. Is there a way to change that field for the items on my site without writing my own translator?
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
There is the specific example. I combed through the source, and i didn't see what makes it work, but I'm new to this whole unAPI/zotero stuff.
It seems to me that the unAPI code could be modified to allow it to save the source server as the repository-- I've just made such a change to unAPI.js, but I don't have an unAPI site to try it on, and you didn't post a URL for your site.
Download it from here, and put it in the
translators
directory of your Zotero data directory. It should replace the not-very-useful "unAPI" with the domain of the source page.Let me know if it works for you. If it does, I'll submit this as a proper patch.
http://github.com/ajlyon/zotero-bits/blob/master/unAPI.js
http://library.case.edu/digitalcase/BrowseObjects.aspx?PID=ksl:caseetd
or many other pages in the digitalcase section of our site.
Now if only the zotero didn't ignore the mods language field everything would be perfect.
I'll submit the updated unAPI.js to the dev list for review.