Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 05-13-2015, 07:46 AM   #1
Daigomi
Junior Member
Daigomi began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2011
Device: Kindle
Importing tags with ; as separator

Hi guys

I've been given a list of 1000 pdfs and a CSV file with the metadata of all 1000 files (including the information for 15 custom columns). What I need to do is create a Calibre library by combining the files with the metadata.

The merge is fairly straightforward, I use kiwidude's CSV import plugin to grab all the data and place it in the appropriate columns. The issue I'm having is that most of the custom columns contain multiple values (for example "Hardback; Comics, graphic novels and artbooks; Audiobook") that is separated using semicolons. I tried doing a replace in the CSV file, but that resulted in many orphaned tags (for example, it would split "Comics" from "graphic novels and artbooks").

Is there anyway to change the separator (either for all of Calibre or just for the custom columns) from a comma to a semicolon? If not, is there perhaps a better or different workaround that I can use?

Thanks!
Daigomi is offline   Reply With Quote
Old 05-13-2015, 08:56 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,440
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
You cannot change calibre's separator.

I suggest that you invert comma and semicolon so that you would have "Hardback, Comics; graphic novels and artbooks". You can do this by first replacing the commas with something strange such as $%^%$, then replacing the semicolons with commas, then replacing the "something strange" with semicolons.
chaley is offline   Reply With Quote
Advert
Old 05-13-2015, 09:33 AM   #3
Daigomi
Junior Member
Daigomi began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2011
Device: Kindle
Thanks Chaley!

I actually did exactly that while I was waiting for a reply. I should have thought of it much earlier. A proper solution would still be nice, but this is a decent work around.
Daigomi is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paragraph separator roger64 Editor 3 04-26-2014 03:17 AM
<hr> as section separator? orange! ePub 13 09-17-2013 03:31 PM
Calibre tags My Shelves not importing to Kobo Glo any more? CherylRainfield Library Management 17 06-21-2013 08:57 AM
Subgroup Separator ilovejedd Library Management 8 03-03-2012 10:55 AM
Importing pdf library from Papers - missing meta tags varmemester Calibre 0 09-16-2010 10:56 AM


All times are GMT -4. The time now is 03:18 AM.


MobileRead.com is a privately owned, operated and funded community.