aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-02-14 15:25:32 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-02-14 15:25:32 -0800
commit56edebe7c2e090c4f25179f03a2d77d78ba59219 (patch)
treee381e2d8856ad2b35d3219cbe3c688e08549d5e7
parent224c26b05e6fd257c7f121b78a0027d2baacc447 (diff)
downloadfatcat-56edebe7c2e090c4f25179f03a2d77d78ba59219.tar.gz
fatcat-56edebe7c2e090c4f25179f03a2d77d78ba59219.zip
small number of additional release_types
-rw-r--r--guide/src/entity_fields.md1
-rw-r--r--rust/src/identifiers.rs4
2 files changed, 4 insertions, 1 deletions
diff --git a/guide/src/entity_fields.md b/guide/src/entity_fields.md
index 29d318dc..7e5375b0 100644
--- a/guide/src/entity_fields.md
+++ b/guide/src/entity_fields.md
@@ -362,7 +362,6 @@ with a small number of (proposed) extensions:
difficult this may not always be implemented). Other things that can be
categorized as stubs (which seem to often end up mis-categorized as full
articles in bibliographic databases):
- - an abstract, which is only an abstract of a larger work
- commercial advertisements
- "trap" or "honey pot" works, which are fakes included in databases to
detect re-publishing without attribution
diff --git a/rust/src/identifiers.rs b/rust/src/identifiers.rs
index 4db3305f..1c859269 100644
--- a/rust/src/identifiers.rs
+++ b/rust/src/identifiers.rs
@@ -316,6 +316,10 @@ pub fn check_release_type(raw: &str) -> Result<()> {
"peer_review",
"software",
"standard",
+ "abstract",
+ "editorial",
+ "letter",
+ "stub",
];
for good in valid_types {
if raw == good {