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 07-08-2023, 03:14 PM   #8611
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
Update: My issue was fixed by this.

Last edited by ownedbycats; 07-08-2023 at 03:27 PM.
ownedbycats is online now   Reply With Quote
Old 07-09-2023, 12:58 PM   #8612
chicleeblair
Connoisseur
chicleeblair began at the beginning.
 
Posts: 97
Karma: 10
Join Date: Sep 2018
Device: iPad mini
I’m sure this is a common issue, but I’ve been cobbling together code from threads for two days and gotten a lot figured out, but here’s where I’m stumped. By removing everything from include_subjecttags in the archiveofourown section of the personal.ini. I have columns for characters, relationships, etc. I also add/replaced to clean up some of the metadata

What I’m trying to figure out is how to get some of the freeformtags into the tags (subjecttags) without pulling all of them. e.g. if the fic was tagged “AU” and I used add_replace_metadate to change that to “Alternate Universe,” can I then get that into the primary tags column?

I’ve been experimenting with a fic tagged “Hurt/Comfort” which isn’t even a tag I’m altering, and I can’t make it show up once I’ve taken “freeformtags” off the list of what shows in tags.

e.g.
chicleeblair is offline   Reply With Quote
Old 07-09-2023, 01:06 PM   #8613
beigedaniel2
Junior Member
beigedaniel2 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2023
Device: laptop
Automatic Tag Replacement

Hi. I'm sure I'm not the only one who has asked this but I don't know how to put it in few enough words that the search function will yield the result I need.

I am trying to use the replace_metadata function to replace only words that appear in tags from ao3.

I tried using just the following:
Code:
replace_metadata:
  Polyamory=>Poly
but that replaced it even in the title, which I didn't want. I only want the imported tags (that show up in Calibre's default Tags column) to be changed.

I tried using tags=> as a prefix, but apparently that's not a real metakey. I thought category might be FFF's equivalent, like ships is for the #relationships column, but I also tried that and nothing changed.

TL;DR: What is the metakey associated with Calibre's default Tags column? Thanks in advance.
beigedaniel2 is offline   Reply With Quote
Old 07-09-2023, 02:31 PM   #8614
FandomWitch
Member
FandomWitch began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2023
Device: none
Quote:
Originally Posted by chicleeblair View Post
What I’m trying to figure out is how to get some of the freeformtags into the tags (subjecttags) without pulling all of them. e.g. if the fic was tagged “AU” and I used add_replace_metadate to change that to “Alternate Universe,” can I then get that into the primary tags column?
This sounds like something that would be include/exclude_metadata_pre/post. I would look at the wiki here for more information on that.
FandomWitch is offline   Reply With Quote
Old 07-09-2023, 02:34 PM   #8615
FandomWitch
Member
FandomWitch began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jan 2023
Device: none
Quote:
Originally Posted by beigedaniel2 View Post
I am trying to use the replace_metadata function to replace only words that appear in tags from ao3.
I'm not sure, but if you are looking only at ao3 tags, then freeformtags might be the key you need.

I'm not well-versed, but I hope that works. Otherwise an expert is sure to help out if I'm wrong.
FandomWitch is offline   Reply With Quote
Old 07-09-2023, 02:51 PM   #8616
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
Hmmm. Two very similar questions at once.

AO3 names things a bit differently than FFF does, so AO3's freeformtags, ao3categories go into FFF's genre while AO3's fandoms go into category.

For historical reasons, FFF populates Calibre's Tags column with all the metadata entries listed in the include_subject_tags setting. By default, that is extratags, genre, category, characters, ships, status. There is no one 'tags' metadata entry by default. But nothing stops you from making one, if you want.

Quote:
Originally Posted by chicleeblair View Post
...
What I’m trying to figure out is how to get some of the freeformtags into the tags (subjecttags) without pulling all of them. e.g. if the fic was tagged “AU” and I used add_replace_metadate to change that to “Alternate Universe,” can I then get that into the primary tags column?
chicleeblair - Your short answer is probably something like:
Code:
[archiveofourown.org]
include_subject_tags:freeformtags 
include_metadata_post:
 freeformtags==Value You Want 
 freeformtags==Other Value You Want
See InExcludeMetadataFeature.

A slightly longer answer, if you want to keep the full freeformtags list for title pages is to make a copy:
Code:
[archiveofourown.org]
# declare a new metadata entry
add_to_extra_valid_entries:,tagsiwant

# what goes in it
include_in_tagsiwant:freeformtags 

# put it into subjects tags
include_subject_tags:tagsiwant

# limit what it contains
include_metadata_post:
 tagsiwant==Value You Want 
 tagsiwant==Other Value You Want
Quote:
Originally Posted by beigedaniel2 View Post
...
I am trying to use the replace_metadata function to replace only words that appear in tags from ao3.

I tried using just the following:
Code:
replace_metadata:
  Polyamory=>Poly
but that replaced it even in the title, which I didn't want. I only want the imported tags (that show up in Calibre's default Tags column) to be changed.
This one is simpler: You didn't restrict the replacement, so it applies to everything. Instead, use:
Code:
replace_metadata:
  genre=>Polyamory=>Poly
# or maybe
  fandoms,freeformtags,ao3categories=>Polyamory=>Poly
See ReplaceMetadata for more details.
JimmXinu is offline   Reply With Quote
Old 07-09-2023, 05:05 PM   #8617
beigedaniel2
Junior Member
beigedaniel2 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2023
Device: laptop
Thanks! I greatly appreciate your response and your hard work on this plugin.
beigedaniel2 is offline   Reply With Quote
Old 07-10-2023, 08:07 PM   #8618
chicleeblair
Connoisseur
chicleeblair began at the beginning.
 
Posts: 97
Karma: 10
Join Date: Sep 2018
Device: iPad mini
Nothing like thinking you’ve royally screwed something up, and then discovering the Archive is down.
chicleeblair is offline   Reply With Quote
Old 07-10-2023, 08:08 PM   #8619
chicleeblair
Connoisseur
chicleeblair began at the beginning.
 
Posts: 97
Karma: 10
Join Date: Sep 2018
Device: iPad mini
Gotta love thinking you really screwed up, and then seeing the archive is down.
chicleeblair is offline   Reply With Quote
Old 07-11-2023, 01:40 AM   #8620
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 chicleeblair View Post
Gotta love thinking you really screwed up, and then seeing the archive is down.
It's a DDoS.

Don't start hammering the site by repeatedly trying to download the stories again, lots of users doing that (and constantly refreshing) just makes things worse, lol.

EDIT: As of this morning, they've deployed Cloudflare. Hopefully a temporary measure.

Last edited by ownedbycats; 07-11-2023 at 09:09 AM.
ownedbycats is online now   Reply With Quote
Old 07-11-2023, 09:12 AM   #8621
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
Attempted FanFicFare updates with AO3 get a 403 error, consistent with Cloudflare's 'under attack!' mode.

Hopefully, unlike ffnet, this will be a temporary measure. (Especially since the cachign method won't work here.) On the other hand, AO3 does have built-in downloads, so that can be used for the time being. (Even built-in downloads are spotty. Just hold tight!)

edit: spelling not good-- optical mgiraine hit whikle typing and cant really see will fixtypos later the worst of it passed

ANOTHER EDIT: Update from Reddit. Emphasis mine:

Quote:
[–]cjrecordvt [AO3 Support]
We're still getting CloudFlare used to what our "good" traffic looks like - turns out, "Tuesday" for us is "panic" for other sites, not even counting the international bit. (Fanlore's spotty, too.) As "normal" shakes into place, things like downloads should come back.
Hopefully this includes FFF downloads!

Last edited by ownedbycats; 07-11-2023 at 01:46 PM.
ownedbycats is online now   Reply With Quote
Old 07-11-2023, 01:44 PM   #8622
nan1923
Enthusiast
nan1923 doesn't litternan1923 doesn't litter
 
Posts: 25
Karma: 140
Join Date: Jul 2022
Device: none
Hopefully, since I can't download long fics with ao3's inbuild download function atm (error 500 something) and I'm not looking forward to updating the metadata and anthologies manually
nan1923 is offline   Reply With Quote
Old 07-11-2023, 01:45 PM   #8623
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 nan1923 View Post
Hopefully, since I can't download long fics with ao3's inbuild download function atm (error 500 something) and I'm not looking forward to updating the metadata and anthologies manually
Yes - on the reddit post, people have been reporting varying amounts of success. I tried it myself with a story that just updated and it failed.
ownedbycats is online now   Reply With Quote
Old 07-11-2023, 01:48 PM   #8624
nan1923
Enthusiast
nan1923 doesn't litternan1923 doesn't litter
 
Posts: 25
Karma: 140
Join Date: Jul 2022
Device: none
Quote:
Originally Posted by ownedbycats View Post
Yes - on the reddit post, people have been reporting varying amounts of success. I tried it myself with a story that just updated and it failed.
downloading with FFF or the inbuild function? Inbuild download works mostly, but not for those over 100 chapter fics with high wordcounts
With FFF I only get the 403 error, not even metadata download works
nan1923 is offline   Reply With Quote
Old 07-11-2023, 01:55 PM   #8625
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
I would suggest not trying too much with FFF right now. We don't want to be categorized as part of the problem.
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 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 04:42 PM.


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