eBook Add-on

I love this feature!
It works well on my main blog.

But I just I tried this with a private blog and I got the following error:
{"code":500,"error_msg": "This is an unhelpful error message for a miscellaneous internal error."}

Does anyone know what might be the error?

Hey @ariadnemm, really glad you like it! I’ll need to take a look at this internally to see what might’ve caused it.

Could you share the name of the blog that’s giving you this error in a private message to @support? Or could you try downloading the .epub again and let me know once you’ve done that, so I can look up the error?

Yes, I sent a private message to @support. Thanks!

I appreciate it! It looks like this was a wider issue that didn’t just affect private blogs. It was limited to one of our backend servers, which means it would’ve happened occasionally, depending on where your request landed. But this is fixed for everyone now!

This looks cool!

And, as someone who quickly realised he could not format his own ebook (i.e. convert from MS Word to ePUB), if this effectively enables me to self-format in an easy way, this would be especially handy.

In general, I also love the idea of being able to convert my blog posts to a book format, as I have a feeling I might publish some kind of memoir/journal of my blog posts as some point.

Generic Server Error

I’ve been getting this generic server error when trying to download .epub files from bilge.world/.epub and bilge.writeas.com/.epub though these two still work:

  • chaff.writeas.com/.epub
  • extratone.com/.epub

Could this be a domain error or perhaps my Bilge has simply gotten Too Big?

Thanks for the heads up! I’m not sure what the root cause is, though it looks like we’re not gracefully handling the error, which caused this. I’ll get a fix in and then we can figure out what exactly is causing it.

2 Likes

Two notes. I am trying this feature but can’t use it at present because:

1. Every other page has some error on it. Here is an example:

“This page contains the following errors:
error on line 31 at column 11: Opening and ending tag mismatch: hr line 0 and article
Below is a rendering of the page up to the first error.”

2. The Post Signature field is included on every post.
Can that get excluded? Doesn’t seem appropriate to have that published for every post.

1 Like

I’d guess that this might have to do with some HTML in the posts – I think the epub format works best with the valid HTML we render. Taking a look at your posts, this might be from the post signature? So…

I’ll change this behavior. Agreed that it probably doesn’t make sense to include in the ebook. Hopefully that’ll also fix issue #1.

The error is a result of the images at the top of every blog post I assume. Still exists - thought snap.as images would be supported.

1 Like

This would make sense because I’ve started to use GitHub as an image host on the blog that’s not working to reduce my load on Snap.as. (A nono, I know, but it’s just so tempting lol.)

Sorry it´s compatible this format with Amazon E-reades with .mobi extension?

I think it’s actually from the signature HTML, based on this message:

Opening and ending tag mismatch: hr line 0

It’s saying there’s an opening <hr> tag without a closing </hr> tag to match it. Snap.as images should work just fine in the ebooks! Assuming you’re using Markdown to include them, or valid XHTML <img /> tags.

Right now, we only export .epub files. We might support the .mobi format in the future though.

2 Likes

ahhh ok!
thanks!

I asked this here before realising this entire topic existed, apologies: Is there a way to disable ebooks for a specific blog but have it enabled on another?

Hi, was this feature disabled?
I cannot get it to work.

Not with by blog: https://write.as/kroeber/.epub
Not with the example provided: https://write.as/blog/.epub

It stopped working at least months ago.

1 Like

@Kroeber I can download the ebook from my blog but the generated ePub file doesn’t validate and Google Play Books rejects it with an error. For example, the Draft2Digital ePub validator returns a thick wall of errors:

ERROR(RSC-005): .tmp.tmpfjo5g478.epub/EPUB.package.opf(8,24): Error while parsing file: character content of element "dc:date" invalid; must be a string with length at least 1 (actual length was 0)

ERROR(CSS-001): .tmp.tmpfjo5g478.epub/EPUB.css.epub.css(1,405): The 'unicode-bidi' property must not be included in an EPUB Style Sheet.

ERROR(RSC-005): .tmp.tmpfjo5g478.epub/EPUB.xhtml.section0024.xhtml(38,20): Error while parsing file: attribute "align" not allowed here; expected attribute "about", "accesskey", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autocapitalize", "class", "colspan", "content", "contenteditable", "datatype", "dir", "draggable", "headers", "hidden", "id", "inlist", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "ns1:type", "ns2:alphabet", "ns2:ph", "onabort", "onautocomplete", "onautocompleteerror", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncontextmenu", "oncuechange", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragexit", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onfocusin", "onfocusout", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onpause", "onplay", "onplaying", "onprogress", "onratechange", "onreset", "onresize", "onscroll", "onseeked", "onseeking", "onselect", "onsort", "onstalled", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onvolumechange", "onwaiting", "onwheel", "prefix", "property", "rel", "resource", "rev", "role", "rowspan", "scope", "slot", "spellcheck", "style", "tabindex", "title", "translate", "typeof", "vocab", "xml:base", "xml:lang" or "xml:space" (with xmlns:ns1="http://www.idpf.org/2007/ops" xmlns:ns2="http://www.w3.org/2001/10/synthesis")

ERROR(RSC-005): .tmp.tmpfjo5g478.epub/EPUB.xhtml.section0024.xhtml(39,20): Error while parsing file: attribute "align" not allowed here; expected attribute "about", "accesskey", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autocapitalize", "class", "colspan", "content", "contenteditable", "datatype", "dir", "draggable", "headers", "hidden", "id", "inlist", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "ns1:type", "ns2:alphabet", "ns2:ph", "onabort", "onautocomplete", "onautocompleteerror", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncontextmenu", "oncuechange", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragexit", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onfocusin", "onfocusout", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onpause", "onplay", "onplaying", "onprogress", "onratechange", "onreset", "onresize", "onscroll", "onseeked", "onseeking", "onselect", "onsort", "onstalled", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onvolumechange", "onwaiting", "onwheel", "prefix", "property", "rel", "resource", "rev", "role", "rowspan", "scope", "slot", "spellcheck", "style", "tabindex", "title", "translate", "typeof", "vocab", "xml:base", "xml:lang" or "xml:space" (with xmlns:ns1="http://www.idpf.org/2007/ops" xmlns:ns2="http://www.w3.org/2001/10/synthesis")

ERROR(RSC-005): .tmp.tmpfjo5g478.epub/EPUB.xhtml.section0024.xhtml(45,20): Error while parsing file: attribute "align" not allowed here; expected attribute "about", "accesskey", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autocapitalize", "class", "colspan", "content", "contenteditable", "datatype", "dir", "draggable", "headers", "hidden", "id", "inlist", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "ns1:type", "ns2:alphabet", "ns2:ph", "onabort", "onautocomplete", "onautocompleteerror", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncontextmenu", "oncuechange", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragexit", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onfocusin", "onfocusout", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onpause", "onplay", "onplaying", "onprogress", "onratechange", "onreset", "onresize", "onscroll", "onseeked", "onseeking", "onselect", "onsort", "onstalled", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onvolumechange", "onwaiting", "onwheel", "prefix", "property", "rel", "resource", "rev", "role", "rowspan", "slot", "spellcheck", "style", "tabindex", "title", "translate", "typeof", "vocab", "xml:base", "xml:lang" or "xml:space" (with xmlns:ns1="http://www.idpf.org/2007/ops" xmlns:ns2="http://www.w3.org/2001/10/synthesis")

ERROR(RSC-005): .tmp.tmpfjo5g478.epub/EPUB.xhtml.section0024.xhtml(46,20): Error while parsing file: attribute "align" not allowed here; expected attribute "about", "accesskey", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autocapitalize", "class", "colspan", "content", "contenteditable", "datatype", "dir", "draggable", "headers", "hidden", "id", "inlist", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "ns1:type", "ns2:alphabet", "ns2:ph", "onabort", "onautocomplete", "onautocompleteerror", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncontextmenu", "oncuechange", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragexit", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onfocusin", "onfocusout", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onpause", "onplay", "onplaying", "onprogress", "onratechange", "onreset", "onresize", "onscroll", "onseeked", "onseeking", "onselect", "onsort", "onstalled", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onvolumechange", "onwaiting", "onwheel", "prefix", "property", "rel", "resource", "rev", "role", "rowspan", "slot", "spellcheck", "style", "tabindex", "title", "translate", "typeof", "vocab", "xml:base", "xml:lang" or "xml:space" (with xmlns:ns1="http://www.idpf.org/2007/ops" xmlns:ns2="http://www.w3.org/2001/10/synthesis")

ERROR(RSC-005): .tmp.tmpfjo5g478.epub/EPUB.xhtml.section0024.xhtml(50,20): Error while parsing file: attribute "align" not allowed here; expected attribute "about", "accesskey", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autocapitalize", "class", "colspan", "content", "contenteditable", "datatype", "dir", "draggable", "headers", "hidden", "id", "inlist", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "ns1:type", "ns2:alphabet", "ns2:ph", "onabort", "onautocomplete", "onautocompleteerror", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncontextmenu", "oncuechange", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragexit", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onfocusin", "onfocusout", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onpause", "onplay", "onplaying", "onprogress", "onratechange", "onreset", "onresize", "onscroll", "onseeked", "onseeking", "onselect", "onsort", "onstalled", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onvolumechange", "onwaiting", "onwheel", "prefix", "property", "rel", "resource", "rev", "role", "rowspan", "slot", "spellcheck", "style", "tabindex", "title", "translate", "typeof", "vocab", "xml:base", "xml:lang" or "xml:space" (with xmlns:ns1="http://www.idpf.org/2007/ops" xmlns:ns2="http://www.w3.org/2001/10/synthesis")

ERROR(RSC-005): .tmp.tmpfjo5g478.epub/EPUB.xhtml.section0024.xhtml(51,20): Error while parsing file: attribute "align" not allowed here; expected attribute "about", "accesskey", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autocapitalize", "class", "colspan", "content", "contenteditable", "datatype", "dir", "draggable", "headers", "hidden", "id", "inlist", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "ns1:type", "ns2:alphabet", "ns2:ph", "onabort", "onautocomplete", "onautocompleteerror", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncontextmenu", "oncuechange", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragexit", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onfocusin", "onfocusout", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onpause", "onplay", "onplaying", "onprogress", "onratechange", "onreset", "onresize", "onscroll", "onseeked", "onseeking", "onselect", "onsort", "onstalled", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onvolumechange", "onwaiting", "onwheel", "prefix", "property", "rel", "resource", "rev", "role", "rowspan", "slot", "spellcheck", "style", "tabindex", "title", "translate", "typeof", "vocab", "xml:base", "xml:lang" or "xml:space" (with xmlns:ns1="http://www.idpf.org/2007/ops" xmlns:ns2="http://www.w3.org/2001/10/synthesis")
[...]

Hi @ PaoloAmoroso

I can open your downloaded epub file with no issues with Calibre.
Maybe in Calibre you can then format it in a way Google Books can accept it.

The problem I am facing with my blog, is that the feature simply does not work. All I see is this:

@Kroeber Thanks for the feedback. I’d prefer downloaded ePub files to validate and open in at least a few major ereading apps and platforms rather than having to edit the files. I confirm the issues with your blog.