View Single Post
Old 02-20-2024, 10:40 AM   #9296
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,017
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by w4tchdoge View Post
I'm trying to use replace_metadata to change the title for a specific work but I'm having issues when using parentheses in the replace string.
...
Code:
[https://forums.spacebattles.com/threads/853195/]
replace_metadata:
 title=>^.*$=>Here Comes The New Boss (Nothing Like The Old Boss) - SB
This is an artifact of the tagsfromtitles processing in defaults.ini [base_xenforoforum] section. It looks for whatever is in () in the title and adds it to category instead.

However, if you use add_to_replace_metadata instead of replace_metadata, it will work because add_to_ is added afterwards instead.

Quote:
Originally Posted by culytera View Post
If it’s anything like ampersand needing & try their HTML entity code instead. So ( and )
That doesn't work, sorry.
JimmXinu is offline   Reply With Quote