Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-16-2016, 10: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
Old 11-16-2016, 10: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: 43,858
Karma: 22666666
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 offline   Reply With Quote
Advert
Old 11-16-2016, 11:15 AM   #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, 11:59 AM   #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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In the plugins subforum and yes.
kovidgoyal is offline   Reply With Quote
Old 11-16-2016, 12: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, 01: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: 43,858
Karma: 22666666
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 offline   Reply With Quote
Old 11-16-2016, 07: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: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
@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


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 09:46 PM
Plugin for making a summary list about your books equilan1986 Plugins 2 01-08-2013 07:21 AM
What is the point to the Topaz format apastuszak Amazon Kindle 3 06-23-2011 11:44 PM
Please point me in the right direction. nickkindle Amazon Kindle 0 06-15-2011 08:18 AM
Making sure a file exists in a special format Moik Conversion 3 05-25-2011 03:29 PM


All times are GMT -4. The time now is 04:14 PM.


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