View Single Post
Old 03-08-2017, 11:54 AM   #1842
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,024
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by dwraith0877 View Post
Is there some way to have it prepend "Sex Contents: " to the rating?
Yes, but the simple way to do it will make it appear that way in the title page entry also:

Code:
[storiesonline.net]
add_to_replace_metadata:
 rating=>^(.*)$=>Sex Contents: \1

add_to_include_subject_tags:,rating
This is a bit more complicated, but adds "Sex Contents: " only to tags, not in the rating entry by making a copy first:

Code:
[storiesonline.net]
add_to_extra_valid_entries:,tagrating
include_in_tagrating:rating

add_to_replace_metadata:
 tagrating=>^(.*)$=>Sex Contents: \1

add_to_include_subject_tags:,tagrating
Quote:
Originally Posted by dwraith0877 View Post
Also thanks for the help and keep up the awesome work.
JimmXinu is offline   Reply With Quote