From 04e0bde07bf3a4ac82fc262bf84460f66ab9a6b4 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Thu, 16 Apr 2015 13:30:13 -0500 Subject: [PATCH] Update PI about box. --- calibre-plugin/about.html | 32 ++++++++++++++++++++++++++++++++ calibre-plugin/about.txt | 28 ---------------------------- calibre-plugin/fff_plugin.py | 2 +- makeplugin.py | 2 +- 4 files changed, 34 insertions(+), 30 deletions(-) create mode 100644 calibre-plugin/about.html delete mode 100644 calibre-plugin/about.txt diff --git a/calibre-plugin/about.html b/calibre-plugin/about.html new file mode 100644 index 0000000..89ff71a --- /dev/null +++ b/calibre-plugin/about.html @@ -0,0 +1,32 @@ +
+ +

Plugin created by Jim Miller, borrowing heavily from Grant Drake's + 'Reading List', + 'Extract ISBN' and + 'Count Pages' + plugins.

+ +

+ Calibre officially distributes plugins from the mobileread.com forum site. + The official distro channel for this plugin is there: FanFicFare +

+ +

I also monitor the + general users + group for the downloader. That covers the web application and CLI, too. +

+ +

+ The source for this plugin is available at it's + project home. +

+ +
+ +

+ See the list of supported sites. +

+ +

+ Read the FAQs. +

diff --git a/calibre-plugin/about.txt b/calibre-plugin/about.txt deleted file mode 100644 index deac788..0000000 --- a/calibre-plugin/about.txt +++ /dev/null @@ -1,28 +0,0 @@ -
- -

Plugin created by Jim Miller, borrowing heavily from Grant Drake's -'Reading List', -'Extract ISBN' and -'Count Pages' -plugins.

- -

-Calibre officially distributes plugins from the mobileread.com forum site. -The official distro channel for this plugin is there: FanFictionDownLoader -

- -

I also monitor the -general users -group for the downloader. That covers the web application and CLI, too. -

- -The source for this plugin is available at it's -project home. -
- -

-See the list of supported sites. -

-

-Read the FAQs. -

diff --git a/calibre-plugin/fff_plugin.py b/calibre-plugin/fff_plugin.py index 594cc25..208568b 100644 --- a/calibre-plugin/fff_plugin.py +++ b/calibre-plugin/fff_plugin.py @@ -350,7 +350,7 @@ class FanFicFarePlugin(InterfaceAction): # get_resources will return a dictionary mapping names to bytes. Names that # are not found in the zip file will not be in the returned dictionary. - text = get_resources('about.txt') + text = get_resources('about.html') AboutDialog(self.gui,self.qaction.icon(),self.version + text).exec_() def create_menu_item_ex(self, parent_menu, menu_text, image=None, tooltip=None, diff --git a/makeplugin.py b/makeplugin.py index 8dd9402..56c8efb 100644 --- a/makeplugin.py +++ b/makeplugin.py @@ -25,7 +25,7 @@ if __name__=="__main__": exclude=['*.pyc','*~','*.xcf','*[0-9].png','*.po','*.pot','*default.mo','*Thumbs.db'] os.chdir('calibre-plugin') - files=['plugin-defaults.ini','plugin-example.ini','about.txt', + files=['plugin-defaults.ini','plugin-example.ini','about.html', 'images','translations'] files.extend(glob('*.py')) files.extend(glob('plugin-import-name-*.txt'))