{% set entity = release %} {% set entity_view = "overview" %} {% import "entity_macros.html" as entity_macros %} {% extends "entity_base.html" %} {# HTML metadata embeddings #} {% if release and release.status == "active" %} {% block extra_head %} {% if release.abstracts %} {% endif %} {% for author in authors %} {% endfor %} {% if release.release_date or release.release_year %} {% endif %} {% if release.language %} {% endif %} {% if release.container and release.container.issnl %}{# only want actual journals/conferences #} {% if release.container.issnl %} {% endif %} {% elif release.publisher %} {% endif %} {% if release.volume %} {% endif %} {% if release.issue %} {% endif %} {% if release.pages %} {% endif %} {% if release.ext_ids.doi %} {% endif %} {% if release.ext_ids.isbn13 %} {% endif %} {% for file in (entity.files or [])[:10] %}{% for url in (file.urls or [])[:10] %} {% if '//web.archive.org/web/' in url.url %} {% endif %} {% endfor %}{% endfor %} {% endblock %} {% endif %} {% block main_extra_attr %}itemscope itemtype="http://schema.org/ScholarlyArticle" itemid="#release"{% endblock %} {% block fullbody %}

{{ release.title }} {% if release.subtitle %}
{{ release.subtitle }} {% endif %} release {{ release.ident }}

{% if authors != [] %} by {% endif %} {% for contrib in authors[:12] %} {% if contrib.creator_id %} {{ contrib.raw_name }}{% if not loop.last %}, {% endif %} {% else %} {% if contrib.raw_name != None %}{{ contrib.raw_name }}{% else %}Unknown{% endif %}{% if not loop.last %}, {% endif %} {% endif %} {% endfor %} {% if authors|count > 12 %} (+{{ authors|length - 12 }} others) {% endif %}

{% if release.abstracts != [] %}

Abstract

{{ release.abstracts[0].content }}
In {{ release.abstracts[0].mimetype }} format {% endif %}

{% if release.release_stage == 'published' %} Published in {{ container.name }} {% else %} Released as a {{ release.release_type }} {% if container %} in {{ container.name }} {% endif %} {% endif %} {% if release.publisher %} by {{ release.publisher }} {% endif %}
{% if release.number != None %}
Number {{ release.number }} {% endif %} {% if release.version != None %}
Version {{ release.version }} {% endif %} {% if container != None and container.issnl != None %}
ISSN-L {{ container.issnl }} {% endif %} {% if release.volume != None %}
Volume {{ release.volume }} {% endif %} {% if release.issue != None %}
Issue {{ release.issue }} {% endif %} {% if release.pages != None %}
Page(s) {{ release.pages }} {% endif %} {% if release.release_date != None %}
Release Date {{ release.release_date }} {% elif release.release_year != None %}
Release Year {{ release.release_year }} {% endif %} {% if container != None and container.container_type != None %}
Container Type {{ container.container_type }} {% endif %} {% if release.publisher != None %}
Publisher {{ release.publisher }} {% endif %} {% if release.language != None %}
Primary Language {{ release.language }} (lookup) {% endif %}
{% if release.contribs|length > 0 %}
All Contributors ({{ release.contribs|length }})
{% for contrib in release.contribs %}
{% if contrib.index or contrib.index == 0 %} {{ contrib.index + 1 }}{% endif %}
{{ contrib.role or 'unknown' }} {% endfor %}
{% else %}

No known contributors (authors, translators, etc). {% endif %}

Known Files and URLs

{% if entity.files != [] %} {% for file in entity.files %}
{% if file.mimetype != None %}{{ file.mimetype }}  {% endif %} {% if file.size != None %}{{ file.size|filesizeformat }}{% endif %}
{% if file.sha1 != None %}sha1:{{ file.sha1[:20] + "..." }} {% elif file.sha256!= None %}sha256:{{ file.md5[:20] + "..." }} {% elif file.md5 != None %}md5:{{ file.md5[:20] + "..." }} {% endif %}
{% for url in file.urls[:5] %} {{ url.url.split('/')[2] }} ({{ url.rel }})
{% endfor %} {% if file.urls|length > 5 %} + {{ file.urls|length - 5 }} more URLs {% endif %} {% endfor %}
{% else %}

There are no known files associated with this release (you could try other releases for this work?). {% endif %} {% if entity.filesets != [] %}

File Sets

{% for fileset in entity.filesets %}
{{ fileset.manifest|count }} files  {{ fileset.total_size|filesizeformat }}
fileset:{{ fileset.ident }}
{% for url in fileset.urls[:5] %} {% if url.rel == "dweb" %} {{ url.url }} ({{ url.rel }})
{% else %} {{ url.url.split('/')[2] }} ({{ url.rel }})
{% endif %} {% endfor %} {% if fileset.urls|length > 5 %} + {{ file.urls|length - 5 }} more URLs {% endif %} {% endfor %}
{% endif %} {% if entity.webcaptures != [] %}

Web Captures

{% for webcapture in entity.webcaptures %}
{{ webcapture.original_url }}
{{ webcapture.timestamp.strftime("%Y-%m-%d %H:%M:%S") }} | {{ webcapture.cdx|count }} resources
webcapture:{{ webcapture.ident }}
{% for url in webcapture.archive_urls[:5] %} {{ url.url.split('/')[2] }} ({{ url.rel }})
{% endfor %} {% if webcapture.urls|length > 5 %} + {{ file.urls|length - 5 }} more URLs {% endif %} {% endfor %}
{% endif %}
{% if entity.files != [] and entity.files[0].urls != [] %} Download Full Text {% elif entity.webcaptures != [] and entity.webcaptures[0].archive_urls != [] and entity.webcaptures[0].archive_urls[0].rel == "wayback" %} View Web Archive {% else %} No Full Text Available {% endif %} {% if release.release_type or release.release_stage or release.release_year %}
Type  {{ release.release_type or 'unknown' }}
Stage   {{ release.release_stage or 'unknown' }}
{% if release.release_date %} Date   {{ release.release_date }}
{% elif release.release_year %} Year   {{ release.release_year }}
{% endif %} {% if release.version %} Version   {{ release.version }}
{% endif %}
{% endif %} {% if release.number or release.ext_ids.doi or release.ext_ids.pmid or release.ext_ids.pmcid or release.ext_ids.wikidata_qid or release.ext_ids.isbn13 or release.ext_ids.arxiv or release.ext_ids.jstor or release.ext_ids.ark %}
{% if release.number %} Number  {{ release.number }}
{% endif %} {% if release.ext_ids.doi %} DOI  {{ release.ext_ids.doi }}
{% endif %} {% if release.ext_ids.isbn13 != None %} ISBN-13  {{ release.ext_ids.isbn13 }}
{% endif %} {% if release.ext_ids.pmid != None %} PubMed  {{ release.ext_ids.pmid }}
{% endif %} {% if release.ext_ids.pmcid != None %} PMC  {{ release.ext_ids.pmcid }}
{% endif %} {% if release.ext_ids.wikidata_qid != None %} Wikidata  {{ release.ext_ids.wikidata_qid }}
{% endif %} {% if release.ext_ids.arxiv != None %} arXiv  {{ release.ext_ids.arxiv }}
{% endif %} {% if release.ext_ids.jstor != None %} JSTOR  {{ release.ext_ids.jstor }}
{% endif %} {% if release.ext_ids.ark != None %} ARK  {{ release.ext_ids.ark }}
{% endif %}
{% endif %} {% if release.extra.is_oa == True %}
Open Access
{% elif release.extra.is_oa == False %} Not Open Access
{% endif %} {% if container != None and container.es %}
Container Metadata
{% if container.es.is_oa == True %} Open Access Publication
{% elif container.es.is_oa == False %} Not Open Access
{% else %} Unknown OA Status
{% endif %} {% if (container.es != None) %} {% if container.es.in_doaj == True %} In DOAJ
{% elif container.es.in_doaj == False %} Not in DOAJ
{% endif %} {% if container.es.in_road == True %} In ISSN ROAD
{% elif container.es.in_road == False %} Not in ISSN ROAD
{% endif %} {% if container.es.in_kbart == True %} In Keepers Registery
{% elif container.es.in_kbart == False %} Not in Keepers Registry
{% endif %} {% endif %} {% if container.issnl != None %} ISSN-L:  {{ container.issnl }}
{% endif %} Fatcat Entry
{% endif %}
Work Entity
grouping other versions (eg, pre-print) and variants of this release
{# this restriction, for CSL-JSON generation, rules out almost everything #} {% if release.contribs and release.contribs[0].creator_id %}
Cite This Release
{% endif %}
Lookup Links
{% if container != None and container.issnl != None %} SHERPA/RoMEO (journal policies)
{% endif %} {% if release != None and release.ext_ids.doi != None %} oaDOI/unpaywall
{% endif %} {% if release.ext_ids.isbn13 != None %} Open Library
Worldcat
{% else %} Worldcat
{% endif %} {% if release.ext_ids.doi %} Crossref Metadata (via API)
{% endif %} wikidata.org
CORE.ac.uk
Semantic Scholar (CS, neuro)
Google Scholar
{{ entity_macros.fatcat_bits(entity, "release", "container,files,filesets,webcaptures") }}
{% endblock %} {% block postscript %} {% endblock %}