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 05-04-2021, 05:16 PM   #5881
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: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by ackomb View Post
The character is Addison Montgomery which I change into Addison Forbes Montgomery

Usually I use below code, but it doesn't work since Grey's Anatomy isn't tagged as a show
Code:
 characters=>^Addison Montgomery$=>Addison Forbes Montgomery&&category==Grey's Anatomy Universe
Just curious, is that name used by a different character in any other of your fandoms? if not, I'd just strip the conditional.
ownedbycats is online now   Reply With Quote
Old 05-04-2021, 06:38 PM   #5882
PacifiedOwl
Junior Member
PacifiedOwl began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2021
Device: Kobo Clara HD
Quote:
Originally Posted by JimmXinu View Post
Question for Plugin Users

A number of FFF's settings and defaults come from the early days ~10 years ago when users didn't trust FFF to set Calibre metadata and wanted options not to.

There are several options available on every download/update:
  1. Output Format
  2. Update Mode
  3. Update Calibre Metadata
  4. Update EPUB Cover
  5. Background Metadata (updates only)

Most are self explanatory. 'Update Calibre Metadata' if unchecked, prevents FFF from updating any Calibre metadata--except for the explicit 'Update Calibre Metadata' modes which do anyway.

Which are these settings are actually useful today on every download/update?

Personally, the only one I ever change is Update Mode.

For example, does anyone run with 'Update Calibre Metadata' unchecked? Or change output format on individual downloads?
I use Update Mode very frequently, I don't think I've ever used the others.
PacifiedOwl is offline   Reply With Quote
Old 05-05-2021, 11:52 AM   #5883
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: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ackomb View Post
I have another mystery (to me at least) I have "Keep Existing Tags when Updating Metadata" checked and all "New Only" boxes unchecked. So there is this story where I've manually amended the character cause it's a character from an untagged show which is why my regex setup isn't working, no biggy. However every time I update the story it adding the old tag and removes the tag I've added.

So I'm guessing there is some setting I have wrong, but I can't figure out which.

I don't want to check "New Only" in the customs columns because that would mean I don't get the tags that might be added by the writer after the initial download.

An example for a story is:https://archiveofourown.org/works/28121997

The character is Addison Montgomery which I change into Addison Forbes Montgomery

Usually I use below code, but it doesn't work since Grey's Anatomy isn't tagged as a show
Code:
 characters=>^Addison Montgomery$=>Addison Forbes Montgomery&&category==Grey's Anatomy Universe
What I want it do do is keep the tags I've added or amended but update any new ones added by the writer.
You seem to be implying ("I don't want to check "New Only" in the customs columns...") that you're actually setting to a custom column.

"Keep Existing Tags when Updating Metadata" only applies to Calibre's Tags column--not custom columns of the tags type.

Re: Your replace_metadata--that story doesn't have "Grey's Anatomy Universe" in fandom (aka category for AO3), therefore it doesn't match the conditional.

Quote:
Originally Posted by Zerubel View Post
Hello all! I've been lurking and reading here for a while and wanted to ask if there is, perhaps, a more comprehensive page or wiki somewhere detailing normalizing tags between ffnet and ao3
...
Good luck with that. I stand by my opinion from 10-25-2020:

Quote:
Originally Posted by JimmXinu View Post
...
AO3 tag normalizing/wrangling comes up over and over again. I'm not going to go over all of it again, but AO3's decision to allow authors to input basically anything--and any number of anything--as tags makes normalizing problematic at best.

Personally, I consider it futile. But I will help with specific problems.
JimmXinu is offline   Reply With Quote
Old 05-05-2021, 12:08 PM   #5884
Zerubel
Customization Addict
Zerubel began at the beginning.
 
Zerubel's Avatar
 
Posts: 8
Karma: 10
Join Date: Mar 2018
Device: Android Tablet
Quote:
Originally Posted by JimmXinu View Post
Good luck with that. I stand by my opinion from 10-25-2020:
Oh boy XD well i think i've made a decent (if perhaps messy and long) start to normalizing tags, even made a spreadsheet to join text so i just have to plug in the tags, but i couldn't get two sets to work:

category=>Fullmetal Alchemist - All Media Types=>Fullmetal Alchemist
category=>Fullmetal Alchemist (Anime 2003)=>Fullmetal Alchemist
category=>Fullmetal Alchemist: Brotherhood & Manga=>Fullmetal Alchemist

category=>Pokémon=>Pokemon
category=>Pocket Monsters | Pokemon (Anime)=>Pokemon
category=>Pocket Monsters | Pokemon (Main Video Game Series)=>Pokemon
category=>Pocket Monsters: FireRed & LeafGreen | Pokemon FireRed & LeafGreen Versions=>Pokemon
category=>Pocket Monsters: Red & Green & Blue & Yellow | Pokemon Red Green Blue Yellow Versions=>Pokemon
category=>Pocket Monsters: Sun & Moon | Pokemon Sun & Moon Versions=>Pokemon

the first 'Pokemon' one worked (in fact most if not all of my ffnet normalizations have worked) but the rest remain stubbornly the same. I'm assuming there's something about spaces that i'm missing - but aside from copying folks' answers (Harry P\. to Harry Potter, for instance) i'm not sure what's wrong?

(and as an aside, the image is the spreadsheet - am i doing this the messy/bloated way, or is this correct?)
Attached Thumbnails
Click image for larger version

Name:	tagmadness.png
Views:	189
Size:	168.4 KB
ID:	186948  
Zerubel is offline   Reply With Quote
Old 05-05-2021, 12:13 PM   #5885
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: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Zerubel View Post
Oh boy XD well i think i've made a decent (if perhaps messy and long) start to normalizing tags, even made a spreadsheet to join text so i just have to plug in the tags, but i couldn't get two sets to work:
First, you need to escape characters that regexp uses including ()|. And internally, FFF carries & as & so use that in place of just &. Search for 'regular expression escaping' or tutorials to learn about regexp.

If that doesn't fix it, you will also need to give me story URL(s) that demonstrate the problem(s).

Last edited by JimmXinu; 05-05-2021 at 12:23 PM. Reason: supply previously missing words.
JimmXinu is offline   Reply With Quote
Old 05-05-2021, 02:43 PM   #5886
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
Quote:
Originally Posted by ownedbycats View Post
Just curious, is that name used by a different character in any other of your fandoms? if not, I'd just strip the conditional.
Not this one specifically but others yes, try Alex it's in at lease 3 fandoms I follow.
ackomb is offline   Reply With Quote
Old 05-05-2021, 03:01 PM   #5887
leckadams
Enthusiast
leckadams began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite, Kindle Keyboard
Not sure if anyone else is getting this error, but it started happening again to me yesterday late evening & I didn't think anything of it, but it's happening today as well.


Status
Title
Author
Comment
URL
Error
An Unexpected Companion
ANGSWIN
cloudscraper reports: "Detected a Cloudflare version 2 challenge, This feature is not available...."
https://www.fanfiction.net/s/1387577...cted-Companion
leckadams is offline   Reply With Quote
Old 05-05-2021, 03:06 PM   #5888
ackomb
Zealot
ackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura aboutackomb has a spectacular aura about
 
Posts: 106
Karma: 4486
Join Date: Mar 2020
Location: Netherlands
Device: i-pad
Quote:
Originally Posted by JimmXinu View Post
"Keep Existing Tags when Updating Metadata" only applies to Calibre's Tags column--not custom columns of the tags type.
I thought that was the case, but I wasn't sure.

Quote:
Originally Posted by JimmXinu View Post
You seem to be implying ("I don't want to check "New Only" in the customs columns...") that you're actually setting to a custom column.
The reason I don't want to check "New Only" is because I still want it to add newly added tags, I just don't want it to remove the ones I've added when I update a story. Since I'm assuming "New Only" applies to a new story and not a new tag.

But if it isn't possible that's okay, it just means I can stop looking and find another solution.
ackomb is offline   Reply With Quote
Old 05-05-2021, 03:43 PM   #5889
Zerubel
Customization Addict
Zerubel began at the beginning.
 
Zerubel's Avatar
 
Posts: 8
Karma: 10
Join Date: Mar 2018
Device: Android Tablet
Quote:
Originally Posted by JimmXinu View Post
First, you need to escape characters that regexp uses including ()|. And internally, FFF carries & as & so use that in place of just &. Search for 'regular expression escaping' or tutorials to learn about regexp.

If that doesn't fix it, you will also need to give me story URL(s) that demonstrate the problem(s).
Oh, thank you! I'll put some time into that after I'm off work today.

My second question - is it possible to tell Fanficfare to put tags like characters and pairings into custom columns and not add them to the epubs main tags? I've managed to do it with ao3's "genre" (aka freeform madness) into a text-only column, but if possible i'd still like to collect that data to browse characters and pairings without adding to the main clutter.

I experimented a bit with a non-fanfiction book - i have a custom column for Genre in which i put "Fantasy, Isekai" and removed them from the main tags - the tag browser on the side shows them in genre and they do not appear on the main tags like 'Light Novel (Ranobe)' still does.
Zerubel is offline   Reply With Quote
Old 05-05-2021, 05:48 PM   #5890
Zu'l
Junior Member
Zu'l began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2021
Device: Kindle Oasis
I'm having same problem when trying to download fic from Royal Road (link https://www.royalroad.com/fiction/24709), how do you tell which chapter(s) are causing the 'maximum recursion depth exceeded' issue?
Zu'l is offline   Reply With Quote
Old 05-05-2021, 06:36 PM   #5891
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: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Zerubel View Post
My second question - is it possible to tell Fanficfare to put tags like characters and pairings into custom columns and not add them to the epubs main tags? I've managed to do it with ao3's "genre" (aka freeform madness) into a text-only column, but if possible i'd still like to collect that data to browse characters and pairings without adding to the main clutter.
Yes. There's the GUI Custom Columns tab and the personal.ini custom_columns_settings setting.

For historical reasons, the personal.ini setting that controls what goes into Calibre's Tags column is include_subject_tags. Some sites also use extra_subject_tags to add to it (from before we had add_to_*).

Quote:
Originally Posted by Zu'l View Post
I'm having same problem when trying to download fic from Royal Road (link https://www.royalroad.com/fiction/24709), how do you tell which chapter(s) are causing the 'maximum recursion depth exceeded' issue?
Run in debug mode and look at the log, or set continue_on_chapter_error:true and look to see which chapter is marked ERROR in the ebook..

Quote:
Originally Posted by ackomb View Post
The reason I don't want to check "New Only" is because I still want it to add newly added tags, I just don't want it to remove the ones I've added when I update a story. Since I'm assuming "New Only" applies to a new story and not a new tag.
You can use a custom_columns_settings line with the a flag set. From defaults.ini:
Code:
## (Plugin Only) - You can also populate calibre custom columns with
## the site specific metadata using custom_columns_settings (but only
## if 'Allow custom_columns_settings from personal.ini' is checked in
## the plugin GUI config.)  There are three parts, the entry name,
## then the label of the calibre custom column, then (optionally) a
## 'mode'.  'r' to Replace any existing values, 'a' to Add to existing
## value (use with tag-like columns), and 'n' for setting on New books
## only.  (Default is 'r'.)

## Literal strings can be set into custom columns using double quotes.
## Each metadata=>column mapping must be on a separate line and each
## needs to have one space at the start of each line.

## 'r_anthaver' and 'n_anthaver' can be used to indicate the same as
## 'r' and 'n' for normal downloads, but to average the metadata for
## the differents story in an anthology before setting in integer and
## float type custom columns.  This can be useful for a averrating
## column, for example.  Default is to sum the values of all stories,
## and numChapters and numWords are always summed.

#custom_columns_settings:
# cliches=>#acolumn
# themes=>#bcolumn,a
# timeline=>#ccolumn,n
# "FanFiction"=>#collection
# averrating=>#averrating,r_anthaver
JimmXinu is offline   Reply With Quote
Old 05-06-2021, 04:50 AM   #5892
Science Friction
Junior Member
Science Friction began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
I'm also getting both IAUA and v2 challenge errors from ff.net.

I notice that archive.org has a crawl of ff.net dating to 2017 or so, and there are some newer ones around. I wonder if fanficfare could retrieve from one of those instead. They are stored on archive.org in large zip files but maybe it is feasible to retrieve the appropriate byte ranges with the python zip library.
Science Friction is offline   Reply With Quote
Old 05-06-2021, 05:00 AM   #5893
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: 10,993
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
FictionPress was working on an app update a few hours ago, so I'd try again a little later and see if it clears up.

Last edited by ownedbycats; 05-06-2021 at 05:03 AM.
ownedbycats is online now   Reply With Quote
Old 05-06-2021, 11:55 AM   #5894
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: 6,974
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2021-05-06
- Fix XF authorUrl and author_avatar_cover feature. Closes #695
JimmXinu is offline   Reply With Quote
Old 05-06-2021, 02:14 PM   #5895
Science Friction
Junior Member
Science Friction began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2021
Device: none
Quote:
Originally Posted by ownedbycats View Post
FictionPress was working on an app update a few hours ago, so I'd try again a little later and see if it clears up.
Got v2 challenge just a minute ago, will try again later, but I think we should just assume that ffnet wants to lock people into their software, so the download situation will get worse rather than better. I do see that fanficfare was able to retrieve the metadata page of the story I tried to download, but got errors for the individual chapter pages. I also see that the reddit fanfic bot is still able to post (and therefore presumably retrieve) metadata from ffnet. So I'm wondering if a medium term strategy might be to correlate ffnet metadata with ao3 and maybe some other sites like ff2ebook, and redirect ffnet retrievals to those other sites. There are also a few crawls (not up to date) of ffnet on archive.org and maybe other places, so possibly fanficfare could retrieve from those.

Is this the right place for this discussion? I'd rather not sign up for github.
It's also more a question of data than code.
Science Friction 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 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


All times are GMT -4. The time now is 05:13 PM.


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