COinS WordPress plugin update « Quædam cuiusdam
COinS WordPress plugin update
Tuesday 9 August 2005 @ 6:20 am

Here‘s an update of the COinS WordPress plugin. It fixes a couple of errors in the previous version (content of the class attribute as pointed out by Eric and Alf, and encoding of the ampersands in the context object), and renames some of its internals to incorporate COinS terminology. Note: the file has a new name, COinS_button.php instead of openurl_button.php. If you’ve installed the earlier version, you should delete it when you install the new version; otherwise you’ll get both the old and the new buttons.

And here’s a sample COinS created by the plugin (again, you won’t see it unless you have an activating agent): []

The available fields are still the bare minimum to create a usable link for a journal article. It would be easy to keep adding fields: each one would take two lines of copy-and-pasted code. Just add the field to the form, and add a call to addField() in the show() function. If someone writes a nifty all-purpose AJAX-based OpenURL editor, it would be possible to plug it in here; it wouldn’t be that big a job. It would also be useful to be able to paste in, say, a MODS record (or the uri of one) and have it automatically generate the context object. Some validation would be nice. But I’ll have to get the rest of my bibliographic house in order before I’ll start tinkering with integration.

Warning: Creating default object from empty value in /home/wandb/ on line 1056

 12 responses to “COinS WordPress plugin update”

  •   Rene Visco wrote:


    I activated the plugin and failed to see quicktag button of COinS. I’m using WP 2.3.1.

  •   Maks wrote:

    Good article. Thanks for it. It`s really good idea.

  •   Tim wrote:

    I find it much easier to create a bibliography using Zotero in HTML form, copy the relevant HTML (and span tags) from this new html file… and then drop it in the HTML editor of wordpress. I do not have to retype a thing!
    It would be nice if zotero would do this when I drag the references into the HTML post editor. That would save a few steps.

  •   April wrote:

    This looks like a cool plugin, but when I try to download it, I get this unfriendly message:
    “Not Found

    The requested URL /quaedam/images/ was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”

    Any help??? Thanks in advance.

  •   Phil Gons wrote:

    I’d really like to try this out. Where can I get it? Your link here and from the Zotero site is generating a 404.

  •   Phil Gons wrote:

    Working for me now. Thanks for fixing it (assuming you did and the problem wasn’t on my end)!

  •   Rob Boss wrote:

    Installed the plugin, but no button shows up in the editor. Using WordPress 2.7.1. Any suggestions?

  •   Rebecca wrote:

    I just installed the plug-in, but like the last commenter, I also don’t see the button in the editor. Any known issues with WP 2.84?

  •   Beate wrote:

    I can see, it’s working on your blog. But I also don’t see the button in the editor (2.84). I’d really love to see this plugin work.

  •   Avram Lyon wrote:

    As a Zotero person just starting to use WordPress regularly, thanks for making this plugin. I just built a new feature into the Zotfile plugin to let Zotero copy OpenURL ContextObjects to the clipboard and changed your code to allow the fields to be overridden by such a string. It works well, except that the OpenURL data model is much more limited than the Zotero one… But that’s not within the scope of this project. My changes and code are on github. I’ll let you know if I make any more significant progress on this front.

  •   Joshua wrote:

    The correct link that should be placed under the word “here” for downloading the plugin is “”

  •   Peter Binkley wrote:

    Thanks, Joshua, I’ve updated the link. I’ve been rejigging the url structure lately and that’s thrown off some of the links.

Leave a comment