}
def __init__(self, book_info):
- self.author = book_info.author.readable()
+ self.author = ", ".join(auth.readable() for auth in book_info.authors)
self.title = book_info.title
def pretty_author(self):
__metaclass__ = DCInfo
FIELDS = (
- Field( DCNS('creator'), 'author', as_person),
+ Field( DCNS('creator'), 'authors', as_person, salias='author', multiple=True),
Field( DCNS('title'), 'title'),
Field( DCNS('type'), 'type', required=False, multiple=True),
Field( DCNS('source'), 'source_name', required=False),
Field( DCNS('source.URL'), 'source_url', required=False),
Field( DCNS('identifier.url'), 'url', WLURI),
-
Field( DCNS('rights.license'), 'license', required=False),
Field( DCNS('rights'), 'license_description'),
)
Field( DCNS('relation.cover_image.url'), 'cover_url', required=False),
Field( DCNS('relation.cover_image.attribution'), 'cover_by', required=False),
Field( DCNS('relation.cover_image.source'), 'cover_source', required=False),
-
)
setup(
name='librarian',
- version='1.4',
+ version='1.4.1',
description='Converter from WolneLektury.pl XML-based language to XHTML, TXT and other formats',
author="Marek Stępniowski",
author_email='marek@stepniowski.com',