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-12-2026, 11:55 PM   #11581
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 49,564
Karma: 174632684
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ownedbycats View Post
Running checks in epub-editor, noticed FFF downloads have Unexpected unknown property "adobe-hyphenate" (property-no-unknown). Supposed to do something?
That's was created by Adobe. That entry in the CSS enables hyphenation for old Adobe renderers. I suspect you will notice no side effects from removing it even using the Kobo ereader's RMSDK renderer.
DNSB is offline   Reply With Quote
Old 01-13-2026, 11:34 AM   #11582
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,462
Karma: 81408765
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by DNSB View Post
That's was created by Adobe. That entry in the CSS enables hyphenation for old Adobe renderers. I suspect you will notice no side effects from removing it even using the Kobo ereader's RMSDK renderer.
I was trying to figure out if book was causing Kobo battery drain. Thankfully it was different issue.
ownedbycats is offline   Reply With Quote
Advert
Old 01-13-2026, 12:29 PM   #11583
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,234
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Running checks in epub-editor, noticed FFF downloads have Unexpected unknown property "adobe-hyphenate" (property-no-unknown). Supposed to do something?
From defaults.ini:
Code:
## Allow customization of CSS.  Make sure to keep at least one space
## at the start of each line and to escape % to %%.  Also need
## background_color to be in the same section, if included in CSS.
## 'adobe-hyphenate: none;' prevents hyphenation on newer Nooks
## STR(wG) (1.2.1+ for sure)
output_css:
 body { background-color: #%(background_color)s;
        text-align: justify;
        margin: 2%%;
	adobe-hyphenate: none; }
....
I don't like hyphenation and I used to use Nook readers. They, like many others at the time, used an adobe engine for rendering.

No idea if that still does anything or not. I haven't daily'ed a Nook in probably 10 years.

Actually, it affects my current KOReader! I may change the comment in defaults.ini, though.
JimmXinu is offline   Reply With Quote
Old 01-13-2026, 07:42 PM   #11584
richard6154
Junior Member
richard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheese
 
richard6154's Avatar
 
Posts: 9
Karma: 1000
Join Date: Jul 2022
Location: Perth Australia
Device: Kobo Libra H2O
Intrigued: Updating one story with new a chapter changes all the authors stories modified date?

This has been happening for a while, its not a serous problem but it has me intrigued as its inconsistent and only happens to a few authors not every author.

Has anybody seen or experienced this? Some clue on why or how to stop it happening would be appreciated.

Last edited by richard6154; 01-13-2026 at 07:43 PM. Reason: Spelling
richard6154 is offline   Reply With Quote
Old 01-13-2026, 07:51 PM   #11585
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,234
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Do you have stories with the same Author name from different sites?

By default, each FFF update sets the author's URL in the library DB by author name. If the URL hasn't changed, the modified date doesn't change.

OTOH, if you last updated a story by 'Bob' on AO3, and now you update one by 'Bob' on ffnet, all stories by Bob are 'touched' by the author URL changing.

You can turn off setting author url in FFF Config > Standard Columns tab > Author(s).

The few times it's bothered me, I've some edits like this:
Code:
[www.tthfanfic.org]
add_to_replace_metadata:
 author=>^dogbertcarroll$=>dogbertcarroll-tth
JimmXinu is offline   Reply With Quote
Advert
Old 01-14-2026, 07:52 AM   #11586
richard6154
Junior Member
richard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheeserichard6154 can extract oil from cheese
 
richard6154's Avatar
 
Posts: 9
Karma: 1000
Join Date: Jul 2022
Location: Perth Australia
Device: Kobo Libra H2O
Thumbs up Thanks - Intrigued: Updating one story

Quote:
Originally Posted by JimmXinu View Post
Do you have stories with the same Author name from different sites?
Yes I do, thanks this explains whats happenning.

and LOL

Quote:
Originally Posted by JimmXinu View Post
author=>^dogbertcarroll$=>dogbertcarroll-tth
This is the exact author and site today thats caused me remembering and writing my query.
richard6154 is offline   Reply With Quote
Old 01-14-2026, 10:36 PM   #11587
whiteowl
Member
whiteowl began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2020
Device: none
Does the plugin reload the old chapters? If initially in the new chapter there were typos and they were fixed later - will updating the book update the chapter?
I kind of hope it would, but in FAQ we have a question https://github.com/JimmXinu/FanFicFa...are-downloaded Which I understand - do not re-download the existing chapter?

What about old images? I read a book at SV a few years ago and I remember there were illustrations. Downloaded that book yesterday - all illustration are gone. And upon checking the source thread on SV - the images were based in googleusercontent.com and apparently do not exist anymore.
So it get me thinking - that if I had downloaded these chapters (with images) when image's url was alive - and later updated the book for new chapters (at which moment the image from the first chapter no longer exist) - will that image survive in the epub?

I realize I am kind of asking for the opposites here - update the chapter's text and not update image referenced in the chapter. But.... What is the current policy on that?

At least for xenoforum, we can look at the end of the old post and see a mark: "Last edited: Month DD, YYYY", if that day is later than a date of epub's chapter it would make sense to re-download it. And for images, if url changed - re-download, if url broken - do not touch.
Is that possible?
whiteowl is offline   Reply With Quote
Old 01-14-2026, 10:36 PM   #11588
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: 826
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
Just tried downloading 2 stories from AO3 tonight. Both are new and do not exist in my library. 1 worked. The other has the following comment in the log: bad escape \C at position 9

Any suggestions?

edit: more info. I restarted in debug mode to see what info I could get.

Quote:
FFF: ERROR: 2026-01-14 20:48:24,052: story.py(973): Exception with replacement line,valuecharacters=>^Original (.*)Character(\(s\)|s|)$=>Original \Character(s)),(Original Skywalker Character(s))

FFF: ERROR: 2026-01-14 20:48:24,052: calibre_plugins.fanficfare_plugin.dialogs(791): Exception: {'title': 'Stardust', 'author_sort': ['Unknown'], 'author': ['kaybohls'], 'comments': '', 'good': False, 'status': 'Error', 'showerror': True, 'calibre_id': None, 'begin': None, 'end': None, 'comment': 'bad escape \\C at position 9', 'url': 'https://archiveofourown.org/works/15344100', 'site': 'archiveofourown.org', 'series': '', 'added': False, 'pubdate': None, 'publisher': None, 'uniqueurl': 'https://archiveofourown.org/works/15344100[None-None]', 'listorder': 0, 'collision': 'Update EPUB if New Chapters', 'is_adult': False, 'username': 'NoneGiven', 'password': '', 'totp': None, 'icon': 'plus.png'}:bad escape \C at position 9
So...that has to do with one of the replace lines in my personal.ini. So I commented that out and retried and it did download fine.

So...the replace line in question I thought I copied correctly from somewhere on the github/wiki? But maybe not. But there is something about it that wasn't happy.

Quote:
# characters=>^Original (.*)Character(\(s\)|s|)$=>Original \Character(s)
Author has tags in the story for "Original Child Character(s)" and "Original First Order Character(s) (Star Wars)" and "Original Skywalker Character(s)".

Last edited by texasnightowl; 01-14-2026 at 11:05 PM.
texasnightowl is offline   Reply With Quote
Old 01-14-2026, 11:17 PM   #11589
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: 826
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
Also, my regex knowledge is essentially zero.

But I did go to regex101 and if I put in a regex of: ^Original (.*)Character(\(s\)|s|)$

And then put in the test strings, the Original Child entry "matches" and the Original Skywalker entry "matches". But for the "Original First Order Character(s) (Star Wars)" does not match. It appears to be the (Star Wars) at the end.

But I have no idea how to edit the line to handle such an instance?
texasnightowl is offline   Reply With Quote
Old 01-14-2026, 11:38 PM   #11590
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,234
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by whiteowl View Post
I realize I am kind of asking for the opposites here - update the chapter's text and not update image referenced in the chapter. But.... What is the current policy on that?
If a chapter is already present in the epub when you update, it is not downloaded again. That's rather the point. Which would also be defeated by downloading it to check for a 'last edit' time. Which most of the supported sites don't have.

Technically you can force FFF to re-download chapters while re-using the previously downloaded images--assuming they have the same URLs still, but it's a manual process.

You can go into each chapter you want to re-download in Edit book and remove the <meta name="chapterurl" ... line before updating. You'd need to Update Always if there isn't a new chapter because 'If New Chapters' works purely by chapter count.

(That's an 'off label use', as it were. If you aren't comfortable editing your epub, you shouldn't be doing it. And make backups.)

I might consider a hybrid update/overwrite mode that keeps existing images while replacing all chapters if other users chime in that they'd find it useful.
JimmXinu is offline   Reply With Quote
Old 01-14-2026, 11:54 PM   #11591
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,234
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by texasnightowl View Post
So...the replace line in question I thought I copied correctly from somewhere on the github/wiki? But maybe not. But there is something about it that wasn't happy.
FYI, use [code], not [quote] around log and ini lines. Otherwise MR removes them when I quote you.
Code:
 characters=>^Original (.*)Character(\(s\)|s|)$=>Original \Character(s)
Remove the \ in front of Character(s). The error told you what's wrong: bad escape \C

Quote:
Originally Posted by texasnightowl View Post
Also, my regex knowledge is essentially zero.

But I did go to regex101 and if I put in a regex of: ^Original (.*)Character(\(s\)|s|)$

And then put in the test strings, the Original Child entry "matches" and the Original Skywalker entry "matches". But for the "Original First Order Character(s) (Star Wars)" does not match. It appears to be the (Star Wars) at the end.

But I have no idea how to edit the line to handle such an instance?
The $ anchor means 'end of the string'. But now you want it to match chars before the end of the string.

If you just remove $, it doesn't completely get it because the line will only replace what matched to that point. You need to add .* before the end anchor($) to match anything else that may come.

Code:
 ^Original (.*)Character(\(s\)|s|).*$=>Original Character(s)

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.
JimmXinu is offline   Reply With Quote
Old Yesterday, 12:15 AM   #11592
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: 826
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
Quote:
Originally Posted by JimmXinu View Post
Remove the \ in front of Character(s). The error told you what's wrong: bad escape \C
I found the sample I copied it from but it looks like I missed a character. On the MetadataManagement page. It has a \1Character(s). Why "\1"?

Quote:

The $ anchor means 'end of the string'. But now you want it to match chars before the end of the string.

If you just remove $, it doesn't completely get it because the line will only replace what matched to that point. You need to add .* before the end anchor($) to match anything else that may come.

Code:
 ^Original (.*)Character(\(s\)|s|).*$=>Original Character(s)
thanks, I will add this!

Quote:
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.
Oh yes. at least once or twice. I mentioned a few posts back that I'm starting a new test library. My main fanfic library has so many crap tags in it that I can't stand it. I'm moving forward with a new library and basically excluding "genre" aka the crap freeform tags. I still have to deal with too many characters being tagged when they barely appear. But I couldn't stand stupid tags like "lol" or "finally" or "the author regrets nothing" and so much worse! So I've decided to just go forward with none of them! I'll occasionally miss helpful tags but I'd rather add a few of my own as I read than deal with all the stupid and useless ones.
texasnightowl is offline   Reply With Quote
Old Yesterday, 12:26 AM   #11593
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: 826
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
I did make the 2 changes. Removed the \ in front of Character(s) and added the .* and it does seem to be good. I deleted tags and then did the update metadata from the saved metadata column and the 3 variants of Original did change to be just "Original Character(s)". So yay!

also, back to the subject of tags...since this time around I am doing the saved metadata column, I can still search on those freeformtags even though I removed genre from the "include_subject_tags" line for AO3.

So I can always search for "Alternate Universe" and add a tag to those books later.

Currently trying to figure out what additional character and fandom wrangling I want to do. ie. if a fic has assigned fandoms of Thor & Iron Man & Captain America & The Avengers & MCU...I really don't care about all that and just calling it MCU would be fine. So...I'm still playing.

But I am liking the saved metadata column. I didn't have that before.

Last edited by texasnightowl; Yesterday at 12:35 AM.
texasnightowl is offline   Reply With Quote
Old Yesterday, 10:09 AM   #11594
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,234
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by texasnightowl View Post
I found the sample I copied it from but it looks like I missed a character. On the MetadataManagement page. It has a \1Character(s). Why "\1"?
Backreference to put matched parans from expression in result. See https://www.regular-expressions.info...cebackref.html
JimmXinu is offline   Reply With Quote
Old Yesterday, 05:22 PM   #11595
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,234
Karma: 5007213
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Alpha Test Version Attached

2026-01-15
- Image Handling Changes

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.

REMOVED due to bug

Last edited by JimmXinu; Yesterday at 07:01 PM.
JimmXinu 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 03:22 PM.


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