![]() |
#7261 | |
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: May 2022
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#7262 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Oct 2019
Device: Kindle Paperwhite 3
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#7263 |
Connoisseur
![]() Posts: 51
Karma: 10
Join Date: Oct 2014
Device: Kindle Fire HD
|
As far as I can tell, when the update mode is set to "Update EPUB if New Chapters" for most sources any manual edits you make to previous chapters get kept and only the new chapters get downloaded and appended. I seem to be encountering an exception to this when updating a story from AO3, however.
There is a specific story on AO3 that has an in-text higher resolution image available than the one that FFF downloads, so I replace it in the EPUB manually (tried with both the original filename and with the FFF filename and format). The next time I update the fic the image gets reverted to the lower resolution FFF downloaded version. Why is this occurring and can I prevent it from happening? |
![]() |
![]() |
![]() |
#7264 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Image processing happens and, by default, ensures that images are jpg and small enough to be visible in ebook readers. There are several settings you can tweak, see plugin-defaults.ini starting here. You likely want to either increase image_max_size or set no_image_processing:true. |
|
![]() |
![]() |
![]() |
#7265 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
It looks like the author/poster is using p tags in some chapters and div tags--nested in other div tags with nested div tags containing in-between--in many (but not all) chapters between chapters 22 and 83 to indicate paragraphs. It's the difference between this: Code:
<p>The first thought in my mind was: <em>Is he dead?</em></p> Code:
<div> <div>"So let me get this straight," Ran said, lowering her brow.</div> </div> <div> <div> </div> </div> FFF has code to automatically remove most empty(whitespace only) tags because, generally speaking, that's how HTML is meant to work. For most tags, whitespace doesn't matter and an empty tag shouldn't do anything. By default, the exceptions are p, th, and td tags, but that list can be changed with FFF setting keep_empty_tags. So as far as I'm concerned, the question isn't why is this happening on update?, the question is why isn't this happening on the initial download? And the answer is that FFF is removing the whitespace only tags (ie <div> </div>), but that removal leaves it's parent tag, which is now empty(except for whitespace), This: Code:
<div> <div> </div> </div> Code:
<div> </div> So, for dysphere's immediate problem (locations in book reader changing between updates), the solution that's available today is to add div to keep_empty_tags, something like this: Code:
[https://www.royalroad.com/fiction/28806] add_to_keep_empty_tags:,div This is less than ideal as it just keeps the 'empty' tags, but it will stop FFF changing the chapter text across updates. I'm looking at ways to loop the remove-empty-tags code to also remove newly emptied tags. If I figure out something I'm happy with, there will be test version posted. |
|
![]() |
![]() |
Advert | |
|
![]() |
#7266 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: I seem to recall that there was an option to set a custom URL (or filepath?) of an image for the cover. I'm having trouble finding it in defaults.ini. Am I mistaken?
|
![]() |
![]() |
![]() |
#7267 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Mar 2021
Device: none
|
Hey. First time posting, hope this is the right place to ask this.
I'm trying to add something in the replace_metadata: part of the personal.ini so that for example in the relationship category: Background Person 1/Person 2 becomes Person 1/Person 2 (minor) so removing/replacing the Background part of the tag with (minor) at the end. |
![]() |
![]() |
![]() |
#7268 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Mar 2021
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#7269 | ||
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
Quote:
Something like this should work: Code:
add_to_replace_metadata: ships=>^Background (.*)$=>\1 (minor) |
||
![]() |
![]() |
![]() |
#7270 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
New Test Version Posted
2022-06-25 - Refactor code to remove empty tags to also remove now-empty parents by making another pass. - Collect rating for adapter_libraryofmoriacom, refactor rating from TOC in base_efiction. Closes #859 |
![]() |
![]() |
![]() |
#7271 |
Member
![]() Posts: 12
Karma: 10
Join Date: Jan 2018
Location: US
Device: Samsung Tablet & Kindle Fire using Google Play store
|
When trying to update a story from FFN, I am getting the message: browser cache failed to load with error ‘list index out of range’. I’ve tried it about a dozen times and get the same error message.
Is there another new workaround I am missing to get FFN to work? I don’t have stories get updates from FFN very often. Most have migrated to/cross post to AO3. I went through and made sure every chapter of the story was in my cache by clicking on each one. And there were 77. And I have the older workarounds about browser cache and whatever in my personal ini. I’m really not very tech savvy with this kind of stuff but I can follow directions on what to do, I just don’t really grasp the why I am doing it or what it means exactly. |
![]() |
![]() |
![]() |
#7272 |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
There's suggestion a couple pages back, found searching thread for 'cache'.
I've also made it into an FAQ now: I've followed all the instructions in Browser Cache Feature and it isn't working / I'm getting errors--help? |
![]() |
![]() |
![]() |
#7273 | |
Enthusiast
![]() Posts: 26
Karma: 82
Join Date: Aug 2018
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#7274 |
Zealot
![]() Posts: 105
Karma: 10
Join Date: Nov 2012
Location: Germany
Device: Kobo Libra 2
|
There's an issue that pops up from time to time, that occured only with two stories so far. One is finished by now, so it's a moot point, but the other is not doing what it should do.
FFF is set to "overwrite if newer" as well as "update from email". I received an update email today, and when I tried to download the story, it said the story wasn't newer. When I change the setting to "update", it works and fetches the new chapters. The story link is: https://archiveofourown.org/works/37767571 I'm going to switch my settings to "update" instead of "overwrite" (especially because I don't remember why I set it to overwrite in the first place), so it's not an urgent issue. But I thought I could share the work-around if someone else has the same issue. |
![]() |
![]() |
![]() |
#7275 | |
Plugin Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
|
Quote:
So FFF is working as intended in this case. |
|
![]() |
![]() |
![]() |
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 |