From 6798a1eb468cd86db145323c446f5fa1e89daaca Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 21 Nov 2011 10:41:04 +0100 Subject: [PATCH] add dc:audiences --- librarian/dcparser.py | 2 ++ 1 file changed, 2 insertions(+) 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', \ -- 2.20.1