%(license_description)s.%(source)s%(publisher)s
-%(description)s%(contributors)s%(funders)s
+%(description)s%(contributors)s%(funders)s%(isbn)s
"""
if funders:
funders = u"\n\nPublikację wsparli i wsparły: %s." % funders
publisher = '\n\nWydawca: ' + ', '.join(parsed_dc.publisher)
+ isbn = getattr(parsed_dc, 'isbn_txt', None)
+ if isbn:
+ isbn = '\n\n' + isbn
+ else:
+ isbn = ''
else:
description = 'Publikacja zrealizowana w ramach projektu Wolne Lektury (http://wolnelektury.pl).'
url = '*' * 10
contributors = ""
funders = ""
publisher = ""
+ isbn = ""
result = (TEMPLATE % {
'description': description,
'url': url,
'contributors': contributors,
'funders': funders,
'publisher': publisher,
+ 'isbn': isbn,
}).encode('utf-8')
else:
result = unicode(result).encode('utf-8')