LibreCat / Catmandu-CrossRef

Catmandu modules for working with data from crossref.org
Other
0 stars 1 forks source link

Use RDF or BibTeX if no user/password provided #2

Open nichtich opened 10 years ago

nichtich commented 10 years ago

This works without account, but the data may be less complete:

curl -H accept:application/x-bibtex http://data.crossref.org/10.1371/journal.pone.0010676
curl -H accept:application/rdf+xml http://data.crossref.org/10.1371/journal.pone.0010676
catmandu convert RDF --url http://dx.doi.org/10.1371/journal.pone.0010676

Catmandu::Importer::CrossRef might also support BibTeX or RDF import if selected and if the corresponding modules are installed.

vpeil commented 9 years ago

I think this one looks very complete

curl -LH "Accept: application/vnd.crossref.unixref+xml" http://dx.doi.org/10.1126/science.169.3946.635

A complete documenation can be found here: http://crosscite.org/cn/

There are 3 different endpoints, depending where the DOI was registered:

How should we handle this? Loop through all of them until you find a record? Or to provide a base url in the options? Maybe should start on a separate branch and test it.