From: Radek Czajka Date: Wed, 27 Jan 2021 09:16:04 +0000 (+0100) Subject: Content warnings. X-Git-Tag: 1.12 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/6641219fd962fc1791fa8d94dec26db4c3546931 Content warnings. --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 43dddfc..98b62e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ This document records all notable changes to Librarian. +## 1.12 (2021-01-27) + +### Added +- Content warnings. + + ## 1.11.3 (2021-01-25) ### Fixed diff --git a/setup.py b/setup.py index d577dbd..055ec93 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def whole_tree(prefix, path): setup( name='librarian', - version='1.11.3', + version='1.12', description='Converter from WolneLektury.pl XML-based language to XHTML, TXT and other formats', author="Marek Stępniowski", author_email='marek@stepniowski.com', diff --git a/src/librarian/dcparser.py b/src/librarian/dcparser.py index 2072695..16c2397 100644 --- a/src/librarian/dcparser.py +++ b/src/librarian/dcparser.py @@ -292,6 +292,8 @@ class WorkInfo(six.with_metaclass(DCInfo, object)): Field(PLMETNS('digitisationSponsor'), 'sponsors', multiple=True, required=False), Field(WLNS('digitisationSponsorNote'), 'sponsor_note', required=False), + Field(WLNS('contentWarning'), 'content_warnings', multiple=True, + required=False), Field(WLNS('developmentStage'), 'stage', required=False), )