New recipe NZZ Webpaper
Hi Kovid,
please find attached the revised recipe for NZZ Webpaper (payed version).
Obviously there was a recent change in src/calibre/ebook/oeb/parse_utils that added additional syntax checks for HTML. They broke my recipe because it used incomplete HTML files that were not accepted by parse_utils after the change (shame on me ...).
So the new version delivers more correct HTML than the old one.
In detail: the function parse_html is now looking for a string "<html" - if it doesnt find one, the call of check_for_html5 fails in line 276 because of undefined value in variable pre. Maybe you want to add some additional checks to handle this condition.
Regards,
Bernd
|