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 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,850
Karma: 83109147
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: 181
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 Yesterday, 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,608
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 offline   Reply With Quote
Old Yesterday, 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,608
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 offline   Reply With Quote
Old Yesterday, 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: 93
Karma: 33664
Join Date: Jun 2015
Device: kindle paperwhite
Thank you!
Elaine T is offline   Reply With Quote
Old Yesterday, 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 Yesterday, 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,608
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; Yesterday at 05:26 PM. Reason: add code
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 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 03:54 AM.


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