{% set release = entity %} {% 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 release._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 entity_main %}
{% if release.abstracts != [] %}

Abstract

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

{% if release.release_stage == 'published' %} Published in {{ release.container.name }} {% else %} Released as a {{ release.release_type }} {% if release.container %} in {{ release.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 release.container != None and release.container.issnl != None %}
ISSN-L {{ release.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 release.container != None and release.container.container_type != None %}
Container Type {{ release.container.container_type }} {% endif %} {% if release.publisher != None %}
Publisher {{ release.publisher }} {% endif %} {% if release.language != None %}
Primary Language {{ release.language }} (lookup) {% endif %}
{% if entity.state == 'active' %}

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 %} {% endif %} {% if entity.state == 'active' %} {% 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 %} {% endif %} {% if entity.state == 'active' %} {% 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 %} {% endif %}
{% if entity.state == 'active' and entity.files != [] and entity.files[0].urls != [] %} Download Full Text {% elif entity.state == 'active' and entity.webcaptures != [] and entity.webcaptures[0].archive_urls != [] and entity.webcaptures[0].archive_urls[0].rel == "wayback" %} View Web Archive {% elif entity.state == 'active' %} 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.withdrawn_status %} [{{ release.withdrawn_status }}] {% endif %}
{% if release.release_date %} Date   {{ release.release_date }}
{% elif release.release_year %} Year   {{ release.release_year }}
{% endif %} {% if release.withdrawn_date %} Withdrawn   {{ release.withdrawn_date }}
{% 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 release.container != None and release.container._es %}
Container Metadata
{% if release.container._es.is_oa == True %} Open Access Publication
{% elif release.container._es.is_oa == False %} Not Open Access
{% else %} Unknown OA Status
{% endif %} {% if (release.container._es != None) %} {% if release.container._es.in_doaj == True %} In DOAJ
{% elif release.container._es.in_doaj == False %} Not in DOAJ
{% endif %} {% if release.container._es.in_road == True %} In ISSN ROAD
{% elif release.container._es.in_road == False %} Not in ISSN ROAD
{% endif %} {% if release.container._es.in_kbart == True %} In Keepers Registery
{% elif release.container._es.in_kbart == False %} Not in Keepers Registry
{% endif %} {% endif %} {% if release.container.issnl != None %} ISSN-L:  {{ release.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 release.container != None and release.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", editgroup) }}
{% endblock %} {% block postscript %} {% endblock %}