1 ;;; sci-id.el --- org-mode links for scientific IDs -*- lexical-binding: t; -*-
3 ;; Copyright (C) 2015 John Kitchin
5 ;; Author: John Kitchin <jkitchin@andrew.cmu.edu>
8 ;; This program is free software; you can redistribute it and/or modify
9 ;; it under the terms of the GNU General Public License as published by
10 ;; the Free Software Foundation, either version 3 of the License, or
11 ;; (at your option) any later version.
13 ;; This program is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;; GNU General Public License for more details.
18 ;; You should have received a copy of the GNU General Public License
19 ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
23 ;; New org-mode links for scientific IDs like orcid (http://orcid.org) and researcherid (http://www.researcherid.com)
24 ;; orcid:0000-0003-2625-9232
25 ;; researcherid:A-2363-2010
33 (format "http://orcid.org/%s" link-string)))
34 (lambda (keyword desc format)
37 (format "<a href=\"http://orcid.org/%s\">orcid:%s</a>" keyword keyword)))))
44 (format "http://www.researcherid.com/rid/%s" link-string)))
45 (lambda (keyword desc format)
48 (format "<a href=\"http://www.researcherid.com/rid/%s\">ResearcherID:%s</a>"
57 "http://www.scopus.com/authid/detail.url?origin=AuthorProfile&authorId=%s"
59 (lambda (keyword desc format)
62 (format "\\href{http://www.scopus.com/authid/detail.url\\?origin=AuthorProfile&authorId=%s}{%s}" keyword desc))
64 (format "<a href=\"http://www.scopus.com/authid/detail.url?origin=AuthorProfile&authorId=%s\">scopusid:%s</a>" keyword keyword)))))
67 ;;; sci-id.el ends here