From: Radek Czajka Date: Mon, 21 Nov 2011 09:41:04 +0000 (+0100) Subject: add dc:audiences X-Git-Tag: 1.7~191 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/6798a1eb468cd86db145323c446f5fa1e89daaca add dc:audiences --- diff --git a/librarian/dcparser.py b/librarian/dcparser.py index 9faffe8..eb6c5ea 100644 --- a/librarian/dcparser.py +++ b/librarian/dcparser.py @@ -127,6 +127,8 @@ class BookInfo(object): Field( DCNS('subject.period'), 'epochs', salias='epoch', multiple=True), Field( DCNS('subject.type'), 'kinds', salias='kind', multiple=True), Field( DCNS('subject.genre'), 'genres', salias='genre', multiple=True), + Field( DCNS('audience'), 'audiences', salias='audience', multiple=True, + required=False), Field( DCNS('date'), 'created_at', as_date), Field( DCNS('date.pd'), 'released_to_public_domain_at', as_date, required=False), Field( DCNS('contributor.editor'), 'editors', \