|
|
#1 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2019
Device: code
|
Easy way to create a single inline html file?
I'm new to calibre, and I've researched that I could create a single inline html file like this (I'm using the command line):
Thanks for your help! |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,631
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
there is no such output as ebooks typically contain resources such as fonts images that cannot be inlined in HTML (at least not efficiently)
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2019
Device: code
|
Thank you very much for your answer!
Yes, agreed. I wasn't talking about the images and the fonts, just about the html. The way I understood it, it can happen that the htmlz output contains multiple html documents. And also, each html document has the surrounding tags which I don't need (html, head, body, div). So I want to a) make sure I always get a single html file and b) get just the content, without the surrounding elements. As a result, I would have 1 html file (which e.g. starts directly with <p> with inline styles), accompanied with images and fonts. |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,631
Karma: 28549046
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yes, I know what you are saying, I'm saying there is no such output format. HTMLZ always contains a single HTML file, but it will have the containing markup.
|
|
|
|
|
|
#5 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Mar 2019
Device: code
|
Alright, understood, many thanks for your replies!
And also, many thanks for Calibre I'm using its conversion feature for my website, it's been great to work with it! And I appreciate the extensive documentation, it helps a lot!Have a nice day! |
|
|
|
| Advert | |
|
|
![]() |
| Tags |
| html, htmlz |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kindlegen With A Single HTML File | Agent69 | Kindle Formats | 2 | 05-24-2015 06:33 AM |
| HTML Tree to single file, how ? | Giuseppe Chillem | Calibre | 1 | 01-19-2013 12:56 PM |
| HTMLZ - Single HTML File Output | user_none | Calibre | 22 | 05-19-2011 03:33 AM |
| CHM to single html file...suggestions? | drogo | Workshop | 2 | 11-25-2008 01:35 PM |
| OEB to Single HTML File Converter? | James Bryant | Workshop | 3 | 06-29-2008 09:28 AM |