Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-23-2012, 10:31 AM   #1
gpauk
Junior Member
gpauk began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2012
Device: kindle
Convert periodicals to books

Hi...

Kindle has the irritating behaviour that it won't allow you to move periodicals to folders as you can with books. The last edition of a periodical stays on the home page. This is ok until you cancel a subscription and are then stuck with the issue on the home page and can't archive it, or add to a collection.

I figured that as the periodicals came from Calibre, it should be possible to alter it to be treated as a book, not a periodical.. But i can't find anything in the meta info to allow that "conversion".. Any ideas how I can do this?

Thanks!
gpauk is offline   Reply With Quote
Old 04-23-2012, 02:20 PM   #2
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: 24,813
Karma: 4369673
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You'd have to edit the source code. Add

self.is_periodical = False

at the top of the convert() method in plugins/mobi_output.py
kovidgoyal is offline   Reply With Quote
Old 04-23-2012, 06:20 PM   #3
gpauk
Junior Member
gpauk began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2012
Device: kindle
Great - many thanks for the help!

Where do I find the source for that plugin, please?

Graham

Last edited by gpauk; 04-23-2012 at 06:30 PM.
gpauk is offline   Reply With Quote
Old 04-23-2012, 06:50 PM   #4
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,464
Karma: 402333
Join Date: Mar 2009
Device: iPad
You can find instructions on how to set up a development environment in the user manual.

G
GRiker is online now   Reply With Quote
Old 04-24-2012, 09:25 AM   #5
gpauk
Junior Member
gpauk began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2012
Device: kindle
Perfect - got all the info now thanks! Looks like creating plug ins is fairly straightforward.

.. a related question. I have some stuff in htmlz format. Looking at the css and html therein, I can't see any reference to book / periodical in that format. So, if htmlz is converted to, say, mobi, how would the mobi conversion know what to do... And if it doesn't, what is the default action?

Thanks!
gpauk is offline   Reply With Quote
Old 04-24-2012, 10:20 AM   #6
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: 24,813
Karma: 4369673
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
book.
kovidgoyal is offline   Reply With Quote
Old 04-24-2012, 12:13 PM   #7
gpauk
Junior Member
gpauk began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2012
Device: kindle
Thanks...
gpauk is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Periodicals vs. Books jamesrsullivan Calibre 0 06-15-2010 12:45 PM
Convert Sony books to Kindle books Linda Calibre 11 06-03-2010 07:39 PM
Possible to treat periodicals as...periodicals? Spankypoo Calibre 1 01-23-2010 10:06 PM
Books/Periodicals and sub-folders kheber Amazon Kindle 3 11-21-2008 04:04 PM
Books/Periodicals and sub-folders kheber Amazon Kindle 2 11-21-2008 03:30 PM


All times are GMT -4. The time now is 03:39 PM.


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