View Single Post
Old 04-05-2017, 10:49 AM   #52
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,748
Karma: 206739468
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by patrik View Post
Great plugin! Nice and clean code.

Would it be possible to have the option to add what's imported as a new .xhtml-file (keeping the current files)? Would save me quite some time (now I'm manually doing the merge via cut'n'paste between epubs, could also use the calibre-plugin but would prefer not using calibre at this stage).

Thanks!
It wouldn't be impossible, but it would need to be a completely different plugin. An Import Plugin, by its very definition, creates a brand-new epub.

I could possibly create an Edit Plugin that reuses this plugin's code to add docx files to existing epubs as new files, but I don't know how soon I could get around to it.

In the meantime, you could always use Sigil's Export/Save as (I forget, offhand, the exact terminology used when right-clicking on a file in Sigil's Book Browser) to save the xhtml file being imported to an external location. After which, you wouldn't even have to save the newly-created epub. Then you can import that xhtml file into an existing epub.
DiapDealer is online now   Reply With Quote