View Single Post
Old 04-24-2015, 03:32 PM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,687
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Last year I created a throwaway Sigil incrementation plugin that might do the trick. Since I only used it for 2 books, you might want to thoroughly test it with a backup copy first.

Note that since all Sigil plugins require Python, you'll need to install Python 2.7. I'd recommend installing ActivePython 2.7.8.1. (Do not install the 3.4.1.0 version; it's incompatible with this plugin.)

To install the plugin do the following:

0. Install Python 2.7.
1. Select Plugins > Manage Plugins.
2. Click the Auto button after Python 2.7. (You should see a file path.)
3. Click Add Plugin, select the attached .zip file, click Open and OK.

You can select the plugin via Plugins > Edit > AddIDs > Start.
To process all a tags in the epub simply click OK.
To process only a tags with a specific class, enter class in the Attribute box and the name of the class in the Value box.
Attached Files
File Type: zip AddIDs.zip (144.5 KB, 399 views)

Last edited by Doitsu; 04-24-2015 at 05:35 PM. Reason: Updated BS3 to BS4
Doitsu is offline   Reply With Quote