Hi All,
Thanks to Doitsu and Tenome, and others, a few more bugs were squashed related to properly injecting ids when no id is found on the parent or the image/img tag.
In addition Plugin Preferences for mode of operation for the plugin are now used:
LOI-Generator.json
Code:
{
"mode": "comment"
"tabwidth": 4
}
The possible mode values are:[LIST][*]"keep" - use url as desc and treat it as a valid entry even if no caption or title or alt found
[*]"drop" - remove entries where no desc can be found in captions, titles, or alt
[*]"comment" - wrap any entries where no desc can be found in comments
In addition, proper indentation for injected code is now handled and if "drop" is selected as the mode, no ids are added for items when no desc (caption or title or alt) can be found.
After the first run of the plugin, it will default to "comment" mode but the user can edit the LOI-Generator.json to suit their taste.
This plugin should now be usable/
Download LOI-Generator_v030.zip from the attachments of this is post:
https://www.mobileread.com/forums/sh...7&postcount=33