Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 09-19-2026, 10:46 PM   #12466
Snomad
Member
Snomad began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2021
Device: Onyx Book
Quote:
Originally Posted by culytera View Post
You can do this with chapter_end.

Code:
chapter_end:
 <div class="comment-box"><hr/><p class="message">Please <a href="${url}/comments/new">drop by the Archive and comment</a> to let the creator know if you enjoyed their work!</p></div>
 </body>
 </html>
Okay, thank you! That's great to know. Looking through the wiki I can see that this should go under the epub section of the personal.ini, but I only want it to be added when the download source is archive of our own. Should I put it under the archive of our own section or do I need to add something to this epub section code to specify ao3?
Snomad is offline   Reply With Quote
Old 09-19-2026, 11:04 PM   #12467
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,853
Karma: 83109175
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Just curious: When I use the open_pages_in_browser to bypass 525s on AO3, FFF first opens the ToC and the full work Then it then opens the first chapter, but it's afterwards (which is noticible when doing mulitple stories). Why exactly does it do this?
ownedbycats is offline   Reply With Quote
Old 09-19-2026, 11:06 PM   #12468
culytera
Groupie
culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.
 
Posts: 182
Karma: 295686
Join Date: Jul 2021
Device: iPhone
Quote:
Originally Posted by Snomad View Post
Okay, thank you! That's great to know. Looking through the wiki I can see that this should go under the epub section of the personal.ini, but I only want it to be added when the download source is archive of our own. Should I put it under the archive of our own section or do I need to add something to this epub section code to specify ao3?
You can place it under [archiveofourown.org:epub]
culytera is offline   Reply With Quote
Old 09-20-2026, 09:54 AM   #12469
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,611
Karma: 5010535
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Just curious: When I use the open_pages_in_browser to bypass 525s on AO3, FFF first opens the ToC and the full work Then it then opens the first chapter, but it's afterwards (which is noticible when doing mulitple stories). Why exactly does it do this?
Not sure. Can you capture a debug log of one?

Do you have is_adult:true set? On AO3, adult check is passed by adding "?view_adult=true" to the URLs. You can see more hits then as you rarely load pages that way manually. But I would expect that first, not last.
JimmXinu is online now   Reply With Quote
Old 09-20-2026, 01:16 PM   #12470
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,611
Karma: 5010535
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2026-09-20
- Plugin: Apply INI Snippet to Get URLs from Web Page and anthology update.

The "Get URLs from Web Page" dialog now has the INI Snippet drop down. You will also see that dialog as "Get URLs from Series Page" when doing series Anthology updates now--before it was skipped.

The following "Get stories from URLs" dialog will automatically default to the same saved INI snippet used to get the URLs. If you edit a One-time snippet, it will not automatically populate in the "Get stories" dialog. So save it as a named snippet, or copy it to paste in.

In response to:
Quote:
Originally Posted by Elaine T View Post
Is there some setting I need to check (or uncheck) to get the ini snippet option to show when I'm updating an anthology?
JimmXinu is online now   Reply With Quote
Old 09-20-2026, 04:54 PM   #12471
Elaine T
Connoisseur
Elaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolate
 
Posts: 94
Karma: 33664
Join Date: Jun 2015
Device: kindle paperwhite
Thank you!
Elaine T is offline   Reply With Quote
Old 09-20-2026, 05:07 PM   #12472
mijkala
Member
mijkala began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Dec 2024
Device: kobo clara bw
Duplicate Messages w/Epub Update?

Quote:
Originally Posted by culytera View Post
You can do this with chapter_end.

Code:
chapter_end:
 <div class="comment-box"><hr/><p class="message">Please <a href="${url}/comments/new">drop by the Archive and comment</a> to let the creator know if you enjoyed their work!</p></div>
 </body>
 </html>
I added this and it worked! But I noticed whenever I update an epub, I get another/duplicate of the "Please drop by the Archive and comment to let the create know if you enjoyed their work!"

For one fic I updated the epub three times, and now I have 3 of these messages per chapter ending. How can I fix this so it doesn't add a message every time there's a chapter update?
mijkala is offline   Reply With Quote
Old 09-20-2026, 05:25 PM   #12473
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,611
Karma: 5010535
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by mijkala View Post
I added this and it worked! But I noticed whenever I update an epub, I get another/duplicate of the "Please drop by the Archive and comment to let the create know if you enjoyed their work!"

For one fic I updated the epub three times, and now I have 3 of these messages per chapter ending. How can I fix this so it doesn't add a message every time there's a chapter update?
Sorry, forgot to mention: Put a class skip_on_ffdl_update on that tag too.

Code:
chapter_end:
 <div class="comment-box skip_on_ffdl_update"><hr/><p class="message">Please <a href="${url}/comments/new">drop by the Archive and comment</a> to let the creator know if you enjoyed their work!</p></div>
 </body>
 </html>
From https://github.com/JimmXinu/FanFicFa...#epub-chapters
Quote:
When an epub chapter is read back in during update, everything outside the <body> tag is discarded, as well as the first <h3>, the first <h2> tag (for historical reasons), and any tag with class skip_on_ffdl_update. That way you can include additional items in chapter_start inside the <body> tag that will be replaced each update. This is useful for sites that have additional chapter info, like chapter word counts or chapter dates.
You'll need to manually remove the ones you already have. Calibre's Edit book has a pretty easy find-replace.

Last edited by JimmXinu; 09-20-2026 at 05:26 PM. Reason: add code
JimmXinu is online now   Reply With Quote
Old Yesterday, 01:18 PM   #12474
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,611
Karma: 5010535
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2026-09-21
- Plugin: Fix INI Snippet from previous session used inappropriately.
- Update translations.
JimmXinu is online now   Reply With Quote
Old Yesterday, 10:29 PM   #12475
indecisivefan
Junior Member
indecisivefan began at the beginning.
 
indecisivefan's Avatar
 
Posts: 6
Karma: 10
Join Date: Jun 2024
Device: none
Custom metadata (bookmark tags/notes) not downloading with cache workaround

I've been getting 525 errors today that I wasn't able to shake with the ao3.gay trick, so I tried the browser cache workaround for the first time, and I'm having some trouble with my bookmark tag/notes not saving.

All the other metadata seems fine, but my custom columns don't seem to be showing up as usual with the cache download.

Here's what I have in my personal.ini relating to my bookmark tags and bookmark notes:
Code:
extra_valid_entries:bookmarktags,bookmarksummary
bookmarktags_label:My Bookmark Tags 
bookmarksummary_label:My Bookmark Summary 

custom_columns_settings:
 bookmarktags=>#my_tags,a
 bookmarksummary=>#notes,a
EDIT: Wanted to add that I usually download fics from my bookmarks page, if that is at all relevant!
If this has already been discussed, please feel free to direct me to the right place!

Last edited by indecisivefan; Yesterday at 10:33 PM.
indecisivefan is offline   Reply With Quote
Old Yesterday, 10:35 PM   #12476
indecisivefan
Junior Member
indecisivefan began at the beginning.
 
indecisivefan's Avatar
 
Posts: 6
Karma: 10
Join Date: Jun 2024
Device: none
I've been getting 525 errors today that I wasn't able to shake with the ao3.gay trick, so I tried the browser cache workaround for the first time, and I'm having some trouble with my bookmark tag/notes not saving.

All the other metadata seems fine, but my custom columns don't seem to be showing up as usual with the cache download.

I normally download from my bookmarks page, if that is useful to know!

Here's what I have in my personal.ini relating to my bookmark tags and bookmark notes:

Code:
extra_valid_entries:bookmarktags,bookmarksummary
bookmarktags_label:My Bookmark Tags 
bookmarksummary_label:My Bookmark Summary 

custom_columns_settings:
 bookmarktags=>#my_tags,a
 bookmarksummary=>#notes,a
indecisivefan is offline   Reply With Quote
Old Yesterday, 11:26 PM   #12477
culytera
Groupie
culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.
 
Posts: 182
Karma: 295686
Join Date: Jul 2021
Device: iPhone
Quote:
Originally Posted by indecisivefan View Post
I've been getting 525 errors today that I wasn't able to shake with the ao3.gay trick, so I tried the browser cache workaround for the first time, and I'm having some trouble with my bookmark tag/notes not saving.

All the other metadata seems fine, but my custom columns don't seem to be showing up as usual with the cache download.
Is always_login set to true?
culytera is offline   Reply With Quote
Old Today, 10:10 AM   #12478
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,611
Karma: 5010535
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
AO3 525 Errors

I don't think it's been linked in a while, but the ProblematicSites wiki pages has an AO3 section and a Browser Cache Feature section under that.
JimmXinu is online now   Reply With Quote
Old Today, 11:44 AM   #12479
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,611
Karma: 5010535
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2026-09-22
- Add 525 errors to list of codes to retry, on by default, set retry_http_525_failures:False to disable.
- New option max_request_retries to set connection retry limit. From #1418

Code:
## Add 525 to the list of HTTP status codes that will be retried on
## failure.  Can be disabled because periods of AO3 525 failure can
## last a long time and failing fast lets you switch to Browser Cache
## quicker.  Does not apply to FlareSolverr proxy mode.
retry_http_525_failures:True

## Retry limit for connection requests. Use a non-negative integer; 0
## disables retries. Invalid values fall back to 4. Four retries allow
## five attempts.  The first retry is immediate, then waits are 4, 8,
## 16... seconds, subject to urllib3's backoff cap and server
## Retry-After headers.  Large values can cause long waits and
## repeated POST requests.  FlareSolverr proxy mode disables these
## retries.
max_request_retries:4
FYI, I just tried this while getting 525 failures from AO3. Even setting max_request_retries:8, it still failed.

I honestly don't think this is going to help very often. But it is at least something. I'm also making it optional, because I want to be able to fail fast still. But on by default for general users in case it does help.

Note that the urllib3/requests libraries don't report retries. From FFF's logs, the only indicator is that it will take long. (Back in the Day, when FFF did the retries, they were visible in FFF's log.)
JimmXinu is online now   Reply With Quote
Old Today, 05:12 PM   #12480
jazzhands
Member
jazzhands began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2013
Location: Minnesota
Device: Kindle
Quote:
Originally Posted by JimmXinu View Post
Not sure. Can you capture a debug log of one?

Do you have is_adult:true set? On AO3, adult check is passed by adding "?view_adult=true" to the URLs. You can see more hits then as you rarely load pages that way manually. But I would expect that first, not last.
Not the op but I was wondering the same thing. Attached is the debug log.
calibre-debug-log.txt
jazzhands is offline   Reply With Quote
Reply

Tags
fanfiction

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 546 05-21-2026 02:44 PM
[GUI Plugin] Open With kiwidude Plugins 405 02-09-2026 07:54 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


All times are GMT -4. The time now is 06:26 PM.


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