return unicode(value)
+def str_to_unicode_list(value, previous):
+ if previous is None:
+ previous = []
+ previous.append(str_to_unicode(value))
+ return previous
+
+
def str_to_person(value, previous):
comma_count = value.count(',')
DC('publisher') : ('publisher', converters.str_to_unicode),
DC('source') : ('source_name', converters.str_to_unicode),
DC('source.URL') : ('source_url', converters.str_to_unicode),
+ DC('identifier.url') : ('url', converters.str_to_unicode),
+ DC('relation.hasPart') : ('parts', converters.str_to_unicode_list),
}
@classmethod