View Single Post
Old 07-17-2022, 12:12 PM   #7329
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,005
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
multi-reply

Quote:
Originally Posted by Asheron View Post
I want to create two columns for ships. One for romantics and the other one for platonics (ao3 use the ampersand (&) to identify this). Like this one: https://archiveofourown.org/works/30...pters/74655264
...
Also, there's a way to maintain the tag orders without marking the box Contains Names? Asking because when I mark it separate everything with an ampersand (&) and this mess up the relationships that are platonic (it separate them).
FFF doesn't have an easy way to do that. But it does have a complicated way.

This works for me, but read the comments and try to understand it; I make no promises you can just paste it in your config and have everything work.

Code:
## could be under [archiveofourown.org] instead, but I believe there are 
## some other sites that use / and & ships conventions.
[defaults]

# create a couple new metadata entries
add_to_extra_valid_entries:,romships,platships

# label them (used with titlepage and logpage)
romships_label:Romantic Relationships
platships_label:Platonic Relationships

# copy standard entry ships into them
include_in_romships:ships
include_in_platships:ships

# only include / ships in romships and & ships in platships.
# & because HTML
add_to_include_metadata_post:
 romships=~/
 platships=~&

# optional: add romships and platships to the titlepage 
# inside the ebook.
add_to_titlepage_entries:,romships,platships

# Set romships and platships to your custom columns.
# change #romshipscol and #platshipscol to match the 
# lookup names for your custom columns
add_to_custom_columns_settings:
 romships=>#romshipscol
 platships=>#platshipscol

# don't sort ships, romships or platships
keep_in_order_ships:true
keep_in_order_romships:true
keep_in_order_platships:true
Note that there's a checkbox at the bottom of the FFF config settings Custom Columns tab "Allow custom_columns_settings from personal.ini to override", that must be checked.

There are a number of wiki pages that explain more about what the settings above mean. See:

https://github.com/JimmXinu/FanFicFare/wiki/INI-File
https://github.com/JimmXinu/FanFicFa...etadataFeature
https://github.com/JimmXinu/FanFicFa...dataManagement

Quote:
Originally Posted by DavidBrookes View Post
I am attempting to update the metadata for some of my saved FanFiction.Net stories as the author has changed their name 'again' but when I tried to do so I am getting the following error 'HTTP Error in FFF '403 Client Error: Forbidden for url: https://www.fanfiction.net/s/1343686...Clash'(403)
https://www.fanfiction.net/s/1343686...h-Worlds-Clash'. I have confirmed the URL is correct and working in a web browser.
It is probably my settings for FanFiction.Net are stuffed but can anyone please help?
See FAQ Why am I having errors downloading from fanfiction.net?

ADDENDUM

Asheron: While testing metadata settings for Calibre columns, it helps a lot to have setup a Saved Metadata Column and use "Update Calibre Metadata from Save Metadata Column" mode. That way you're not hitting the site every time.

Last edited by JimmXinu; 07-17-2022 at 12:16 PM. Reason: addendum
JimmXinu is offline   Reply With Quote