Thread: Borkify ePUB
View Single Post
Old 07-22-2015, 07:53 AM   #1
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Borkify ePUB

Current Version: "0.2.0"

This post caused a bit of derailing of the original topic (not that uncommon... )

Anyway, I suggested to make an output plugin for Sigil that actually 'borkified' an ePUB. That way a client could see the ePUB as it would look like without actually being useful since the text is altered. Or you could use it for fun of course...

So, I stepped up to the plate and made the plugin. Install it like normal and it will appear amongst the output plugins. When you run it, you can choose the new filename and location.

In the plugin directory there will be, after it has run first, a configuration file. It only has one parameter and this accepts the following values:
- 0: Random choose of 'dialect' for each text element (e.g. a span inside a paragraph is a different element)
- 1: text will resemble speech from the Swedish Chef
- 2: text will resemble speech from Elmer Fudd
- 3: text will resemble the "Olde English" speech

Perhaps I will incorporate a selection screen for the option before the export at a later stage. As for now that goes beyond my Python skills.

If you want more dialects, you need to provide me with the rules.
Attached Files
File Type: zip Borkify_v0.1.zip (17.3 KB, 854 views)
File Type: zip Borkify_0.2-plugin.zip (17.7 KB, 1725 views)

Last edited by Toxaris; 01-09-2016 at 04:28 AM.
Toxaris is offline   Reply With Quote