View Single Post
Old 01-16-2022, 02:13 PM   #6828
Emerald_Lilies
Junior Member
Emerald_Lilies began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jan 2022
Device: none
Quote:
Originally Posted by JimmXinu View Post
You are very nearly there.

You need to define onlyromships so FFF knows it's there, and you need to do something with onlyromships so it's visible somewhere.
So I did have some of that in already, but didn't think to copy it in the post. I added what I was missing (except the Title Page section - I use the original ships for that). Here is the whole of my AO3 section (the only place I use onlyromships):

Spoiler:
Code:
[archiveofourown.org]
username:XXXXXXXX
password:XXXXXXXX
is_adult:true
always_login:true

## Some adapters collect additional meta information beyond the
## standard ones.  They need to be defined in extra_valid_entries to
## tell the rest of the FanFicFare system about them.  They can be
## used in include_subject_tags, titlepage_entries,
## extra_titlepage_entries, logpage_entries, extra_logpage_entries,
## and include_in_* config items.  You can also add additional entries
## here to build up composite metadata entries.
## archiveofourown.org, for example, fills genre (a standard
## entry) as the composite of freeformtags, ao3categories in
## include_in_genre.  If there's ever more than 4 series, add
## series04,series04Url etc.
extra_valid_entries:fandoms, freeformtags, freefromtags,
 ao3categories, comments, chapterslashtotal, chapterstotal, kudos,
 hits, bookmarks, collections, byline, bookmarked, bookmarktags,
 bookmarksummary, bookmarkprivate, bookmarkrec, restricted, series00,
 series01, series02, series03, series00Url, series01Url, series02Url,
 series03Url, series00HTML, series01HTML, series02HTML, series03HTML,
 ships2chars,onlyromships
fandoms_label:Fandoms
freeformtags_label:Freeform Tags
freefromtags_label:Freeform Tags
ao3categories_label:AO3 Categories
comments_label:Comments
chapterslashtotal_label:Chapters/Total Chapters
chapterstotal_label:Total Chapters
kudos_label:Kudos
hits_label:Hits
collections_label:Collections
## Count of bookmarks on story by all users
bookmarks_label:Bookmarks
## Tags & Summary from *your* bookmark on the story.  Only collected
## if always_login:true
bookmarked_label:I Bookmarked Story
bookmarktags_label:My Bookmark Tags
bookmarksummary_label:My Bookmark Summary
bookmarkprivate_label:My Bookmark Private
bookmarkrec_label:My Bookmark Rec
restricted_label:Restricted to Registered Users
series00HTML_label:Series
series01HTML_label:Additional Series
series02HTML_label:Additional Series
series03HTML_label:Additional Series

## Assume entryUrl, apply to "<a class='%slink' href='%s'>%s</a>" to
## make entryHTML.
make_linkhtml_entries:series00,series01,series02,series03

## chapterslashtotal contains 1/3 or 1/1 or 3/? etc as reported by AO3.
## chapterstotal is just the total chapters part after the /
include_in_chapterstotal:chapterslashtotal.NOREPL
add_to_replace_metadata:
 chapterstotal=>^([0-9])+/(.+)$=>\2

keep_in_order_freeformtags:true
keep_in_order_ao3categories:true
keep_in_order_fandoms:true
keep_in_order_genre:true
keep_in_order_category:true
keep_in_order_characters:true
keep_in_order_ships:true

## AO3 doesn't have anything it calls 'genre'.  The adapter used to be
## hardcoded to include the site specific metadata freeformtags &
## ao3categories in the standard metadata field genre.  By making it
## configurable, users can change it.
include_in_genre: freeformtags, ao3categories

## AO3 uses the word 'category' differently than most sites.  The
## adapter used to be hardcoded to include the site specific metadata
## fandom in the standard metadata field category.  By making it
## configurable, users can change it.
include_in_category:fandoms

## freeformtags was previously typo'ed as freefromtags.  This way,
## freefromtags will still work for people who've used it.
include_in_freefromtags:freeformtags

## adds to titlepage_entries instead of replacing it.
#extra_titlepage_entries: fandoms,freeformtags,ao3categories,comments,
#chapterslashtotal,kudos,hits,bookmarks,bookmarked,bookmarktags,
#bookmarksummary,series01HTML,series02HTML,series03HTML
titlepage_entries: seriesHTML,rating,warnings,ao3categories,fandoms,
 ships,characters,freeformtags,status,datePublished,dateUpdated,
 numWords,chapterslashtotal,comments,kudos,hits,bookmarks,bookmarked,
 bookmarktags,bookmarksummary,series01HTML,series02HTML,series03HTML,
 site,description

## adds to include_subject_tags instead of replacing it.
extra_subject_tags:fandoms,freeformtags,ao3categories,onlyromships

include_in_onlyromships:ships

add_to_include_metadata_post:
 onlyromships=~[ ]*/[ ]*

#add_to_exclude_metadata_post:
#onlyromships=~&amp;

include_in_ships2chars:ships.NOREPL
# NOREPL prevents any ships patterns from being applied to ships2chars.

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

include_in_characters:characters,ships2chars

add_to_custom_columns_settings:	
 chapterslashtotal=>#chapters
 freeformtags=>#freeformtags
 onlyromships=>#ships
 ships=>#gcships
 description=>#description
 bookmarked=>#bookmarked

extra_logpage_entries:fandoms,freeformtags,ao3categories,comments,
 chapterslashtotal,kudos,hits,bookmarks,collections,byline,bookmarked,
 bookmarktags,bookmarksummary,bookmarkprivate,bookmarkrec,restricted,series00,
 series01,series02,series03


I still can't get it to work with the fic I linked last post. It works fine for other fics, as long as the "&" ship isn't the only one. Like it works for this fic:
https://archiveofourown.org/works/35839024

But not this fic (the first fic under the Gen tag on AO3 currently):
https://archiveofourown.org/works/35...pters/87480472

I'm feeling very confused lol. Will it just not let you leave a blank field?
Emerald_Lilies is offline   Reply With Quote