View Single Post
Old 04-09-2017, 12:35 PM   #1977
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,044
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Tanjamuse View Post
The problem I have is that whenever I download a story from Elysian Fields the EF which should only be in my authorId column also shows up in the AuthorHTML column.
Code:
[dark-solace.org]
add_to_replace_metadata:
    authorId=>^(.*)$=>EF\1
You may recall this discussion from January:

Quote:
Originally Posted by JimmXinu View Post
The adapter uses the storyId internally to create the storyUrl. Which, because you've changed it, is now broken. Most of the adapters work that way because I never anticipated that someone would try to change it.
authorUrl and authorId work the same. By changing authorId, you've broken authorUrl and therefore authorHTML.

Your best bet, if you insist on this level of metadata detail, would be to make copies of storyId/authorId to new metadata entries and include the originals with .NOREPL. That's been explained before.
JimmXinu is offline   Reply With Quote