Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 03-21-2020, 08:42 AM   #1
The_book
Zealot
The_book began at the beginning.
 
Posts: 100
Karma: 10
Join Date: Aug 2019
Device: none
Is there any direct api to using built-in input and output plugins in new plugin?

I have an idea. Create an input plugin and a output plugin to deal markdown. This two plugin do exactly what txt plugin dose, just aim to auto convert .md file, because I am somehow tired to rename file from txt to md everytime. What can I do to start? Is there any direct api to using built-in input and output plugins in new plugin?

Last edited by The_book; 03-21-2020 at 08:56 AM.
The_book is offline  
Old 03-21-2020, 09:29 AM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,069
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
If you look at the implementation of the TXTZ Output plugin in txt_output.py you can see an example of basing one conversion plugin on another.
jhowell is offline  
Advert
Old 03-21-2020, 09:31 AM   #3
issybird
o saeclum infacetum
issybird ought to be getting tired of karma fortunes by now.issybird ought to be getting tired of karma fortunes by now.issybird ought to be getting tired of karma fortunes by now.issybird ought to be getting tired of karma fortunes by now.issybird ought to be getting tired of karma fortunes by now.issybird ought to be getting tired of karma fortunes by now.issybird ought to be getting tired of karma fortunes by now.issybird ought to be getting tired of karma fortunes by now.issybird ought to be getting tired of karma fortunes by now.issybird ought to be getting tired of karma fortunes by now.issybird ought to be getting tired of karma fortunes by now.
 
issybird's Avatar
 
Posts: 21,288
Karma: 234636059
Join Date: Oct 2010
Location: New England
Device: Mini, H2O, Glo HD, Aura One, PW4, PW5
Please don’t cross post. Thread closed.
issybird is online now  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Input] Microsoft Doc Input Plugin igi Plugins 77 03-08-2025 04:04 AM
[Plugin] FolderIn and FolderOut - Folder input and output plugins for Sigil KevinH Plugins 18 11-11-2019 02:26 AM
Conversion plugins without input plugin geek1011 Development 5 04-02-2018 05:14 PM
Mimetypes icons should be plugin-based (for new input/output plugins, e.g.) SauliusP. Development 5 09-15-2012 01:15 PM
Plugin which uses net as input and output medve Development 0 12-04-2011 03:20 PM


All times are GMT -4. The time now is 06:24 PM.


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