首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >从DOI获取元数据

从DOI获取元数据
EN

Stack Overflow用户
提问于 2012-05-08 21:47:37
回答 4查看 10.1K关注 0票数 42

数字对象标识符是一个全局唯一的字符串,用于标识电子文档(例如,学术文章的PDF格式)。它实质上提供了一种创建文档(例如,http://dx.doi.org/10.1145/146585.146609)的permalink的方法。

是否有web服务(或任何其他系统)从给定的DOI获取文档的元数据(最好是BibTeX形式)?

编辑以添加一些说明性信息。

EN

回答 4

Stack Overflow用户

发布于 2016-10-28 18:22:42

DOI手册文档的第5.4.1节内容谈判声明:“DOI注册机构正在为其DOI名称实施内容协商,特别是为用户提供增值元数据表示。”根据第4节支持的内容类型 http://crosscite.org的DOI内容协商文档,“目前有三个DOI注册机构为DOIs实现了内容重组: CrossRef、DataCite和mEDRA。”支持的格式列表(取决于注册代理)包括BibTeX通过Accept: application/x-bibtex (这是http://doi2bib.org使用的方法)和通过Accept: text/bibliography格式化的书目条目(这是上面的@anumi建议的方法 )。使用后一个标头时,必须指定style=bibtex媒体类型参数。

这两种相关的mimetype所提供的表示略有不同。对带有GET http://dx.doi.org/10.1038/nrd842Accept: application/x-bibtex的请求将产生响应

代码语言:javascript
复制
@article{Atkins_2002,
    doi = {10.1038/nrd842},
    url = {http://dx.doi.org/10.1038/nrd842},
    year = 2002,
    month = {jul},
    publisher = {Springer Nature},
    volume = {1},
    number = {7},
    pages = {491--492},
    author = {Joshua H. Atkins and Leland J. Gershell},
    title = {From the analyst{\textquotesingle}s couch: Selective anticancer drugs},
    journal = {Nature Reviews Drug Discovery}
}

以及使用Accept: text/bibliography; style=bibtex

代码语言:javascript
复制
@article{Atkins_2002, title={From the analyst’s couch: Selective anticancer drugs}, volume={1}, ISSN={1474-1784}, url={http://dx.doi.org/10.1038/nrd842}, DOI={10.1038/nrd842}, number={7}, journal={Nature Reviews Drug Discovery}, publisher={Springer Nature}, author={Atkins, Joshua H. and Gershell, Leland J.}, year={2002}, month={Jul}, pages={491–492}}
票数 26
EN

Stack Overflow用户

发布于 2015-12-10 13:11:46

curl -LH "Accept: text/bibliography; style=bibtex" http://dx.doi.org/10.1038/nrd842

票数 16
EN

Stack Overflow用户

发布于 2016-10-28 06:51:52

看看这些家伙是如何实现它的: www.doi2bib.org。

我在我的一个项目中所做的:

  • 查看了他们的url请求结构:http://www.doi2bib.org/doi2bib + ?id= + {your doi here}
  • 然后用他们的..。好的,API来获取数据(例如http://www.doi2bib.org/doi2bib?id=10.1016%2Fj.actpsy.2016.09.007),响应是:
    • @article{Leinen_2016, doi = {10.1016/j.actpsy.2016.09.007}, url = {http://dx.doi.org/10.1016/j.actpsy.2016.09.007}, year = 2016, month = {nov}, publisher = {Elsevier {BV}}, volume = {171}, pages = {36--46}, author = {Peter Leinen and Stefan Panzer and Charles H. Shea}, title = {Hemispheric asymmetries of a motor memory in a recognition test after learning a movement sequence}, journal = {Acta Psychologica} }

  • 然后你可以用你想要的方式来解析它。

这帮我得到了我需要的东西。但是,最好的方法是查看它们的GitHub存储库,并尝试构建自己的存储库。

希望能帮上忙!

票数 6
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10507049

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档