View Single Post
Old 04-23-2023, 04:43 PM   #8371
applegaa
Connoisseur
applegaa has learned how to buy an e-book online
 
applegaa's Avatar
 
Posts: 73
Karma: 76
Join Date: Apr 2019
Device: none
Quote:
Originally Posted by JimmXinu View Post
applegaa, the word 'tags' is ambiguous, and metadata entries are not the same thing as what ends up in Calibre's Tags column, aka 'subject tags'. So I'm not 100% sure I know what you are saying. But I will make an attempt.

I think this does it:
Code:
[www.scribblehub.com]

# Remove genre & extratags from Calibre Tags.
include_subject_tags: category, characters, ships, status

# Add a custom column setting to the list for genre,
# flag 'r' for replace to overwrite more generic setting
add_to_custom_columns_settings:
 genre=>#yourcategorycol,r
If that doesn't help, please provide a concrete example with story URL (SFW please) and exactly which values you want and don't want where.
I'm not sure how to even test this, as it only does half of what I want. Maybe...

I have already figured out how to move the metadata from one predefined variable to another. It's swapping the values that is failing as I either get two copies of one set or I get one set and a blank.


An example would be this URL:

https://www.scribblehub.com/series/6...isekai-litrpg/

The Details page on ScribbleHub has the following listed under Genre:
Code:
Action
Adventure
Comedy
Fantasy
Isekai
LitRPG
Slice of Life
It also has the following under Tags:
Code:
Alternate World
Dragons
Dwarfs
Elemental Magic
Elves
Female Protagonist
Game Elements
Game Ranking System
Legends
Level System
Magic
Monsters
Multiple POV
Multiple Realms
Overpowered Protagonist
Protagonist Strong from the Start
I have added a custom column in Calibre called Category which I map to the predefined Category metadata in the FanFicFare Custom Columns configuration tab.

Now, if I load this story using the default configuration, the Tags column in Calibre gets "Action, Adventure, Comedy, Fantasy, Isekai, LitRPG, Slice of Life" (aka ScribbleHub Genre) while the Category column gets "Alternate World, Dragons, Dwarfs, Elemental Magic, Elves, Female Protagonist, Game Elements, Game Ranking System, Legends, Level System, Magic, Monsters, Multiple POV, Multiple Realms, Overpowered Protagonist, Protagonist Strong from the Start" (aka ScribbleHub Tags).

What I want is the opposite. I want the 7 entries that ScribbleHub calls Genre in the Category column and I want the 16 entries that ScribbleHub calls Tags in the Tags column.

- Andrew
applegaa is offline   Reply With Quote