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 01-24-2025, 03:02 PM   #10231
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,208
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Each replace_metadata line is considered separately, there isn't a mechanism for "didn't match any other line".

One option would be:

You might add your "_Misc." prefix to all entries before looking for specifics like Tolkien and then remove it as part of setting Tolkien.

A second option would be:

There are '.'s in some fandoms, so we can't use that reliably detect already prefixed lines. But it would be possible if you use something other than '.' as the separator during processing--something reasonably expected to be unused anywhere else. Subsitute in "Tolkien__MYDELIMITER__Hobbit" for example.

Then add lines to first prepend your "_Misc." to any entry that doesn't contain "__MYDELIMITER__" (needs to use negative lookahead (?!...) ) and then a final line to change "__MYDELIMITER__" back to '.'.
JimmXinu is offline   Reply With Quote
Old 01-24-2025, 04:37 PM   #10232
enquidu
Junior Member
enquidu began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2023
Device: none
Quote:
Originally Posted by JimmXinu View Post
You might add your "_Misc." prefix to all entries before looking for specifics like Tolkien and then remove it as part of setting Tolkien.
Thank you! I like the idea of just applying "_Misc." to all fandom tags and then that prefix would be removed as the fandom tag gets formatted correctly.

I added "category=>(.*)=>_Misc.\1" to replace_metadata, but it's adding "_Misc." to both the the beginning and the end of each fandom tag.

Did I do that correctly, or should I maybe add it somewhere other than replace_metadata?
enquidu is offline   Reply With Quote
Old 01-24-2025, 04:49 PM   #10233
enquidu
Junior Member
enquidu began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2023
Device: none
Quote:
Originally Posted by enquidu View Post
Thank you! I like the idea of just applying "_Misc." to all fandom tags and then that prefix would be removed as the fandom tag gets formatted correctly.

I added "category=>(.*)=>_Misc.\1" to replace_metadata, but it's adding "_Misc." to both the the beginning and the end of each fandom tag.

Did I do that correctly, or should I maybe add it somewhere other than replace_metadata?
Nevermind! It turns out it needs to be + instead of a * to prepend it, so: "category=>(.+)=>_Misc.\1"

Thanks again!
enquidu is offline   Reply With Quote
Old 01-24-2025, 05:51 PM   #10234
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,208
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
I would use "category=>^(.*)$=>_Misc.\1" adding ^ (beginning string) and $ (end of string) anchors, just to be sure. There have been cases in past where it was necessary.
JimmXinu is offline   Reply With Quote
Old 01-24-2025, 08:24 PM   #10235
chicleeblair
Connoisseur
chicleeblair began at the beginning.
 
Posts: 97
Karma: 10
Join Date: Sep 2018
Device: iPad mini
Quote:
Originally Posted by JimmXinu View Post
Have you tried the test version? That sounds like this issue addressed a couple days ago.
I forgot to check for one. I'll do that.
chicleeblair is offline   Reply With Quote
Old 01-24-2025, 08:31 PM   #10236
Droewyn
Junior Member
Droewyn began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: Kobo Libra Color
I'm trying to configure my personal.ini to not import chapter summaries. And I did, but now I'm not getting the work summary, either. Is there a line that will still let it pull the work summary, but not the individual chapter summaries?
Droewyn is offline   Reply With Quote
Old 01-24-2025, 08:32 PM   #10237
chicleeblair
Connoisseur
chicleeblair began at the beginning.
 
Posts: 97
Karma: 10
Join Date: Sep 2018
Device: iPad mini
Nope, installed the test and got this:


HTTP Error in FFF 'Page not found or expired in Browser Cache (see FFF setting browser_cache_age_limit)'(428) URL:'https://www.fanfiction.net/s/14434163/1/Death-By-a-Thousand-Cuts'
https://www.fanfiction.net/s/1443416...-Thousand-Cuts

I tried both Chrome and Safari
chicleeblair is offline   Reply With Quote
Old 01-24-2025, 09:08 PM   #10238
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,208
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Droewyn View Post
I'm trying to configure my personal.ini to not import chapter summaries. And I did, but now I'm not getting the work summary, either. Is there a line that will still let it pull the work summary, but not the individual chapter summaries?
Maybe? Those are site specific.

What site, what settings have you changed, and can you provide an example story URL? Not all stories have all types of notes.
JimmXinu is offline   Reply With Quote
Old 01-24-2025, 09:08 PM   #10239
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,208
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by chicleeblair View Post
Nope, installed the test and got this:

HTTP Error in FFF 'Page not found or expired in Browser Cache (see FFF setting browser_cache_age_limit)'(428) URL:'https://www.fanfiction.net/s/14434163/1/Death-By-a-Thousand-Cuts'
https://www.fanfiction.net/s/1443416...-Thousand-Cuts

I tried both Chrome and Safari
That looks like you didn't pre-cache the pages for the Browser Cache Feature.

OTOH, if you usually use open_pages_in_browser:true, and are on Mac, you might be seeing this issue where apparently Mac doesn't want to let FFF/Calibre open URLs in browser.
JimmXinu is offline   Reply With Quote
Old 01-24-2025, 09:34 PM   #10240
Droewyn
Junior Member
Droewyn began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Mar 2016
Device: Kobo Libra Color
Quote:
Originally Posted by JimmXinu View Post
Maybe? Those are site specific.

What site, what settings have you changed, and can you provide an example story URL? Not all stories have all types of notes.

Oh, sorry. That's what I get for posting while I'm on headache drugs. The site is AO3. Here's a link to one of mine: https://archiveofourown.org/works/22090135 It's not restricted to logged in users or anything.

Here's the custom settings I'm using in personal.ini: exclude_notes:authorheadnotes,chapterheadnotes,cha pterfootnotes,authorfootnotes,chaptersummary,inspi redlinks

It is excluding the chapter summaries, which I want, but it's also including the main story summary. That's the problem.

Thanks for your help!
Droewyn is offline   Reply With Quote
Old 01-25-2025, 10:44 AM   #10241
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,208
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
That setting line works for me--after removing the spaces I assumed were added by MR.

I suspect you have another exclude_notes line somewhere else in personal.ini that's taking precedence.
JimmXinu is offline   Reply With Quote
Old 01-25-2025, 05:15 PM   #10242
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,438
Karma: 81367635
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Question: When I start downloading, i get a popup saying 'fetched metadata for 1/1.' There's a cancel button on it but I can't cancel it as it just whites out and goes not responding. Is there a way to cancel aside from wait?
ownedbycats is online now   Reply With Quote
Old 01-25-2025, 05:18 PM   #10243
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,208
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Question: When I start downloading, i get a popup saying 'fetched metadata for 1/1.' There's a cancel button on it but I can't cancel it as it just whites out and goes not responding. Is there a way to cancel aside from wait?
Not really.

As I recall, the cancel is applied when the network request (or sleep) come back, but those are down inside the code without good ways to 'cancel'.
JimmXinu is offline   Reply With Quote
Old 01-26-2025, 12:17 AM   #10244
slantybard
my parent's oops...
slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.slantybard ought to be getting tired of karma fortunes by now.
 
Posts: 493
Karma: 1477572
Join Date: Feb 2009
Device: Vx->Handera->Clie-> Axim->505->650->KPW/Aura ->L2->iOS/CBW
I accidentally overwrote a ff book I had previously edited. Is there a way to undo that or find the old epub version? I assume not but thought I would ask prior to re-editing the book I downloaded. Thanks for any help or links (if there is one) that answers this question.
slantybard is offline   Reply With Quote
Old 01-26-2025, 12:23 AM   #10245
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,208
Karma: 5006097
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
When FFF deletes an epub to update it, it should be available in Calibre's "Restore recently delete" under the "Formats" tab.

Otherwise, pull it from backup? Maybe you have a device you put it on but haven't updated yet?
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 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 07:11 AM.


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