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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2016, 11:49 AM   #1
monyarm
Junior Member
monyarm began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2016
Device: none
Question Can anyone point me in the right direction to making a plugin for a new file format.

Im currently working on a file format based off of Epub (working title is paqpub) and need some help with making a plugin for it.
monyarm is offline   Reply With Quote
Advert
Old 11-16-2016, 11:56 AM   #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: 31,720
Karma: 8695932
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look at an existing plugin -- all builtin format support is in the form of plugins. ANd I think there is an old DOC input third party plugin available as well.
kovidgoyal is online now   Reply With Quote
Old 11-16-2016, 12:15 PM   #3
monyarm
Junior Member
monyarm began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2016
Device: none
This might be a stupid question, but where can i find the files for the existing plugins, and if i create a conversion input plugin will that be enough for calibre to read it ?
monyarm is offline   Reply With Quote
Old 11-16-2016, 12:59 PM   #4
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: 31,720
Karma: 8695932
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In the plugins subforum and yes.
kovidgoyal is online now   Reply With Quote
Old 11-16-2016, 01:21 PM   #5
monyarm
Junior Member
monyarm began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2016
Device: none
I meant the plugins that are included with calibre, like the epub reading one.
monyarm is offline   Reply With Quote
Advert
Old 11-16-2016, 02:19 PM   #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: 31,720
Karma: 8695932
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://manual.calibre-ebook.com/dev...ml#code-layout

Look at

plugins/epub_[input|output].py
kovidgoyal is online now   Reply With Quote
Old 11-16-2016, 08:57 PM   #7
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 13,288
Karma: 21339656
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo: Touch, Glo, Aura H2O, Glo HD, Aura ONE
@monyarm: If you are going to base something on epub, have a look at the various kepub plugins. This is Kobo's format and is basically an epub with a couple of rules and some extra spans. The kepub plugins either directly subclass the epub equivalents, or call the appropriate epub methods. And I think we have the full set of format specific plugins have been created.
davidfor 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
Looking for direction for making a kepub plugin kc7zzv Development 19 02-17-2013 10:46 PM
Plugin for making a summary list about your books equilan1986 Plugins 2 01-08-2013 08:21 AM
What is the point to the Topaz format apastuszak Amazon Kindle 3 06-24-2011 12:44 AM
Please point me in the right direction. nickkindle Amazon Kindle 0 06-15-2011 09:18 AM
Making sure a file exists in a special format Moik Conversion 3 05-25-2011 04:29 PM


All times are GMT -4. The time now is 09:52 AM.


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