View Single Post
Old 02-02-2015, 09:54 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Excellent point... so you could import using

Code:
(?P<comments>.*)
And then select all books, select Edit Metadata, go to the Search and replace tab, and select
Search mode: Regular Expression
Search field: comments
Search for:
Code:
\[Novel\] ([^)(]+)\((.+)\) (\d+) (.*)
Then toggle through the following Replace with and Destination field sets:

for:
title: \1 -- #alt_title: \2 -- series: \1 -- series_index: \3 #status: \4


Replace with: \1
Destination field: title
---------------------------
Replace with: \2
Destination field: #alt_title
---------------------------
Replace with: \1
Destination field: series
---------------------------
Replace with: \3
Destination field: series_index
---------------------------
Replace with: \4
Destination field: #status


Wheeeee! But ugly as heck and takes quite a few steps. Definitely faster than hand-editing.

@xd1986k, you got that?
eschwartz is offline   Reply With Quote