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-09-2023, 03:31 PM   #8611
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, 03:34 PM   #8612
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
Advert
Old 07-09-2023, 03:51 PM   #8613
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,196
Karma: 5006097
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, 06:05 PM   #8614
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, 09:07 PM   #8615
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
Advert
Old 07-10-2023, 09:08 PM   #8616
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, 02:40 AM   #8617
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,432
Karma: 81357187
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 10:09 AM.
ownedbycats is offline   Reply With Quote
Old 07-11-2023, 10:12 AM   #8618
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,432
Karma: 81357187
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 02:46 PM.
ownedbycats is offline   Reply With Quote
Old 07-11-2023, 02:44 PM   #8619
nan1923
Enthusiast
nan1923 doesn't litternan1923 doesn't litter
 
Posts: 27
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, 02:45 PM   #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: 11,432
Karma: 81357187
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 offline   Reply With Quote
Old 07-11-2023, 02:48 PM   #8621
nan1923
Enthusiast
nan1923 doesn't litternan1923 doesn't litter
 
Posts: 27
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, 02:55 PM   #8622
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,196
Karma: 5006097
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
Old 07-11-2023, 02:55 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: 11,432
Karma: 81357187
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
In-built function, sorry. The story that updated is just a bit under 200 chapters so that would make sense.

I didn't try downoading with FFF - would've just got a 403. The RSS feed is dead too, lol.
ownedbycats is offline   Reply With Quote
Old 07-11-2023, 02:58 PM   #8624
nan1923
Enthusiast
nan1923 doesn't litternan1923 doesn't litter
 
Posts: 27
Karma: 140
Join Date: Jul 2022
Device: none
Quote:
Originally Posted by JimmXinu View Post
I would suggest not trying too much with FFF right now. We don't want to be categorized as part of the problem.
ok thanks, I just tried it once for a fic and once for metadata only, didn't know that cache isn't working for ao3.
Maybe write that also on the first page of this forum?

Last edited by nan1923; 07-11-2023 at 03:05 PM.
nan1923 is offline   Reply With Quote
Old 07-11-2023, 03:46 PM   #8625
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,432
Karma: 81357187
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Note that some people have reported success with the browser cache method. I got an error when I tried but may have made a mistake. It worked for me (though I had to clear the cache first).

Last edited by ownedbycats; 07-11-2023 at 03:54 PM.
ownedbycats 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 10:23 PM.


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