Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 12-13-2025, 10:49 AM   #11521
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,188
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Amalthia View Post
This is my logpage code: listed under the [epub] section of my persional.ini.

Code:
include_logpage: smart
logpage_entries: numChapters,numWords
logpage_at_end: true
Originally, words_added could only appear in logpage. So the code only calculates it if words_added is also in logpage_entries.
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(',','')))))
I can't immediately see any reason not to remove that check, but I want to think about it a minute. I never considered that someone might want it without putting it in logpage...
JimmXinu is offline   Reply With Quote
Old 12-14-2025, 02:58 AM   #11522
Amalthia
Wizard
Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.
 
Amalthia's Avatar
 
Posts: 1,204
Karma: 1000000
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by JimmXinu View Post
Originally, words_added could only appear in logpage. So the code only calculates it if words_added is also in logpage_entries.
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(',','')))))
I can't immediately see any reason not to remove that check, but I want to think about it a minute. I never considered that someone might want it without putting it in logpage...
Based off what you said, it looks like I need to change my logpage entries from:

Code:
logpage_entries: numChapters,numWords
to this:
Code:
logpage_entries: numChapters,numWords,words_added
I did review the logpage_entries settings in the "View Defaults (plugin-defaults.ini)"

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
I didn't realize you could use "words_added" even if it wasn't listed as a logpage_entry.

Thanks,
Amalthia


I was never opposed to adding words_added to the logpage entries.
Amalthia is offline   Reply With Quote
Old 12-14-2025, 06:35 PM   #11523
Amalthia
Wizard
Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.
 
Amalthia's Avatar
 
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
Amalthia is offline   Reply With Quote
Old 12-17-2025, 07:24 AM   #11524
CaptainSully
Junior Member
CaptainSully began at the beginning.
 
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?
CaptainSully is offline   Reply With Quote
Old 12-17-2025, 11:27 AM   #11525
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,188
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by CaptainSully View Post
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?
For that story, you can do:
Code:
add_to_keep_empty_tags:,em
From defaults.ini:
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 &nbsp; is considered empty.)  This
## setting can adjust which tags are kept.
keep_empty_tags:p,td,th
JimmXinu is offline   Reply With Quote
Old 12-20-2025, 09:44 PM   #11526
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,188
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
JimmXinu is offline   Reply With Quote
Old 12-21-2025, 02:34 PM   #11527
booster-t
Enthusiast
booster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it isbooster-t knows what time it is
 
booster-t's Avatar
 
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.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-12-21 at 10.30.20 AM.png
Views:	30
Size:	58.8 KB
ID:	219827  

Last edited by booster-t; 12-22-2025 at 02:53 PM.
booster-t is offline   Reply With Quote
Old 12-22-2025, 12:13 AM   #11528
texasnightowl
Guru
texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.
 
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.
texasnightowl is offline   Reply With Quote
Old 12-26-2025, 12:22 AM   #11529
whiteowl
Member
whiteowl began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jan 2020
Device: none
I would like an option in FanFicFare to preserve order of chapters, apocrypha and sides stories as they were published on Sufficient Velocity or Space Battles.
I have a suspicion that it was discussed already a few times, but cannot find it in the this many pages...

Anyway, here is my proposal:

The "supporting" chapters can distract from the main story, sure, but they also add some flavor, or influence the autor. But currently the book downloaded form SB or SV forums always has main chapter first, then Side Stories, Apocrypha, Media, etc.

But I believe it is wrong - the Side Stories and Apocrypha do evolve with progression of the main story line. And sometimes the side story become part of main story. And Media posts are often needed as illustration.

As an option, maybe we can have an automatic addition into the main story chapter with limited TOC: "After this chapter the next Media/Side Story/Apocrypha/Information were added". And the side story or apocrypha chapter can be prepended with a text "Published after main chapter XXXX", so the reader will know that there were some illustrations. Or if apocrypha goes against the "truth" as it become known in later chapters, the reader can go back and see at what stage of the main story that apocrypha was added.

So I would like to have a four-way switch:
- group posts by tag (as it is now),
- sort them as they were published in the thread,
- sort by tag with automatic list of references which could be used to see the order of publishing,
- just ignore everything which is not a main story. Just like the "Reader" mode on the forum is already doing it.

It is primarily needed for forum-like sources as SV and SB. Probably some other, which I am not know about, too. Not important for AO3 and similar - they do not have a specific "apocrypha" or "side story" tags. But for SB/SV - would be an excellent addition.
whiteowl is offline   Reply With Quote
Old 12-26-2025, 01:57 PM   #11530
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,188
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by whiteowl View Post
I would like an option in FanFicFare to preserve order of chapters, apocrypha and sides stories as they were published on Sufficient Velocity or Space Battles.
...
Existing FFF options for xenforo forum sites (SB/SV/etc) from defaults.ini:

Code:
## If desired, you can change the order FFF places threadmark
## categories.  (This setting does not remove categories, you need to
## use skip_threadmarks_categories for that.)
#threadmark_category_order:Threadmarks,Sidestory,Apocrypha,Omake,Media,Informational,Staff Post

## By default, FFF orders threadmarks first by category, then in the
## order they appear as determined by the author.  When
## order_threadmarks_by_date:true, all included threadmarks
## (skip_threadmarks_categories still works) will instead be ordered
## by their datetime as reported in threadmarks.  Different threadmark
## categories will be mixed together, and I've seen at least one case
## of post order on the site disagreeing with post datetime.  Note
## that if order_threadmarks_by_date_categories (see below),
## order_threadmarks_by_date is ignored.
#order_threadmarks_by_date:false

## By default, FFF orders threadmarks first by category, then in the
## order they appear as determined by the author.  When
## order_threadmarks_by_date_categories is set, the listed threadmark
## categories are sorted by their datetime (as reported in
## threadmarks), the different threadmark categories mixed together.
## Categories *not* listed in order_threadmarks_by_date_categories
## will all be *after* the date sorted threadmarks in category, then
## threadmark order.  Note that if
## order_threadmarks_by_date_categories is set,
## order_threadmarks_by_date (see above) is ignored.
#order_threadmarks_by_date_categories:Threadmarks,Sidestory
Copy (uncommented) and set in your personal.ini as desired.
JimmXinu is offline   Reply With Quote
Old 12-26-2025, 01:58 PM   #11531
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,188
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2025-12-26
- Changes for #1292 for normalizing different series URL forms. Thanks, dbhmw!
- adapter_literotica: Remove unused chapter_categories_use_all option, fix other site options for better defaults.ini #1292
JimmXinu is offline   Reply With Quote
Old 12-26-2025, 07:35 PM   #11532
whiteowl
Member
whiteowl began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jan 2020
Device: none
Quote:
Originally Posted by JimmXinu View Post
Existing FFF options for xenforo forum sites (SB/SV/etc) from defaults.ini:
Thank you, it does work as I hoped.

But I now found a potential bug? Here is a book: https://forums.spacebattles.com/thre...plete.1058679/

It has an image in the first post (threadmark) and that image was used as a book cover (epub target).

After adding, into `personal.ini` settings:

Code:
[base_xenforoforum]

#threadmark_category_order:Threadmarks,Sidestory,Apocrypha,Omake,Media,Informational,Staff Post

#order_threadmarks_by_date:false

order_threadmarks_by_date_categories:Threadmarks,Sidestory,Media,Omake
I now have an image from the first "Media" post as book cover. And the image from the Prologe completely disappeared.

I do not think it is correct.
whiteowl is offline   Reply With Quote
Old Yesterday, 05:22 AM   #11533
steltek
Connoisseur
steltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura aboutsteltek has a spectacular aura about
 
Posts: 74
Karma: 4484
Join Date: Jan 2016
Device: none
Quote:
Originally Posted by texasnightowl View Post
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.
I've been seeing the same thing intermittently for the last 3 days on AO3, most recently about 5 minutes ago. Have also had a few "page not found" errors, though these were able to be resolved by force reloading the page in the web browser.

As an FYI, I got a "Shields are Up" captcha when attempting the report the problem so it is entirely possible that AO3 is dealing with either an onslaught of AI training bots or yet another extended DDOS attack (or both, as one may mimic the other).
steltek is offline   Reply With Quote
Old Yesterday, 08:48 AM   #11534
MPTSakurada
Junior Member
MPTSakurada began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2025
Device: Boox Page
Possible to make changes to page-progression-direction in opf?

Hi,

(Apologies if this or similar has been asked, I did a thread search for page-progression, and for content.opf more generally, but didn't find anything.)

I'd like to be able to add `page-progression-direction="rtl"` to the spine element in the opf for certain sites, is there a personal.ini option to do this?

The sites are syosetu.com and kakuyomu.jp, because I prefer reading Japanese prose vertically and right to left. I've got the css working to display the pages that way, but page-progression-direction doesn't get set, so it leads to swipes going the wrong direction. Thanks!
MPTSakurada is offline   Reply With Quote
Old Yesterday, 11:32 AM   #11535
whiteowl
Member
whiteowl began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jan 2020
Device: none
Another wish for xenoforum downloads.

- Include poster's name as a chapter author for Omake/SideStory chapters.

Normal Threadmark chapters should go with a primary writer name mentioned in the book's info, but omakes are usually one story per writer and they comes from a different writers. It would be good to see it in the chapter's header, right under the title.

Checked the defaults.ini - do not see anything related to multiple authors or single-chapter authors.
whiteowl is offline   Reply With Quote
Reply

Tags
fanfiction


Forum Jump

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


All times are GMT -4. The time now is 12:05 AM.


MobileRead.com is a privately owned, operated and funded community.