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 03-17-2025, 11:22 AM   #10471
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,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Both of those things are possible.

For example, there was an issue with a Firefox 'Security Container' issue that changed how files were cached.

And I have sometimes seen pages marked 'no-cache' by the server for no apparent reason.
JimmXinu is offline   Reply With Quote
Old 03-18-2025, 02:52 AM   #10472
Clem2605
Connoisseur
Clem2605 began at the beginning.
 
Posts: 60
Karma: 10
Join Date: May 2020
Device: Kobo H2O, Kobo Libra H2O, Boox Tab Ultra C
When I try with ff.net, it doesn't work either, so it seems to be a problem between FFF and the cache files...
Clem2605 is offline   Reply With Quote
Old 03-18-2025, 08:15 PM   #10473
ThreeLizards
Enthusiast
ThreeLizards began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Feb 2025
Device: Kindle Paperwhite 2024
Hi,

So I've got a NSFW fic that I've been trying to download, and I know I'm not supposed to post an NSFW link. I've tried multiple times on multiple days to download this fic.

It's on AO3. It does NOT have the little lock on it. It is orphan'ed.

Could I possibly DM a link?

Am I just SOL?

What should I do?
ThreeLizards is offline   Reply With Quote
Old 03-18-2025, 08:37 PM   #10474
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,437
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Save it and try again later (if its orphaned, the author won't be around to suddenly delete it). The issues are expected to be over by April I think.
ownedbycats is offline   Reply With Quote
Old 03-18-2025, 08:58 PM   #10475
ThreeLizards
Enthusiast
ThreeLizards began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Feb 2025
Device: Kindle Paperwhite 2024
Quote:
Originally Posted by ownedbycats View Post
Save it and try again later (if its orphaned, the author won't be around to suddenly delete it). The issues are expected to be over by April I think.
Can do!

I'll just keep the tab then
ThreeLizards is offline   Reply With Quote
Old 03-18-2025, 09:59 PM   #10476
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,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
You can send me NSFW links in PM. Or give just the story ID number. Until somebody tells me otherwise, I'm prepared to assume that's sufficient obfuscation.

And remember, AO3 has it's own epub download button on each story.
JimmXinu is offline   Reply With Quote
Old 03-18-2025, 11:02 PM   #10477
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,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2025-03-18
- ffnet only: try_shortened_title_urls option #1166
- Revert "adapter_fanfictionnet: Attempt chapter from m. (vs www) when chapter not found"

If you set try_shortened_title_urls:true under [fanfiction.net], FFF will, on 'Page not found or expired', shorten the title in the URL and try again.

Only useful with Browser Cache, and while you could do it manually, intended for use with open_pages_in_browser:true

Discussion on github #1166.

No, this isn't useful for AO3, there is no equivalent.

Also removed the similar attempt to get m. (vs www.) on chapter not found--failure page isn't cached anymore so it didn't work.
JimmXinu is offline   Reply With Quote
Old 03-20-2025, 10:56 PM   #10478
Firewolf88
Junior Member
Firewolf88 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2024
Device: None
After dealing with it manually for years, I finally decided to try and use the metadata replace function to help me out with ao3 characters with multiple names. I finally ran into a fandom with too many to want to do manually. I mean the kind of canonized tag thats "Adrien Agreste | Chat Noir"

I did figure out how to do it from the canonized tag, but is there a way I can use to also use each half on its own?

ie right now my line looks like
characters,ships,ships_CHARS=>(?i)Adrien Agreste \| Chat Noir$=>Adrien

is there a way to make it also catch just Adrien Agreste and just Chat Noir? Or do I need to just add more lines/do those ones manually?


(Also just a side note, but I do have to do freeformtags separately and drop the $, as someone who doesn't really understand anything I'm doing here I just find that potentially helpful to mention for anyone else trying to do this in the future.)
Firewolf88 is offline   Reply With Quote
Old 03-21-2025, 04:07 AM   #10479
ChaoticAdventure
Member
ChaoticAdventure began at the beginning.
 
ChaoticAdventure's Avatar
 
Posts: 16
Karma: 10
Join Date: Jan 2024
Device: Kindle Paperwhite, Calibre
Quote:
Originally Posted by Firewolf88 View Post
ie right now my line looks like
characters,ships,ships_CHARS=>(?i)Adrien Agreste \| Chat Noir$=>Adrien

is there a way to make it also catch just Adrien Agreste and just Chat Noir? Or do I need to just add more lines/do those ones manually?
For just a character, you could do this in two lines: one that catches any name with "Adrien Agreste" and one that catches any name with "Chat Noir". Or even in one line, with an "or" function, which is definitely possible but I haven't tried it. With a ship you can't do that, because if you change the whole line it will get rid of the other person in the ship.

For ships, I use three lines, like this:

characters,ships=>Adrien Agreste \| Chat Noir=>Adrien
characters,ships=>Chat Noir=>Adrien
characters,ships=>Adrien Agreste=>Adrien

I don't know if there is a better way to do this, but this is a solution, at the very least.

Also I have no idea what (?!) does, but if you want the function to take the literal, you don't need any extra markings. You can just leave it plain like my example.
ChaoticAdventure is offline   Reply With Quote
Old 03-21-2025, 04:22 AM   #10480
ChaoticAdventure
Member
ChaoticAdventure began at the beginning.
 
ChaoticAdventure's Avatar
 
Posts: 16
Karma: 10
Join Date: Jan 2024
Device: Kindle Paperwhite, Calibre
Sorry to post twice, but I also came here with a question/issue.

It seems like one of my fics is having this download issue. When I update it, the beginning notes of the first new chapter are put into the body of the text, even though I have them excluded. The fic in question is marked mature, although I don't think the actual story is just yet. But just to be safe, here is the ID instead of a link: 40831656

This is what I did, exactly:

1. The fic had 43 chapters that I had previously downloaded.
2. I updated it, so it added chapters 44 and 45. BOTH chapters have starting notes in Ao3, thanking the reader for reviews.
3. In Calibre, ONLY chapter 44 had the starting notes before the chapter. Chapter 45 did not. It didn't say "notes" before it, either: It was as if the notes were just part of the chapter text. I have since edited it out so I can't take a screenshot, unfortunately.

I have no idea why this could be happening, or even if it's replicable? It's also not a big deal, just very strange. But I'm worried about this happening with other fics and I just don't realize because I'm not reading them right away.

Extra info: I'm not downloading from cache, I never did get that to work, but downloading normally seems to be going okay most of the time.
ChaoticAdventure is offline   Reply With Quote
Old 03-21-2025, 11:03 AM   #10481
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,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply

Quote:
Originally Posted by Firewolf88 View Post
I did figure out how to do it from the canonized tag, but is there a way I can use to also use each half on its own?

ie right now my line looks like
characters,ships,ships_CHARS=>(?i)Adrien Agreste \| Chat Noir$=>Adrien

is there a way to make it also catch just Adrien Agreste and just Chat Noir? Or do I need to just add more lines/do those ones manually?
It can probably be done it one line, but regex has to be very precise, a single misplaced character can break it. And there can be confusion of characters--regex uses the pipe (|), so to match it as part of the text, it has to be escaped to \|.

I haven't tested it, but something like this maybe?
Code:
 characters,ships,ships_CHARS=>(?i)(Adrien Agreste)?( \| )?(Chat Noir)?=>Adrien
If you don't understand regular expressions, it's probably easier to do multiple lines.

FYI, (?i) in python regex just means 'ignore case'.

Quote:
Originally Posted by ChaoticAdventure View Post
3. In Calibre, ONLY chapter 44 had the starting notes before the chapter. Chapter 45 did not. It didn't say "notes" before it, either: It was as if the notes were just part of the chapter text. I have since edited it out so I can't take a screenshot, unfortunately.
That's literally what it is. If you go look at chapter 44 on AO3, it has "Thank you again for all the reviews!" in both chapter notes AND at the beginning of the chapter text.
JimmXinu is offline   Reply With Quote
Old 03-21-2025, 02:27 PM   #10482
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,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2025-03-21
- adapter_literotica: Fixed incorrect parsing for get url from webpage option, thanks dbhmw! #1182 & #1183
- Note on open_pages_in_browser for MacOS users linking to #1142
- adapter_asianfanficscom: Add inject_chapter_image option. Closes #1143
JimmXinu is offline   Reply With Quote
Old 03-21-2025, 03:41 PM   #10483
Tharos
Connoisseur
Tharos began at the beginning.
 
Posts: 80
Karma: 10
Join Date: Jul 2010
Device: Pocketbook InkPad Color 3, Kindle Oasis 2, Moon+ Reader pro
I'm not sure if it's because of the latest test version. But if I only update the metadata of a story via the website, the number of chapters in FFN is ignored and not updated. The number of words, for example, is recorded correctly.

Example 1: https://www.fanfiction.net/s/1420544...nting-Melodies
Example 2: https://www.fanfiction.net/s/14427052/1/Harry-Uchiha

On other pages (tested on AO3) it still works.
Tharos is offline   Reply With Quote
Old 03-21-2025, 05:07 PM   #10484
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,202
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
ffnet is broken. The site isn't giving the full list of chapter for some stories. Note that FFF uses the list of chapters, not the number of chapters when counting chapters.

Your first example, the first page only shows 405 chapters and the second example only 1.

To save typing, here's link to the last time it came up.
JimmXinu is offline   Reply With Quote
Old 03-21-2025, 06:23 PM   #10485
MondSemmel
Junior Member
MondSemmel began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2025
Device: none
I really like the epub output for Royal Road (some tools struggled to preserve e.g. italicized text formatting), but I'd like to preserve an author's center-aligned text, and none of my attempts so far have worked.

Example from this chapter): text with a dynamically generated class and a style="text-align: center" CSS attribute.

What I've tried:
1)
Code:
[www.royalroad.com]
add_to_keep_html_attrs:,align
<-> Doesn't work, but then again, it's not an HTML tag.

2)
Code:
[epub]
add_to_output_css:
 p[style*="text-align: center"] { text-align: center !important; }
3)
Code:
## Outright overwrite output_css by removing the "text-align: justify" part from "body":
[epub]
output_css:
 body { background-color: #%(background_color)s;
        margin: 2%%;
	adobe-hyphenate: none; }
 [...]
---
I would be thankful for any advice.
PS: Any time I want to test a change to personal.ini, I currently delete and then redownload the entire fic. Is there a way to test settings, e.g. by downloading a single chapter, rather than an entire fic?
MondSemmel 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 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 09:06 AM.


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