|
|
#11521 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,185
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Code:
## words_added is only used in logpage because it's the only
## place we know the previous version's word count.
if 'words_added' in (self.getConfigList("logpage_entries") + self.getConfigList("extra_logpage_entries")):
new_words = self.story.getMetadata('numWords')
old_words = oldvalues.get('numWords',None)
if new_words and old_words:
self.story.setMetadata('words_added',commaGroups(unicode(int(new_words.replace(',',''))-int(old_words.replace(',','')))))
|
|
|
|
|
|
|
#11522 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,204
Karma: 1000000
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
Code:
logpage_entries: numChapters,numWords Code:
logpage_entries: numChapters,numWords,words_added However the only entries listed are these ones: Code:
logpage_entries: dateCreated,datePublished,dateUpdated,numChapters,numWords,status,series,title,author,description,category,genre,rating,warnings Thanks, Amalthia I was never opposed to adding words_added to the logpage entries. |
|
|
|
|
| Advert | |
|
|
|
|
#11523 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,204
Karma: 1000000
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Hi,
Just an update, after adding "words_added" to the logpage_entries, the word count is now showing up in my custom column. That was the last missing piece to making this work. Thanks again for all your help and patience in answering my questions. Amalthia |
|
|
|
|
|
#11524 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Dec 2025
Device: Kobo Aura One
|
Question...
Getting a slightly annoying issue with a story where this: "This world was merely modeled<em> </em>after the game she knew, not identical to it." ends up removing that em tag completely when downloaded through FFF, so the words don't have a space between them. Is there a way to prevent this? |
|
|
|
|
|
#11525 | |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,185
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Code:
add_to_keep_empty_tags:,em Code:
## By default, empty tags are removed as part of cleaning up the ## source HTML. However, a few tags should be kept even if empty. ## (Whitespace only, including is considered empty.) This ## setting can adjust which tags are kept. keep_empty_tags:p,td,th |
|
|
|
|
| Advert | |
|
|
|
|
#11526 |
|
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,185
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2025-12-20 - Calc words_added even if not in logpage_entries. - AO3: Site changed 'don't have permission' string |
|
|
|
|
|
#11527 |
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38
Karma: 2464
Join Date: Dec 2020
Location: Vancouver, Canada
Device: iPad, Mac Mini M4 Pro
|
I think this came up regarding A03, but I don't recall it happening to FFN. Yesterday, using v4.52.0, all was well (hmm, that sound familiar). Today ... nope. I updated to v4.52.6 and still no change.
Stephen ***** A follow up. Thanks to texasnightowl, I turned off my VPN and it works now. Stupid me. Sorry about any confusion. Last edited by booster-t; Yesterday at 02:53 PM. |
|
|
|
|
|
#11528 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 818
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
anyone having issues with AO3 today? just sitting at fetching metadata for minutes at a time. long enough that it says Calibre is not responding. I did update to 4.52 in case there was something changed or fixed, but same problem.
I last downloaded some stories on the 17th and had no issues at all. edit: I also turned off my VPN in case that was the issue. But no change. |
|
|
|
![]() |
| Tags |
| fanfiction |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 527 | 08-15-2025 02:36 PM |
| [GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 06:42 AM |
| [GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 01:48 PM |
| [GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 07:39 PM |
| [GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 01:27 PM |