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 04-14-2020, 04:54 PM   #1
Publius Ovidius
Junior Member
Publius Ovidius began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2020
Device: Surface Pro 7
Question Plugin for readers dictionary - create flash card to anki

Hey there

Just a short question. I'd like to build a plugin for the reader. The basic idea is as follows:

- Every time I look up a word through the dictionary in Calibre I want to automatically create a flashcard in "Anki" for a given set.
- Once that would work it could be made better, i.e. through selecting the set it Anki by looking up the books tags, etc...

Would it - technically - be possible to add a plugin for the reader and catch the event?

I'm pretty new to programming and Calibre as well and would it consider to be a starting project - it can take me longer, I don't mind.

Thanks for your answers.

Publius
Publius Ovidius is offline   Reply With Quote
Old 04-14-2020, 11:22 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: 44,542
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm afraid since the 4.x viewer rewrite the viewer has no plugin architecture. It's on my TODO list to create one, but I haven't had th etie to do it yet. You would need to modify the viewers source code to make such a change.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-23-2020, 11:43 AM   #3
Publius Ovidius
Junior Member
Publius Ovidius began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2020
Device: Surface Pro 7
okay I'll play with the code to see if I can figure something out ;-)
thanks for your quick response!
Publius Ovidius is offline   Reply With Quote
Reply

Tags
anki, dictionary, reader


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Hymn Reader Krittika Goyal Plugins 1 03-10-2017 02:57 PM
iOS Reader Application Plugin Guinan Plugins 1 03-30-2014 09:18 PM
[GUI Plugin] Recipe Reader Krittika Goyal Plugins 13 06-07-2013 03:09 AM
Looking for ePub reader ActivX plugin Wyndham Plugins 7 06-14-2011 11:02 AM
Plugin for BOOX reader jjje555 Plugins 12 12-21-2009 05:17 PM


All times are GMT -4. The time now is 02:36 PM.


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