Field(DCNS('description'), 'description', required=False),
Field(DCNS('source'), 'source_name', required=False),
- Field(DCNS('source.URL'), 'source_url', required=False),
+ Field(DCNS('source.URL'), 'source_urls', salias='source_url', multiple=True, required=False),
Field(DCNS('identifier.url'), 'url', WLURI, strict=as_wluri_strict),
Field(DCNS('rights.license'), 'license', required=False),
Field(DCNS('rights'), 'license_description'),
desc = rdf_tag.find(".//" + RDFNS('Description'))
if desc is None:
- raise NoDublinCore("No DublinCore section found.")
+ raise NoDublinCore("There must be a '%s' element inside the RDF." % RDFNS('Description'))
lang = None
p = desc
Field(WLNS('coverBarColor'), 'cover_bar_color', required=False),
Field(WLNS('coverBoxPosition'), 'cover_box_position', required=False),
Field(WLNS('coverClass'), 'cover_class', default=['default']),
+ Field(WLNS('coverLogoUrl'), 'cover_logo_urls', multiple=True, required=False),
+
Field('pdf-id', 'isbn_pdf', required=False),
Field('epub-id', 'isbn_epub', required=False),
Field('mobi-id', 'isbn_mobi', required=False),