Template:ORCID Work: Difference between revisions
Template page
More actions
Mahnsoo.Choi (talk | contribs) Created page with "# [https://doi.org/{{{doi}}} {{{title}}}], ''{{{journal}}}'' ({{{year}}})" |
Mahnsoo.Choi (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
# | {{#get_web_data: | ||
url=https://api.crossref.org/works/{{{doi}}}?mailto=you@example.com | |||
|format=JSON with JSONPath | |||
|data=cr_given=$.message.author[*].given, | |||
cr_family=$.message.author[*].family, | |||
cr_volume=$.message.volume, | |||
cr_pages=$.message.page, | |||
cr_article=$.message.article-number | |||
|cache seconds=2592000 | |||
}} | |||
# {{#display_external_table:template=ORCID Author|data=given=cr_given,family=cr_family|delimiter=, }}, ''{{{journal}}}'' '''{{#external_value:cr_volume}}''', {{#if:{{#external_value:cr_pages}}|{{#external_value:cr_pages}}|{{#external_value:cr_article}}}} ({{{year}}}), "{{{title}}}." [https://doi.org/{{{doi}}} doi:{{{doi}}}] | |||
Revision as of 08:43, 22 October 2026
Error while fetching data from URL https://api.crossref.org/works/{{{doi}}}?mailto=you@example.com: $2.
There was a problem during the HTTP request: 404 Not Found
Error while fetching data from URL https://api.crossref.org/works/{{{doi}}}?mailto=you@example.com:
Could not get URL https://api.crossref.org/works/{{{doi}}}?mailto=you@example.com after 3 tries.
There was a problem during the HTTP request: 404 Not Found
Error while fetching data from URL https://api.crossref.org/works/{{{doi}}}?mailto=you@example.com:
Resource not found..
Could not get URL https://api.crossref.org/works/{{{doi}}}?mailto=you@example.com after 3 tries.
- , {{{journal}}} Error: no local variable "cr_volume" has been set., Error: no local variable "cr_pages" has been set. ({{{year}}}), "{{{title}}}." doi:{{{doi}}}