View Single Post
Old 05-18-2022, 02:13 PM   #7147
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
'Update metadata from saved column' came after 'Update metadata from web site'. As you figured out, FFF assumes you want to update your metadata and falls back to 'from web site' if it isn't saved.

It's pretty trivial to search or virtual library on populated saved column if you don't want that. I'm not terribly interested in changing the behavior now--it's worked that way for years.
Oh, I'm not that bothered by it, I just mentioned it in case it wasn't intentional.

Quote:
Originally Posted by JimmXinu View Post

It appears to be indicating a bad replace_metadata line. But there's code that's supposed to detect and report that type of error when you save personal.ini. Did you override an error? I'd have to see your personal.ini (safe version) to say more.
I was actually trying to clean-up my personal.ini so for testing purposes and speed I kind stripped it for the most part as you can see here.

Spoiler:
## [defaults] section applies to all formats and sites but may be overridden at several levels.
[defaults]

## Some sites also require the user to confirm they are adult for adult content.
is_adult:true
include_titlepage: true


##================================================ ==========================## AO3 - ARCHIVE OF OUR OWN ##================================================ =======
##================================================ ==========================## AO3 - ARCHIVE OF OUR OWN ##================================================ =======
##================================================ ==========================## AO3 - ARCHIVE OF OUR OWN ##================================================ =======


[www.archiveofourown.org]
use_basic_cache:true
always_login:true
username:XXXXXXXX
password:XXXXXXXX

## AO3 offers a page to download the entire work at once. This can save a lot of network traffic if there are many chapters. True by built-in default.
use_view_full_work:true

add_to_extra_valid_entries:,ships2chars,relationsh ips,crossovers
include_in_ships2chars:ships
include_in_relationships:ships
include_in_crossovers:genre

## Tells which tags from the site to include in calibre
include_subject_tags:extratags,ao3categories
include_in_characters:characters,ships2chars
include_in_genre:freeformtags,crossovers
include_in_category:fandoms

add_to_replace_metadata:
ships2chars=>[ ]*/[ ]*=>/
ships2chars=>[ ]*&[ ]*=>/
ships2chars=>([^/]+)/([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3\,\4
ships2chars=>([^/]+)/([^/]+)/(.+)=>\1\,\2\,\3
ships2chars=>([^/]+)/(.+)=>\1\,\2


add_to_include_subject_tags:,tagsfromtitle.SPLIT

## Tells which tags from the site to include on the titlepage
titlepage_entries:series,category,crossovers,genre ,characters,relationships,status,datePublished,dat eUpdated,rating,numChapters,numWords,site,descript ion,

## Tells which tags goes to which customs column
custom_columns_settings:
genre=>#ao3tags_genre,a
category=>#ao3tags_show,a
fandom=>=>#ao3tags_show,a
crossovers=>#ao3tags_show,a
characters=>#ao3tags_char,a
relationships=>#ao3tags_pair,a

replace_metadata:
genre,category,characters=> & =>/
genre,category,characters=>&=>/
ships,genre,category,characters=> \| =>/

##================================================ ==========================## SHOWS ##================================================ ==========================
##================================================ ==========================## SHOWS ##================================================ ==========================


##================================================ ==========================## CHARACTERS ##================================================ =====================
##================================================ ==========================## CHARACTERS ##================================================ =====================


##================================================ ==========================## SHIPS ##================================================ ==========================
##================================================ ==========================## SHIPS ##================================================ ==========================


##================================================ ==========================## GENRE ##================================================ ==========================
##================================================ ==========================## GENRE ##================================================ ==========================



#################### LEAVE THIS ######################
## Do not overwrite this when updating, is meant to be at the end!!!


## Includes/Excludes tags regardless
exclude_metadata_pre:

include_metadata_post:

exclude_metadata_post:


## This section will override anything in the system defaults or other
## sections here.
[overrides]
## default varies by site. Set true here to force all sites to collect series.
collect_series: true
extratags:

## Add this to genre if there's more than one category.
add_genre_when_multi_category: #Crossover


It was getting quite long and clogged up with things that weren't necessarily up to date anymore. To many singular lines address one specific tag, and keeping up with the posts here has taught me a few new trick I trying out.

Quote:
Originally Posted by JimmXinu View Post
'Update metadata from saved column' came after 'Update metadata from web site'. As you figured out, FFF assumes you want to update your metadata and falls back to 'from web site' if it isn't saved.


You can customize Calibre's metadata jacket, but I'm not sure to what degree. See https://manual.calibre-ebook.com/customize.html

I think there's probably an opening for a plugin that injects a customizable metadata title page or jacket, something more detailed than a cover.

I would consider calling such a plugin from FFF, but I'm not interested making it.
Thanks, I will look at the Jacket some more.
I wasn't acctually expecting it to be part of FFF. And have been searching for a separate plugin to do just that.
Modify Epub looked promising, but it just isn't working the way I expected it to.
ackomb is offline   Reply With Quote