Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-07-2012, 10:20 AM   #16
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by JSWolf View Post
Quote:
Originally Posted by sherman View Post
Why don't the calibre devs look at extending the "Tweak Epub" feature to handle htmlz as well? I would have thought the process would be very similar. After all, from what I've gleaned, all the "Tweak epub" feature does is unzips a zip file to a temporary directory, then re-zips it when one is finished making alterations...
Because HTMLZ is not ePub.
This comment adds to the conversation how?

So instead of Tweak ePub it would be Tweak HTMLZ, seems like a reasonable idea to me.
DoctorOhh is offline   Reply With Quote
Old 01-07-2012, 03:14 PM   #17
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by JSWolf View Post
Because HTMLZ is not ePub.
I realise that, but it seems to me that the basic functionally required to "edit" htmlz in the way the OP was asking already exists in the "tweak epub" feature, and I assume (I could be wrong) that it could be extended to other zipped formats if the devs so desired.
sherman is offline   Reply With Quote
Advert
Old 01-07-2012, 03:48 PM   #18
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by sherman View Post
I realise that, but it seems to me that the basic functionally required to "edit" htmlz in the way the OP was asking already exists in the "tweak epub" feature, and I assume (I could be wrong) that it could be extended to other zipped formats if the devs so desired.
Tweak EPUB has some very specific placement tasks to do when reassembling EPUB.

WinRAR will unzip any file it can if you use Open With (explorer) or File Open with explicit name.ext and rezip on file add
theducks is offline   Reply With Quote
Old 01-07-2012, 04:02 PM   #19
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Quote:
Originally Posted by theducks View Post
Tweak EPUB has some very specific placement tasks to do when reassembling EPUB.

WinRAR will unzip any file it can if you use Open With (explorer) or File Open with explicit name.ext and rezip on file add
Fair enough on the tweak epub doing some specific tasks.

I know htmlz can be unzipped with most (all?) zip programs (I use 7-zip myself), but saving out the file, opening/extracting the file, making any adjustments, re-zipping the file and adding back into calibre is a rather tedious way of making a small tweak. Which is why I feel some sort of "tweak htmlz" function could be quite useful.
sherman is offline   Reply With Quote
Old 01-07-2012, 04:29 PM   #20
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by PocketGoddess View Post
Because some of my books come to me as HTMLZ files.
Interesting. The HTMLZ format as implemented by calibre is my own creation. I originally made it because of the number of people asking for the ability to assemble ePub files into a single editable HTML file. Due to images being external to an HTML file I put them in a zip container to keep everything together. HTMLZ also includes an OPF file for metadata so you won't lose anything going from ePub to HTMLZ.

Quote:
Originally Posted by PocketGoddess View Post
Ironically enough, I'm also a big fan of simplicity, so it's frustrating to me that I can click just once on any other book in calibre and have it open up right away, but that doesn't work with HTMLZ books. Now I know to just convert them all to epub when I first import them, and that frustration disappears.
If opening a book within calibre that is in the HTMLZ format is opening in something other than the calibre viewer all you need to do is go to Preferences -> Behavior -> under the use internal viewer area, check HTMLZ. This will cause calibre to open HTMLZ files in it's viewer.

If you're opening HTMLZ files outside of calibre (on your desktop for example) and you use Windows (assuming) you can right click on them and I think under properties change the file association to use calibre's viewer instead of what ever they're opening with. I apologize I can't be more specific about this, I don't use Windows.

Quote:
Originally Posted by sherman
Why don't the calibre devs look at extending the "Tweak Epub" feature to handle htmlz as well?
HTMLZ is easy to edit. Assembling an ePub so it is valid is not easy. Also, the whole calibre is not an editor bit.
user_none is offline   Reply With Quote
Advert
Old 01-07-2012, 04:31 PM   #21
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by theducks View Post
Tweak EPUB has some very specific placement tasks to do when reassembling EPUB.
So you agree, it would be even easier to use the base of the tweak epub feature code to create a similar tweak htmlz feature.

Quote:
Originally Posted by user_none View Post
Interesting. The HTMLZ format as implemented by calibre is my own creation. I originally made it because of the number of people asking for the ability to assemble ePub files into a single editable HTML file. Due to images being external to an HTML file I put them in a zip container to keep everything together. HTMLZ also includes an OPF file for metadata so you won't lose anything going from ePub to HTMLZ.
I found this interesting as well. Amazing how fast it has found its way to someone's computer as the defacto choice for the base format.

Last edited by DoctorOhh; 01-07-2012 at 04:35 PM.
DoctorOhh is offline   Reply With Quote
Old 01-07-2012, 06:23 PM   #22
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Actually folks, if you check the source, Kovid has created a patch to change ePub Tweak to Book Tweak, and for it to handle both ePub AND HTMLZ.
PeterT is offline   Reply With Quote
Old 01-07-2012, 06:30 PM   #23
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,048
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by PeterT View Post
Actually folks, if you check the source, Kovid has created a patch to change ePub Tweak to Book Tweak, and for it to handle both ePub AND HTMLZ.
I see it happened today.
I would bet 99% of the visitors to this forum group have never looked at the Source
theducks is offline   Reply With Quote
Old 01-07-2012, 06:42 PM   #24
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I agree; but that is why I thought I would let people know!
PeterT is offline   Reply With Quote
Old 01-07-2012, 07:31 PM   #25
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Thank you for letting us know that PeterT. I'm sure the added functionality will be most useful.
sherman is offline   Reply With Quote
Old 01-07-2012, 10:17 PM   #26
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I forgot to post here about it. But yes, in the next release you will be able to tweak htmlz and epub. If you have both in a single book then epub is preferred, to maintain currentl behavior for most people. You can change this via Preferences->Tweaks.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AZW de-DRM'd to HTMLZ Caleb666 Conversion 20 12-22-2017 05:07 AM
HTMLZ Output Mamaijee Conversion 2 11-06-2011 04:44 PM
HTMLZ Conversion burbleburble Conversion 3 08-29-2011 05:04 AM
HTMLZ Output Mamaijee Conversion 1 06-23-2011 07:00 PM
HTMLZ Ortep Calibre 21 05-09-2011 10:27 PM


All times are GMT -4. The time now is 05:38 PM.


MobileRead.com is a privately owned, operated and funded community.