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 11-24-2016, 02:26 PM   #1
Irian
Enthusiast
Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.
 
Posts: 47
Karma: 450
Join Date: Mar 2011
Device: PRS-600, PRS-650, Tolino Vision 3 HD, Kobo Libra H20
{tags} - just unsorted

Hello,

I've got a book that, in the metadata view, has tags like this...

"Science Fiction, Postapocalyptic"

So, the first tag is "Science Fiction". Unfortunately, when using {tags}, the list is sorted alphabetically, thus making "Postapocalyptic" the first one.

Is there any way to get the original, unsorted tag list, since then I want to use this first tag (the one, I entered first, not the first one alphabetically) as a part of my ebook name on my device (tolino collections -> collection should be series, if any, first tag else or "other" if no tags/series... Works fine, except the tags are sorted, thus I keep getting the "wrong" tag).

Regards,

Flo
Irian is offline   Reply With Quote
Old 11-24-2016, 02:43 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,712
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Irian - try using the raw_list(name, separator) function in the template.

BR
BetterRed is offline   Reply With Quote
Advert
Old 11-24-2016, 02:54 PM   #3
Irian
Enthusiast
Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.
 
Posts: 47
Karma: 450
Join Date: Mar 2011
Device: PRS-600, PRS-650, Tolino Vision 3 HD, Kobo Libra H20
Thanks, I tried using {raw_list(tags, ',')} as a new column, but somehow that doesn't work, something is still eluding me...
Irian is offline   Reply With Quote
Old 11-24-2016, 03:10 PM   #4
Irian
Enthusiast
Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.Irian has a complete set of Star Wars action figures.
 
Posts: 47
Karma: 450
Join Date: Mar 2011
Device: PRS-600, PRS-650, Tolino Vision 3 HD, Kobo Libra H20
A suggested solution:

Code:
{tags:'sublist(raw_list($, ','), 0, 1, ',')'}
Didn't know about the $. But unfortunately, it doesn't work. Still getting the first alphabetical tag, not the first real one.

Last edited by Irian; 11-24-2016 at 03:14 PM.
Irian is offline   Reply With Quote
Old 11-24-2016, 03:39 PM   #5
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,425
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Irian View Post
A suggested solution:

Code:
{tags:'sublist(raw_list($, ','), 0, 1, ',')'}
Didn't know about the $. But unfortunately, it doesn't work. Still getting the first alphabetical tag, not the first real one.
See my response in the other thread.
chaley is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Calibre Tags & Aldiko Tags Not the Same Themus Calibre 3 03-21-2012 08:23 PM
Amazon Tags - Popular tags vs Unique tags. chrisanthropic Writers' Corner 6 09-19-2011 11:18 PM
iBooks messing up my unsorted lists dasboeh ePub 3 09-15-2011 04:36 AM


All times are GMT -4. The time now is 12:30 PM.


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