Quote:
Originally Posted by ILB
Would it be possible to add both in author: 'Orig Author' and 'Archivist Author' ?
Or maybe the whole phrase: 'Orig Author' [archived by 'Archivist Author']
|
That's what
byline contains.
In the existing code:
By default,
author contains Archivist Author. When
use_archived_author:true, author will contain Orig Author.
You can replace author with byline using
include_in_author:byline, but you'd have to do by specific story URLs, since byline is usually empty.
If you used
include_in_author:author,byline, then for author you will get "Archivist Author, Orig Author [archived by Archivist Author]" when byline was present. And I suppose you could then remove the '[archived by ...]' parts with
replace_metadata.
However, the second author link in title page will be broken because there isn't an authorUrl for it. That could be addressed by
include_in_authorUrl:authorUrl,storyUrl. Author is one of the few places FFF does
not sort the list alphabetically, BTW, specifically so authors and their URLs will line up.
So this appears to work and I don't think it will hurt AO3 stories without a byline:
Code:
[archiveofourown.org]
include_in_author:author,byline
include_in_authorUrl:authorUrl,storyUrl
add_to_replace_metadata:
author=> \[archived by.*\]=>
(Note the lack of space after 'by' in the regexp--the space gets eaten somewhere and I don't care to find it.)