Content warnings. 1.12
authorRadek Czajka <rczajka@rczajka.pl>
Wed, 27 Jan 2021 09:16:04 +0000 (10:16 +0100)
committerRadek Czajka <rczajka@rczajka.pl>
Wed, 27 Jan 2021 09:16:04 +0000 (10:16 +0100)
CHANGELOG.md
setup.py
src/librarian/dcparser.py

index 43dddfc..98b62e4 100644 (file)
@@ -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
index d577dbd..055ec93 100755 (executable)
--- 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',
index 2072695..16c2397 100644 (file)
@@ -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),
     )