View Single Post
Old 02-24-2018, 10:28 AM   #2618
edeniz
Zealot
edeniz began at the beginning.
 
Posts: 132
Karma: 10
Join Date: Oct 2015
Device: Sony Reader, Tolino Shine, Samsung Galaxy S3
A quick question:

What could be the reason for why ships2chars fails? I mean, I know that if the characters field (or any field for that matter) does not have at least one entry, it's unreasonable to expect it, so that's not what I mean. In the example cases I have noticed, the characters field *does* have an entry, but ships2chars fails. In fact, I have tested it with stories where previously ships2chars *had* worked without trouble, so that's why I know I must have messed it up somewhere along the line.

I tried it with literally only this in replace_metadata.txt:

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


So it can't be that the replaced metadata is the source, right? What am I missing? What did I unwittingly mess up? Because at one point it worked without problems. So where in the ini should I look for the error?

Example url to try it out:
https://archiveofourown.org/works/12793047

And this one is the link to a story where it had split the ships into chars without problems way back when: http://archiveofourown.org/works/2123949


Below is the relevant .ini attached.


Thank you kindly for any and all help.
Attached Files
File Type: txt ini for forum.txt (7.1 KB, 272 views)
edeniz is offline   Reply With Quote