#
from librarian import ValidationError, NoDublinCore, ParseError, NoProvider
from librarian import RDFNS, IOFile
-from librarian.styles.wolnelektury.cover import WLCover
from librarian import dcparser
from xml.parsers.expat import ExpatError
# Converters
def as_html(self, *args, **kwargs):
- from librarian import html
+ from librarian import pyhtml as html
return html.transform(self, *args, **kwargs)
def as_text(self, *args, **kwargs):
def as_cover(self, cover_class=None, *args, **kwargs):
if cover_class is None:
+ from librarian.cover import WLCover
cover_class = WLCover
return cover_class(self.book_info, *args, **kwargs).output_file()