I’m trying to convert a blog into an EPUB and keep running into issues with existing tools.

I first tried blog2epub, but it fails during parsing with:

lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: meta line 10 and head, line 17, column 8

I then tried WebToEpub on Firefox, providing:

  • Content selector: .article-content
  • Chapter title selector: .title

It generated an EPUB, but the file wouldn’t open in any reader.

What I’m looking for is a tool where I can point to a blog’s base URL, define CSS selectors for the article title and body, and have it automatically fetch all entries and create one chapter per post. Or something similar.

Does anyone know of a reliable tool, script, or workflow that does this well on Linux?

  • CoderSupreme@programming.devOP
    link
    fedilink
    arrow-up
    1
    ·
    13 days ago

    I recently learned about abogen and audiblez and what I want to do is blog to adiobook but I’m still stuck in getting the book from the blog.

    I’m now thinking maybe c/linux would have been a better place to ask since I’m not trying to program anything. Let me know if I should move it there.