+ def wldocument(self, publishable=True, changes=None,
+ parse_dublincore=True, strict=False):
+ from catalogue.ebook_utils import RedakcjaDocProvider
+ from librarian.parser import WLDocument
+
+ return WLDocument.from_string(
+ self.materialize(publishable=publishable, changes=changes),
+ provider=RedakcjaDocProvider(publishable=publishable),
+ parse_dublincore=parse_dublincore,
+ strict=strict)
+
+ def publish(self, user, fake=False, host=None, days=0, beta=False):