View Single Post
Old 07-11-2020, 11:03 AM   #3
playful
Mammal
playful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmosplayful has become one with the cosmos
 
playful's Avatar
 
Posts: 126
Karma: 21380
Join Date: Oct 2010
Location: Right Here
Device: Onyx Note Pro, Kindle DXG
Quote:
Originally Posted by JSWolf View Post
The title tags would normally have the book's title and not the chapter title.
Alright, let me explain. I'm converting a website to an ebook. The website has 1000+ pages. It's standard for the html pages of websites to each have their own <title> tag.

Looking at toc.ncx, I can easily generate that in Python.
After generating the <h1> tags as mentioned above, now that I have the TOC, I can easily strip the <h1> tags again.

Just wondering if there is a way to do it out of the box, for future reference.

Thanks!
playful is offline   Reply With Quote