Discussion:
CrossRef and Authors
Michael Banck
2008-02-15 16:22:11 UTC
Permalink
Hi,

One thing I noticed about Referencer is that if it retrieves metadata
from CrossRef, it never gets an author, the field is left blank and
consequently the overview in the Icon View is less helpful.

This seems to be because Referencer expects the <author> tag, while all
the CrossRef lookups I did with the PDFs/DOIs I had around returned
<contributors>. Now, just changing this in CrossRefPlugin.C wouldn't
work as the full output is

<contributors>
<contributor first-author="true">
<given_name>Gl?nisson</given_name>
<surname>de Oliveira</surname>
</contributor>
</contributors>

(As John remarked elsewhere CrossRef only seems to send the First
Author)

Am I just unlucky with my papers, and everybody else is getting CrossRef
results with <author>, or did they change their output some time ago?

I might try to get this working at some point, but maybe it is much
easier for somebody else (John?) to get this implemented?

As a side note, the .xsd for CrossRef is available from
http://www.crossref.org/qrschema/crossref_query_output2.0.xsd, wouldn't
it be possible to use one of the XML-munging libraries to just transform
that to the Referencer XML? (As you can probably see, I am pretty
ignorant when it comes to XML...)


Michael
John Spray
2008-02-23 09:55:44 UTC
Permalink
Post by Michael Banck
<contributors>
<contributor first-author="true">
<given_name>Gl?nisson</given_name>
<surname>de Oliveira</surname>
</contributor>
</contributors>
Huh. It didn't used to do that. I've added code to svn to interpret
these fields. The crossref code is rather old and crusty at this point;
I would spend 5 minutes rewriting it in python if it weren't for it
needed to store the username/password.
Post by Michael Banck
(As John remarked elsewhere CrossRef only seems to send the First
Author)
By the way, those of you with university affiliations might consider
mentioning to crossref (via your library?) how annoying this is.
Specifically it's the OpenURL interface.
Post by Michael Banck
I might try to get this working at some point, but maybe it is much
easier for somebody else (John?) to get this implemented?
As a side note, the .xsd for CrossRef is available from
http://www.crossref.org/qrschema/crossref_query_output2.0.xsd, wouldn't
it be possible to use one of the XML-munging libraries to just transform
that to the Referencer XML? (As you can probably see, I am pretty
ignorant when it comes to XML...)
Be my guest.

Cheers,
John

Loading...