{% set entity = release %} {% import "entity_macros.html" as entity_macros %} {% extends "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.doi %} {% endif %} {% if release.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 }} 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.release_status == '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 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 %} {% if release.abstracts != [] %}

Abstract

{{ release.abstracts[0].content }}
In {{ release.abstracts[0].mimetype }} format {% endif %} {% if entity.extra %} {{ entity_macros.extra_metadata(entity.extra) }} {% 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 release.refs != None and release.refs.size != 0 %}

References

This release citing other releases {# see https://github.com/Semantic-Org/Semantic-UI/issues/2639 #}
    {% for ref in release.refs %}
  1. {% if ref.title %} {{ ref.title }} {% if ref.container_name %}{{ ref.container_name }}.{% endif %} {% if ref.year %}{{ ref.year }}{% endif %} {% if ref.locator %}{{ ref.locator }}{% endif %} {% elif ref.extra != None %} {% if ref.extra.get('author') %}{{ ref.extra['author'] }}.{% endif %} {% if ref.extra.get('article-title') %}{{ ref.extra['article-title'] }}.{% endif %} {% if ref.container_name %}{{ ref.container_name }}.{% endif %} {% if ref.year %}{{ ref.year }}.{% endif %} {% if ref.extra.unstructured %}{{ ref.extra.unstructured }}{% endif %} {% else %} unknown {% endif %} {% if ref.target_release_id != None %} (fatcat entry) {% endif %} {% if ref.extra != None and ref.extra.doi %} (DOI: {{ ref.extra.doi }}) {% endif %}
  2. {% endfor %}
{% else %}

No reference list available. {% 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_status or release.release_year %}
{% if release.release_type %} Type  {{ release.release_type }}
{% endif %} {% if release.release_status %} Status   {{ release.release_status or 'unknown' }}
{% endif %} {% if release.release_date %} Date   {{ release.release_date }}
{% elif release.release_year %} Year   {{ release.release_year }}
{% endif %}
{% endif %} {% if release.doi or release.pmid or release.pmcid or release.wikidata_qid %}
{% if release.doi %} DOI  {{ release.doi }}
{% endif %} {% if release.pmid != None %} PubMed  {{ release.pmid }}
{% endif %} {% if release.pmcid != None %} PMC  {{ release.pmcid }}
{% endif %} {% if release.wikidata_qid != None %} Wikidata  {{ release.wikidata_qid }}
{% endif %} {% if release.isbn13 != None %} ISBN-13  {{ release.isbn13 }} {% 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
Lookup Links
{% if container != None and container.issnl != None %} SHERPA/RoMEO (journal policies)
{% endif %} {% if container != None and container.doi != None %} oaDOI/unpaywall
{% endif %} {% if release.isbn13 != None %} Open Library
Worldcat
{% else %} Worldcat
{% endif %} {% if release.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 %}