Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 09-07-2011, 02:06 PM   #16
siebert
Developer
siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.
 
Posts: 155
Karma: 280
Join Date: Nov 2010
Device: Kindle 3 (Keyboard) 3G / iPad 9 WiFi / Google Pixel 6a (Android)
Quote:
Originally Posted by kovidgoyal View Post
As you say, the fact that calibre created the MOBI file is documented in the creator record. So if some tool needed to differentiate between calibre generated and kindlegen generated files (highly unlikely since there are multiple versions of kindlegen as well as non kindlegen tools amazon uses to produce MOBI files) that tool can check for the creator EXTH record containing calibre. I have just about zero motivation to generate the half a dozen different types of MOBI files and check that everything still works on a Kindle without the 204-207 records. Incidentally, does such a tool actually exist?
I don't know if such a tool exists. I just don't like to see things getting broken without a good reason.

Of course a tool could check the creator entry, but the author has to be aware that he must do it and it's an additional effort.

Would you like to see other tools creating ebooks with the creator tag set to "calibre (0.8.16) [http://calibre-ebook.com]"?

Quote:
--kindlegen is a debug option and as such is not suitable for inclusion in the GUI. I do not intend to maintain it/make it robust. Maintaining one set of mappings from epub to mobiml is quite enough work, thank you. Remember that running kindlegen does not just create the binary wrapper it also re-processes the markup. In most cases this is harmless, but I highly doubt it will be harmless in all cases. And then kindlegen is a moving target, one over which I have no control.
As others already needed such a solution enough to create a plugin for this purpose, I'd think it would be easier to just use the already existing debug option and make it official, which is probably done with little effort.

If you don't like the maintaining effort, maybe the plugin developer will commit himself to do the maintenance?

Ciao,
Steffen
siebert is offline   Reply With Quote
Old 09-07-2011, 02:17 PM   #17
siebert
Developer
siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.
 
Posts: 155
Karma: 280
Join Date: Nov 2010
Device: Kindle 3 (Keyboard) 3G / iPad 9 WiFi / Google Pixel 6a (Android)
Quote:
Originally Posted by kovidgoyal View Post
So if some tool needed to differentiate between calibre generated and kindlegen generated files [...] that tool can check for the creator EXTH record containing calibre.
This is also a false statement.

I didn't test the mentioned plugin, but I'm rather sure that the generated mobis will contain the calibre creator record, too though the file was created by kindlegen not calibre. And using the kindlegen option does it definitively.

Ciao,
Steffen
siebert is offline   Reply With Quote
Advert
Old 09-07-2011, 02:41 PM   #18
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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by siebert View Post
I don't know if such a tool exists. I just don't like to see things getting broken without a good reason.
You mean you dont know if anything actually breaks and yet you feel free to volunteer extra work for me. No wonder I ignore you.

Quote:
If you don't like the maintaining effort, maybe the plugin developer will commit himself to do the maintenance?
That plugin was created to address the periodical issue, which is now fixed. Making something "official" implies that some calibre developer is responsible for maintaining it and since calibre developers come and go, in the final analysis I am responsible for maintaining it. The plugin exists, if someone wants to use kindlegen with calibre, they can use the plugin.
kovidgoyal is online now   Reply With Quote
Old 09-07-2011, 02:41 PM   #19
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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by siebert View Post
This is also a false statement.
Back you go onto my ignore list.
kovidgoyal is online now   Reply With Quote
Old 09-07-2011, 02:50 PM   #20
siebert
Developer
siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.
 
Posts: 155
Karma: 280
Join Date: Nov 2010
Device: Kindle 3 (Keyboard) 3G / iPad 9 WiFi / Google Pixel 6a (Android)
Quote:
Originally Posted by kovidgoyal View Post
You mean you dont know if anything actually breaks and yet you feel free to volunteer extra work for me. No wonder I ignore you.
If I run with a big sharp knife through a crowd of people, I also don't know if I'll hurt someone (or myself). Being a responsible person I just don't do it.

The effort to remove the lines which are setting the bogus EXTH records is next to nothing.

Ciao,
Steffen
siebert is offline   Reply With Quote
Advert
Old 09-07-2011, 02:55 PM   #21
siebert
Developer
siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.
 
Posts: 155
Karma: 280
Join Date: Nov 2010
Device: Kindle 3 (Keyboard) 3G / iPad 9 WiFi / Google Pixel 6a (Android)
Quote:
Originally Posted by kovidgoyal View Post
Back you go onto my ignore list.
I'm wondering how I always manage to get off of it?

And "false" was just meant as the opposite of "true", not as a judgement, in case you misunderstood that.

Ciao,
Steffen
siebert is offline   Reply With Quote
Old 09-08-2011, 04:33 PM   #22
siebert
Developer
siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.siebert has a complete set of Star Wars action figures.
 
Posts: 155
Karma: 280
Join Date: Nov 2010
Device: Kindle 3 (Keyboard) 3G / iPad 9 WiFi / Google Pixel 6a (Android)
Perhaps I should use reverse psychology for my future requests:

"10383: MOBI Output: Remove the --kindlegen option so I don't have to deal with people demanding kindlegen support in calibre"

For now I can only recommend Wil Wheatons motto "Don't be a dick!"

Ciao,
Steffen

PS: If you wanted to annoy me with your commit, please bear in mind I'm already running my own fork of calibre, so it's easy for me to undo that commit.
siebert is offline   Reply With Quote
Old 09-09-2011, 03:16 PM   #23
AppleTard
Member
AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.
 
Posts: 24
Karma: 1839286
Join Date: Nov 2010
Device: iPad
A quick question: is this new plugin enabled by defaul on Calibre 0.8.18, or do I still have to add the tweak?
AppleTard is offline   Reply With Quote
Old 09-09-2011, 03:21 PM   #24
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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It is enabled by default. You can turn it off by setting the tweak to False.

new_mobi_writer = False
kovidgoyal is online now   Reply With Quote
Old 10-17-2011, 10:19 PM   #25
lovebeta
Groupie
lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.
 
Posts: 176
Karma: 406
Join Date: Jan 2008
Device: Amazon Kindle 2, Amazon Kindle, Sony PRS-505
Found a bug with the new mobi writer. If I open the WSJ file created by the new writer, select View Sections & Articles -> View Articles List, then there is a line says "Unknown" beneath every article (see the attached pic). I can confirmed that it is the issue of the new writer by turning it off in the tweak settings. I guess it is caused by missing author metadata for each articles.
Attached Thumbnails
Click image for larger version

Name:	New.jpg
Views:	227
Size:	150.8 KB
ID:	77922   Click image for larger version

Name:	Old.gif
Views:	200
Size:	34.0 KB
ID:	77923  
lovebeta is offline   Reply With Quote
Old 10-17-2011, 10:21 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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The new writer writes unknown for a missing author. I suppose it could write a blank instead, but I prefer Unknown.
kovidgoyal is online now   Reply With Quote
Old 10-17-2011, 10:28 PM   #27
lovebeta
Groupie
lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.
 
Posts: 176
Karma: 406
Join Date: Jan 2008
Device: Amazon Kindle 2, Amazon Kindle, Sony PRS-505
Quote:
Originally Posted by kovidgoyal View Post
The new writer writes unknown for a missing author. I suppose it could write a blank instead, but I prefer Unknown.
Is it configurable? Also can we skip byline if the author is unknown? I actually prefer the old layout since it saves space -- there are only three lines to show the snippet after all.
lovebeta is offline   Reply With Quote
Old 10-17-2011, 10:47 PM   #28
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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IIRC, the layout is unaffected, even if set to a blank the kindle still takes the same space for the entry. And no it isn't configurable, you would have to edit the source code.
kovidgoyal is online now   Reply With Quote
Old 10-17-2011, 11:09 PM   #29
lovebeta
Groupie
lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.lovebeta has a complete set of Star Wars action figures.
 
Posts: 176
Karma: 406
Join Date: Jan 2008
Device: Amazon Kindle 2, Amazon Kindle, Sony PRS-505
I see. still don't understand why there's no byline for files produced by the old writer. There must be so flag that kindle uses to determine whether to show that line, no?
lovebeta is offline   Reply With Quote
Old 10-17-2011, 11:11 PM   #30
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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah, but my Kindle 3 was totalled in the move to India, so I'm not in a position to experiment to find out.
kovidgoyal is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AZW Conversion Output Plugin tylau0 Plugins 59 08-14-2011 10:36 PM
OS X testing needed kovidgoyal Calibre 55 02-06-2010 04:51 AM
Windows testing needed kovidgoyal Calibre 19 01-17-2010 02:35 PM
eReader file testing needed user_none Calibre 8 10-12-2009 02:28 AM


All times are GMT -4. The time now is 12:50 PM.


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