View Single Post
Old 09-23-2012, 06:56 PM   #865
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.
 
Posts: 1,820
Karma: 510215
Join Date: Dec 2011
Location: Midwest USA
Device: Nook STR w/Glowlight, Kindle 3g, Droid
No feedback on the previous test version yet, hopefully that means it's working fine.

This version improves the handling of include_in_* config so that include_in_* lines can now include each other.

It also adds the ability to restrict replace_metadata lines to only modify specific metadata by entry/key word.

Code:
replace_metadata:
 genre=>Sci-Fi=>SF
 genre=>Comedy=>Humor
 characters,ships=>Harry P\.=>Harry Potter
(FYI, the '.' in 'Harry P.' needs to be escaped with '\' because '.' means 'any character' in regular expression.)

By using extra_valid_entries, I believe you should be able to do anything you would be able to if I had implemented replacement by destination column.

Code:
[somesite]

extra_valid_entries:editedchars
editedchars_label:Characters by site

include_in_editedchars:characters

replace_metadata:
 editedchars=>^(.+)$=>somesite:\1

extra_titlepage_entries: editedchars

custom_columns_settings:
 editedchars=>#hierchars,r

Last edited by JimmXinu; 10-02-2012 at 07:25 PM. Reason: Remove obsolete beta versions
JimmXinu is offline   Reply With Quote