![]() |
#9181 | |
Connoisseur
![]() Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
Quote:
I also thought it was some caching flag in the header but could not find anything obvious. A bug in the hashing function.. wow!! that's so rare... I wonder if this will also fix the error I have with the browser cache on chrome where if the cache has been around for a while (say a few days), FanFicFare will just throw a "not in cache" error on new books even after you load them up in the cache (which is quite annoying after you spend the time to load up all the new chapters in the cache). I work around this now by just clearing the cache before any big sync.. will monitor.. Last edited by bigwoof; 01-10-2024 at 07:52 PM. |
|
![]() |
![]() |
![]() |
#9182 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Looking at the FFF debug output, Chrome doesn't update the 'creation' timestamp in the cache when clicking back and forth between chapters, on plain reload (ctrl-r), but it does on forced reload (ctrl-shft-r). When clicking back and forth between chapters, Chrome's F12 networking debug shows a 200 OK (successful download) instead of a 304 Not Modified, which I see for plain reload (ctrl-r). ![]() So I don't know what's going on there. Nor do I see any additional info in the cache I could use to better refine it. What I can offer for that issue is: you can change FFF's browser_cache_age_limit setting. It's a float value of hours, -1 will use any found cache entry, regardless of age. |
|
![]() |
![]() |
Advert | |
|
![]() |
#9183 | ||
Connoisseur
![]() Posts: 88
Karma: 18
Join Date: Jun 2020
Device: Boox Note Air3, don't use my kindle anymore
|
Quote:
Quote:
1. the cache just stops working after a few days and FFF outputs a "file not in cache" error (forgot the actual error name) -- solution: clear the cache frequently before accessing the new pages you want FFF to download 2. some epubs (especially new single chapter epubs) *always* get reloaded by FFF even if you have a fresh cache and have access that epub and force-reload etc. -- solution: live with it. it just makes the whole download process a little longer and causes chrome windows to appear in the middle of your work :-) |
||
![]() |
![]() |
![]() |
#9184 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2024-01-14 - Fix estimatedWords site metadata for SB/SV - thanks mx-sylveon! |
![]() |
![]() |
![]() |
#9185 |
Connoisseur
![]() Posts: 70
Karma: 76
Join Date: Apr 2019
Device: none
|
How hard would it be to allow image pages from Literotica? They just have a "/i/" in place of the "/s/" in the URL. Otherwise, they seem to be identical in page design.
I ask because I have a couple of fantasy stories where the author has included a world map that I would like to include in an anthology with the story. - Andrew |
![]() |
![]() |
Advert | |
|
![]() |
#9186 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2024-01-15 - Allow image/comic (/i/) and poems (/p/) on literotica Quote:
Literotica site is kind of a pain to support and I don't read it, so I don't have many examples to test with. No promises this change will stay if it breaks normal stories. |
|
![]() |
![]() |
![]() |
#9187 |
Connoisseur
![]() Posts: 70
Karma: 76
Join Date: Apr 2019
Device: none
|
|
![]() |
![]() |
![]() |
#9188 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
If no series is provided by the adapter (either because the site has no series, or because it's empty), will the Calibre metadata series be overwritten by a blank?
|
![]() |
![]() |
![]() |
#9189 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
No. You can manually add a series and it will be retained.
|
![]() |
![]() |
![]() |
#9190 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2024-01-17 - Fix for site change, adapter_deviantartcom. #1030 |
![]() |
![]() |
![]() |
#9191 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
FYI, I got (another) notice from Google today that Google Workspace accounts (eg, accounts with your own domain vs gmail.com addresses) won't allow IMAP without OAUTH2 later this year.
I've researched it (again), and what I said in Jun 2022 still applies: Quote:
|
|
![]() |
![]() |
![]() |
#9192 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
|
Changing CSS name
I am taking a shot in the dark on this one.
When adding new fics, is there a way to give the stylesheet a particular name? I name them per year (example, now I rename it to 2024style.css) this way I know later if the fic has the latest stylings or not. I have my stylesheet done up in my .ini, but it would be perfect if, after adding a new fanfic, it could have the up-to-date name already. No problems at all if it can't be done. I make lots of changes all the time, so I might even have to name them year and month at this rate LOL! |
![]() |
![]() |
![]() |
#9193 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
You might also look at the _filelist feature for frequent CSS changes. |
|
![]() |
![]() |
![]() |
#9194 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 125
Karma: 295674
Join Date: Jul 2021
Device: iPhone
|
Is it possible to dynamically change a value in output_css depending on the value of an entry? For example, I want to change the background-color according to the rating of a work.
I thought it would work if I add an extra entry ao3_bg, include the rating values to it, then change its value to certain hex color codes without the hash character then do Code:
replace_metadata: ao3_bg=>General=>527200 ao3_bg=>Teen And Up=>A69905 ao3_bg=>Mature=>AD5600 ao3_bg=>Explicit=>980101 ao3_bg=>Not Rated=>1B1B1B background_color: ao3_bg add_to_output_css: body.fff_titlepage { background-color: #%(background_color)s; } |
![]() |
![]() |
![]() |
#9195 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
The %(var)s substitution is a built-in feature of the INI file parser. It doesn't know anything about FFF metadata entries. (Honestly, I'd rather it didn't--we have to escape % to %% far more often than it's useful.)
I was all set to tell you it's not possible, when I realized, holy crap, it is! ![]() Way back when, I stuck output_css into the story metadata as a convenient (if cheesy) way to pass it to the writer code. And it's been that way ever since. Which means output_css can be edited by replace_metadata. Here's the basic version that works for me. Needed to add "Audiences" to use == matching. Code:
[archiveofourown.org] ## fff_titlepage_color_replace can be something else, but it should ## be unique within output_css and ideally not conflict with regex ## The final FFFFFF line is just to make it a real color if nothing else matches. add_to_replace_metadata: output_css=>fff_titlepage_color_replace=>527200&&rating==General Audiences output_css=>fff_titlepage_color_replace=>A69905&&rating==Teen And Up Audiences output_css=>fff_titlepage_color_replace=>AD5600&&rating==Mature output_css=>fff_titlepage_color_replace=>980101&&rating==Explicit output_css=>fff_titlepage_color_replace=>1B1B1B&&rating==Not Rated output_css=>fff_titlepage_color_replace=>FFFFFF add_to_output_css: body.fff_titlepage { background-color: #fff_titlepage_color_replace; } |
![]() |
![]() |
![]() |
Tags |
fanfiction |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
[GUI Plugin] KiNotes | -axel- | Plugins | 0 | 07-14-2013 06:39 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |