aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/elasticsearch/release_schema.json3
-rw-r--r--proposals/2020_elasticsearch_schemas.md2
-rw-r--r--python/fatcat_tools/transforms/elasticsearch.py4
-rw-r--r--python/fatcat_web/templates/about.html19
-rw-r--r--python/fatcat_web/templates/base.html4
-rw-r--r--python_openapi_client/fatcat_openapi_client/__version__.py2
-rw-r--r--rust/Cargo.lock2
7 files changed, 21 insertions, 15 deletions
diff --git a/extra/elasticsearch/release_schema.json b/extra/elasticsearch/release_schema.json
index 666a672f..e1f7a79a 100644
--- a/extra/elasticsearch/release_schema.json
+++ b/extra/elasticsearch/release_schema.json
@@ -72,6 +72,8 @@
"ark_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
"mag_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
"s2_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
+ "dblp_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
+ "doaj_id": { "type": "keyword", "normalizer": "default", "doc_values": false },
"license": { "type": "keyword", "normalizer": "default" },
"publisher": { "type": "text", "index": true, "analyzer": "textIcu", "search_analyzer":"textIcuSearch" },
"publisher_type": { "type": "keyword", "normalizer": "default" },
@@ -103,6 +105,7 @@
"is_preserved": { "type": "boolean" },
"in_kbart": { "type": "boolean" },
"in_jstor": { "type": "boolean" },
+ "in_doaj": { "type": "boolean" },
"in_dweb": { "type": "boolean" },
"in_web": { "type": "boolean" },
"in_ia": { "type": "boolean" },
diff --git a/proposals/2020_elasticsearch_schemas.md b/proposals/2020_elasticsearch_schemas.md
index c3e79073..8dbff219 100644
--- a/proposals/2020_elasticsearch_schemas.md
+++ b/proposals/2020_elasticsearch_schemas.md
@@ -1,5 +1,5 @@
-status: planning
+status: implemented
This document tracks "easy" elasticsearch schema and behavior changes that
could be made while being backwards compatible with the current v0.3 schema and
diff --git a/python/fatcat_tools/transforms/elasticsearch.py b/python/fatcat_tools/transforms/elasticsearch.py
index db860a09..f37aadba 100644
--- a/python/fatcat_tools/transforms/elasticsearch.py
+++ b/python/fatcat_tools/transforms/elasticsearch.py
@@ -72,6 +72,8 @@ def release_to_elasticsearch(entity: ReleaseEntity, force_bool: bool = True) ->
jstor_id = release.ext_ids.jstor,
ark_id = release.ext_ids.ark,
mag_id = release.ext_ids.mag,
+ dblp_id = release.ext_ids.dblp,
+ doaj_id = release.ext_ids.doaj,
)
t.update(dict(
@@ -84,6 +86,7 @@ def release_to_elasticsearch(entity: ReleaseEntity, force_bool: bool = True) ->
in_ia_sim = False,
in_kbart = None,
in_jstor = False,
+ in_doaj= bool(release.ext_ids.doaj),
in_shadows = False,
))
@@ -280,6 +283,7 @@ def _rte_container_helper(container: ContainerEntity, release_year: Optional[int
if c_extra.get('doaj'):
if c_extra['doaj'].get('as_of'):
t['is_oa'] = True
+ t['in_doaj'] = True
if c_extra.get('road'):
if c_extra['road'].get('as_of'):
t['is_oa'] = True
diff --git a/python/fatcat_web/templates/about.html b/python/fatcat_web/templates/about.html
index 706ab9fd..f984645f 100644
--- a/python/fatcat_web/templates/about.html
+++ b/python/fatcat_web/templates/about.html
@@ -8,7 +8,7 @@
<h1></h1>
-<p>Fatcat is versioned, publicly-editable catalog of research publications:
+<p>Fatcat is a versioned, publicly-editable catalog of research publications:
journal articles, conference proceedings, pre-prints, blog posts, and so forth.
The goal is to improve the state of preservation and access to these works by
providing a manifest of full-text content versions and locations.
@@ -46,14 +46,15 @@ href="https://guide.{{ config.FATCAT_DOMAIN }}/">The Guide</a>.
</ul>
<p>This service aspires to be a piece of sustainable, long-term, non-profit,
-free-software, collaborative, open digital infrastructure. It is primarily
+open source, collaborative, digital infrastructure. It is primarily
designed to support the <i>archival</i> and <i>dissemination</i> roles of
scholarly communication. It may also support the <i>registration</i> role
(establishing precedence and authorship), but explicitly does not aid with
<i>certification</i> of content, and is not intended to be used for
<i>evaluation</i> of individuals, institutions, or venues. This service is
-"universal", not currated, and happily includes retracted and "predatory"
-content).
+"universal", not curated. This means that it includes retracted works
+(annotated and disclaimed as such) and content some may consider "predatory
+publishing".
<h3>Sources of Metadata</h3>
@@ -84,17 +85,15 @@ individuals!
<p>Fatcat is a project of the <b><a href="https://archive.org">Internet Archive</a></b>,
a US-based non-profit digital library, well known for its
-<a href="https://web.archive.org">Wayback Machine</a> web archive and
-<a href="https://openlibrary.org">Open Library</a> book digitization and
-lending service. All Fatcat databases and services run on Internet Archive
-servers in California, and a copy of most full-text content is stored in the
-Archive's collections and/or web archives.
+<a href="https://web.archive.org">Wayback Machine</a> web archive,
+<a href="https://openlibrary.org">Open Library</a>, and book digitization and
+lending services.
<p>Development of Fatcat and related web harvesting, indexing, and preservation
efforts at the Archive have been partially funded (for the 2018-2019 period) by
a generous grant from the <b>Mellon Foundation</b>
(<a href="https://blog.archive.org/2018/03/05/andrew-w-mellon-foundation-awards-grant-to-the-internet-archive-for-long-tail-journal-preservation/">"Long-tail Open Access Journal Preservation"</a>).
-Fatcat supports this work by both tracking which open access works in known
+Fatcat supports this work by both tracking which open access works are in known
archives and providing minimum-viable indexing and access mechanisms for
long-tail works which otherwise would lack them.
diff --git a/python/fatcat_web/templates/base.html b/python/fatcat_web/templates/base.html
index b858728d..8cdc3fbf 100644
--- a/python/fatcat_web/templates/base.html
+++ b/python/fatcat_web/templates/base.html
@@ -142,12 +142,12 @@
<script
src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"
- integrity="sha256=FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
+ integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous">
</script>
<script
src="https://cdn.jsdelivr.net/npm/fomantic-ui@2.8.6/dist/semantic.min.js"
- integrity="sha256=9H3HWYnPJ2bEHgkOrw+48KheOqYzTvJd1hbeU9sEDFk="
+ integrity="sha256-9H3HWYnPJ2bEHgkOrw+48KheOqYzTvJd1hbeU9sEDFk="
crossorigin="anonymous">
</script>
{% block postscript %}{% endblock %}
diff --git a/python_openapi_client/fatcat_openapi_client/__version__.py b/python_openapi_client/fatcat_openapi_client/__version__.py
index e855ccb2..bd528324 100644
--- a/python_openapi_client/fatcat_openapi_client/__version__.py
+++ b/python_openapi_client/fatcat_openapi_client/__version__.py
@@ -1,3 +1,3 @@
-VERSION = (0, 3, 2) # eg, (0, 2, '0dev0')
+VERSION = (0, 3, 3) # eg, (0, 2, '0dev0')
__version__ = '.'.join(map(str, VERSION))
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index 29aaee6b..3730657a 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -646,7 +646,7 @@ dependencies = [
[[package]]
name = "fatcat-openapi"
-version = "0.3.1"
+version = "0.3.3"
dependencies = [
"bodyparser",
"chrono 0.4.6",