New test version posted (direct link).
2016-01-30
Adding Word Count post-processing option, like Smarten Punct.
Fix for html5lib handling noscript oddly, noticed with fictionalley.org.
Fix fictionally.ord description so calibre doesn't <code> it.
I found out recently that the Count Pages plugin doesn't include its own word counting code--it calls existing code inside Calibre.
Since that's what I (personally) use Count Pages for, I decided to go ahead and add it directly into FanFicFare, similar to how it can Smarten Punctuation for you by calling the Calibre routines. This Word Count feature does
not require the Count Pages plugin.
You can choose to have FFF count words for you 'Yes, always', 'No', or 'Yes, unless found on site' (the default). This happens during background processing and is only done when downloading/updating the ebook. It isn't done during 'Update Calibre Metadata'.
Also, the word count
is included in the metadata as if it came from the site at that point. So the 'Only if Word count is missing' option on the Count Pages config tab will never be used if words are counted during processing.
The word count code called by FFF is, in fact, a bit newer than the released version of Count Pages, lifted from a beta version of Count Pages by davidfor. So word counts may not be exactly the same.
To anticipate those who will ask: No, running page counts will not be added the same way--those routines
are inside the Count Pages plugin, not Calibre itself.
I also reorganized the 'Basic' settings tab a bit. See attached.