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 01-15-2026, 07:02 PM   #11596
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,235
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
FYI, I just found another bug don't use the test version previously posted.
JimmXinu is offline   Reply With Quote
Old 01-15-2026, 08:12 PM   #11597
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,235
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Alpha Test Version Attached - Take Two!

2026-01-15
- Image Handling Changes
- Fix oversight in the 'all images in the epub' code that caused <img longdesc origurl to be replaced with the internal file name when it shouldn't.

This is an alpha level test version that makes a bunch of changes to FFF's image handling with the intention of making CSS url() images work.

I've written a wiki document all about it: Image Handling Changes - uuid5 file names and CSS url() because I wanted to use document formatting and markdown is easier than MR's mark up lang.

It's an alpha level test because I still found several things to change/fix just while writing the document.
Attached Files
File Type: zip FanFicFare.zip (1.84 MB, 779 views)
JimmXinu is offline   Reply With Quote
Advert
Old Yesterday, 07:04 AM   #11598
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,463
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: Similar to the ini code that removes empty paragraphs, is one that turns linebreaks into proper paragraphs? Can edit manually, just would be easier.
ownedbycats is offline   Reply With Quote
Old Yesterday, 11:11 AM   #11599
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,235
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Question: Similar to the ini code that removes empty paragraphs, is one that turns linebreaks into proper paragraphs? Can edit manually, just would be easier.
This cluster of settings?

Code:
## Some sites/authors/stories use several br tags for scene/section
## breaks.  When set replace_xbr_with_hr:X will cause FFF to search
## for X or more consecutive br tags and replace them with br br hr br.
#replace_xbr_with_hr:3

## Some readers don't show horizontal rule (<hr />) tags correctly.
## This replaces them all with a centered '* * *'.  (Note centering
## doesn't work on some devices either.)
#replace_hr: false

## Some sites/authors/stories use br tags instead of p tags for
## paragraphs.  This feature uses some heuristics to find and replace
## br paragraphs with p tags while preserving scene breaks.
#replace_br_with_p: false

## Some sites/authors/stories (notably AO3/OTW) add empty p tags where
## they aren't intended by the author during document upload and not
## all authors know how/take the time to fix it.  This feature removes
## all "empty" <p> tags, ie, those containing only whitespace or <br>
## tags.
#remove_empty_p: false
JimmXinu is offline   Reply With Quote
Old Yesterday, 12:36 PM   #11600
Atherton25
Zealot
Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.
 
Posts: 127
Karma: 3804
Join Date: May 2016
Device: Elipsa 2E, Libra Colour
Does the new image handling keep the old link if it can't download it? Such as downloading from Scribblehub, it didn't in the past. Maybe I just didn't have a flag set right if so.

I was catching up on posts, and saw that you can download images through the editor, so I went to a scribblehub story I've read in the past, found out it didn't keep the original URL - but it did keep the image name, so I wrote a quick replacement regex to insert the image name and the base URL since the author published them all in the same place and (almost) all of the image URL's were able to be used with the download option. I'd love to have this ability if it there isn't an option.
Atherton25 is offline   Reply With Quote
Advert
Old Yesterday, 01:24 PM   #11601
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,235
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Atherton25 View Post
Does the new image handling keep the old link if it can't download it? Such as downloading from Scribblehub, it didn't in the past. Maybe I just didn't have a flag set right if so.
No. If FFF fails to download an image, replaces the tag as <img longdesc="failedtoload" src="failedtoload"/> so that it never tries again.

This is deliberate because it's not uncommon for older stories to have dozens of broken images and we don't want FFF spending time retrying each one three times every update.

I suppose that keeping the origurl while also marking failedtoload might be possible...
Quote:
Originally Posted by Atherton25 View Post
I was catching up on posts, and saw that you can download images through the editor, so I went to a scribblehub story I've read in the past, found out it didn't keep the original URL - but it did keep the image name, so I wrote a quick replacement regex to insert the image name and the base URL since the author published them all in the same place and (almost) all of the image URL's were able to be used with the download option. I'd love to have this ability if it there isn't an option.
I haven't tested extensively, but with the new image handling, if you manually put an <img src="imgurl"/> tag into chapter text, FFF will get it and process it as normal (fetching, including, and naming ffdl-uuid.ext) on the next update.
JimmXinu is offline   Reply With Quote
Old Yesterday, 01:28 PM   #11602
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,463
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by JimmXinu View Post
This cluster of settings?

Code:
## Some sites/authors/stories use several br tags for scene/section
## breaks.  When set replace_xbr_with_hr:X will cause FFF to search
## for X or more consecutive br tags and replace them with br br hr br.
#replace_xbr_with_hr:3

## Some readers don't show horizontal rule (<hr />) tags correctly.
## This replaces them all with a centered '* * *'.  (Note centering
## doesn't work on some devices either.)
#replace_hr: false

## Some sites/authors/stories use br tags instead of p tags for
## paragraphs.  This feature uses some heuristics to find and replace
## br paragraphs with p tags while preserving scene breaks.
#replace_br_with_p: false

## Some sites/authors/stories (notably AO3/OTW) add empty p tags where
## they aren't intended by the author during document upload and not
## all authors know how/take the time to fix it.  This feature removes
## all "empty" <p> tags, ie, those containing only whitespace or <br>
## tags.
#remove_empty_p: false
Thank you! I guess these are best on storyUrl sections rather than a default?
ownedbycats is offline   Reply With Quote
Old Yesterday, 01:36 PM   #11603
Atherton25
Zealot
Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.
 
Posts: 127
Karma: 3804
Join Date: May 2016
Device: Elipsa 2E, Libra Colour
Quote:
Originally Posted by JimmXinu View Post
I suppose that keeping the origurl while also marking failedtoload might be possible...

I haven't tested extensively, but with the new image handling, if you manually put an <img src="imgurl"/> tag into chapter text, FFF will get it and process it as normal (fetching, including, and naming ffdl-uuid.ext) on the next update.
Well, I don't mind either way, but it's nice to be able to use something, even if it's post FFF download, to get the pictures. Using the Calibre Book Editor worked fine for me, though I had to go get a script (in action chains) to compress the pictures because my <1MB file turned into 122MB.

Just having some option was nice though.
Atherton25 is offline   Reply With Quote
Old Yesterday, 01:48 PM   #11604
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,235
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Thank you! I guess these are best on storyUrl sections rather than a default?
Personal choice, really.
Quote:
Originally Posted by Atherton25 View Post
Well, I don't mind either way, but it's nice to be able to use something, even if it's post FFF download, to get the pictures. Using the Calibre Book Editor worked fine for me, though I had to go get a script (in action chains) to compress the pictures because my <1MB file turned into 122MB.
If images failed during initial download, but work later, using FFF's Overwrite Always is a simple, if brute force solution. Or manually deleting the affected chapters before using Update.

Then you'd get FFF's usual image processing, too.
JimmXinu is offline   Reply With Quote
Old Yesterday, 02:07 PM   #11605
Atherton25
Zealot
Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.Atherton25 can teach chickens to fly.
 
Posts: 127
Karma: 3804
Join Date: May 2016
Device: Elipsa 2E, Libra Colour
Quote:
Originally Posted by JimmXinu View Post
If images failed during initial download, but work later, using FFF's Overwrite Always is a simple, if brute force solution. Or manually deleting the affected chapters before using Update.

Then you'd get FFF's usual image processing, too.
Honestly, I've never had a scribblehub image work in months, they always fail for me.

It may be processing, because generally (but that's just in the last 2 weeks) whenever I've been processing a scribblehub story I use a combination of Browsercache and flaresolverr. I found if I open the story/updates in my browser and flaresolverr grabs the TOC, it doesn't have to all go through Flaresolverr which really doesn't like scribblehub.

If I download a long story with only flaresolverr it I can generally only get 20-30 chapters before it'll fail, and maybe 3 books at a time, after that they all just fail. I've bumped up my slowdown by a lot and it's still the same *shrug*.

My current settings for Scribblehub sleep timer are:
slow_down_sleep_time:6
tweak_fg_sleep:true
min_fg_sleep:6.0
max_fg_sleep:14.0
max_fg_sleep_at_downloads: 7

And I still had lots of errors when I was getting stuff, mostly documents failing a couple dozen chapters in, if not before. Because I've got the setting to grab what it can, I was generally waiting a few hours and then starting the download again, getting books progressively until I found the shortcut I mentioned at the top. It doesn't work perfectly, but it's way better and I don't have to wait a day or two or progressive downloads when I try and grab something.

Last edited by Atherton25; Yesterday at 02:21 PM.
Atherton25 is offline   Reply With Quote
Old Yesterday, 08:33 PM   #11606
Hlord369
Junior Member
Hlord369 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2025
Device: None
Organizing Downloaded Fics by Original Download Date Vs Update Date?

I recently added FanFicFare to download Ao3 fanfics with large numbers of images but I have a problem; I like to organize the stories in my library by date, and when the story updated with a new chapter I used the update function in Calibre to update it, but that caused it to move out of order with the other stories in the series because it changed the date from when it was added to when it was updated, how can I fix this without repeatedly manually editing the date, maybe by adding a new date column?

Last edited by Hlord369; Yesterday at 08:37 PM.
Hlord369 is offline   Reply With Quote
Old Yesterday, 09:06 PM   #11607
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,235
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Hlord369 View Post
I recently added FanFicFare to download Ao3 fanfics with large numbers of images but I have a problem; I like to organize the stories in my library by date, and when the story updated with a new chapter I used the update function in Calibre to update it, but that caused it to move out of order with the other stories in the series because it changed the date from when it was added to when it was updated, how can I fix this without repeatedly manually editing the date, maybe by adding a new date column?
Add a custom date column, populate it with FFF's Created date, but New Only.
You can do that from FFF's Custom Columns config tab.

You can also order by Series at any time, and there's even a shortcut key (alt-s) to quickly search for a series.
JimmXinu is offline   Reply With Quote
Old Yesterday, 11:20 PM   #11608
Hlord369
Junior Member
Hlord369 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2025
Device: None
Creating Custom Date Column?

Thanks! What's the best way to do a custom date column? I mean, what I should do for the lookup name, etc.? Also, I keep having issues when trying to do a quick reply, it keeps saying that the site is temporarily rate limited and to try again later.
Hlord369 is offline   Reply With Quote
Old Yesterday, 11:49 PM   #11609
bigwoof
Connoisseur
bigwoof began at the beginning.
 
Posts: 89
Karma: 18
Join Date: Jun 2020
Device: Android devices via Samsung Phone and Boox Palma 2
Quote:
Originally Posted by JimmXinu View Post
I assume you've heard my sermon on the ultimate futilely of wrangling AO3 tags? I don't remember how long it's been since I last gave it.
have not been here for a while. but just saw this and went "THIS!!"..

To "solve" this exact problem, I ended up writing a whole set of custom action chain scripts all tied together in an action chain module mapped to a hotkey. so for any new AO3 book, instead of whatever the authors thinks I need to know about, I just press the hotkey and the module changes all the tags to things I care about (by extracting and processing keywords from all the fields present in the metadata).

yes, it means I will never get any new tags but it also means my tags are capped at 115 (what calibre tells me) which makes my mobile book reader (moon+) happy when I search :-)
bigwoof 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 07:58 AM.


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