Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-19-2015, 12:44 AM   #1
les.61
Junior Member
les.61 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2015
Device: Kobo
Cool Importing Tags

I have books that have the following naming structure and want to be able to import with the tag. I have tried and cannot get it to work.

<Title> - <Author> - <Tag(s)> - <series>

I have tried
(?P<title>.+) - (?P<author>[^_]+) - (?P<tags>.+) - (?P<series>[^_]+)

but it will still not import the tags. Any suggestions?
les.61 is offline   Reply With Quote
Old 08-19-2015, 01:54 AM   #2
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,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
That is because, as you can see in the testing box below, tags are not supported by the filename regex.
eschwartz is offline   Reply With Quote
Old 08-19-2015, 10:05 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,801
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
What eschwartz said

{tags} in Calibre are not a single item . What you see is a concatenated construct.

Each tag in the list is a separate record (more like what you see if you click the Tag edit while editing metadata). The REGEX template can't parse the tag list.
theducks is offline   Reply With Quote
Old 08-19-2015, 11:05 AM   #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,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The regex template can parse tags just fine, all it has to do is locate a dumb string.

The actual issue is that calibre only supports a limited subset of fields for importing metadata from filenames, and tags did not make the cut.
Neither did custom columns.
eschwartz is offline   Reply With Quote
Reply

Tags
import, tags


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing tags with ; as separator Daigomi Library Management 2 05-13-2015 09:33 AM
Calibre tags My Shelves not importing to Kobo Glo any more? CherylRainfield Library Management 17 06-21-2013 08:57 AM
Searching tags to show tags I want even when it has a tag I do not Jade Aislin Library Management 2 04-25-2012 01:01 PM
Amazon Tags - Popular tags vs Unique tags. chrisanthropic Writers' Corner 6 09-19-2011 11:18 PM
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 11:49 AM.


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