Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-01-2012, 01:23 PM   #16
theducks
Grand Sorcerer
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: 14,103
Karma: 5468860
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Multics View Post
Is there any way to restrict the author_sort field to just the furst author when there are multiple authors?
This thread is not a week old
http://www.mobileread.com/forums/sho...d.php?t=169387
theducks is offline   Reply With Quote
Old 03-01-2012, 04:44 PM   #17
chaley
"chaley", not "charley"
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: 4,924
Karma: 802172
Join Date: Jan 2010
Location: France
Device: Many android devices
In general, no.

Your question was further expanded upon in in this post.
chaley is offline   Reply With Quote
Old 03-02-2012, 09:44 AM   #18
Multics
Junior Member
Multics began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2012
Device: SONY PRS-T1volcano
author_sort:sublist(0,1,&) did not work. I ended up with no collections on the device.

Guess for the time being I'll have to edit the metadata.

Thanks for all the help

Last edited by Multics; 03-02-2012 at 09:51 AM.
Multics is offline   Reply With Quote
Old 03-02-2012, 09:49 AM   #19
chaley
"chaley", not "charley"
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: 4,924
Karma: 802172
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by Multics View Post
author_sort:sublist(0,1,&) did not work. I ended up with no collections on the device.

Guess for the time being I'll have to edit the metadata.
You can't put templates in the collections box. You must create a custom column that uses the template, then build the collections from that.

Or edit the data as kiwidude suggested in the other thread.
chaley is offline   Reply With Quote
Old 03-02-2012, 01:46 PM   #20
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,514
Karma: 24880592
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
Originally Posted by chaley View Post
First, apologies to the OP for hijacking the thread. At least the topic is related.

@speakingtohe: you can do what you want by creating a new custom column built from other columns that will contain the value you wish to use for a collection. Lets call it #collections. Do not check the box "Show in tags browser" when creating the column.

I understand that you currently build all collections from author_sort. Assuming I understand correctly, then the template for the #collections column would be
Code:
program: x=field('author_sort'); strcmp(field('series'), 'Anthology', x, 'Anthology', x)
This template will put 'Anthology' into #collections if the series is named that, otherwise it copies author_sort. FYI: the template uses general program mode because in this case, it will be faster than the other two modes. If you want to change the name of the collection, change the second occurrence of 'Anthology'.

You would then use #collections in the 'build series from' box in the device plugin instead of author_sort.

You do not need to show the #collections column on the library spreadsheet.
I did this and it works. Slows down the searchbar searches, but I can just put the column in when reader is going to be attached.

Thanks again
Helen
speakingtohe is offline   Reply With Quote
Old 03-02-2012, 04:17 PM   #21
chaley
"chaley", not "charley"
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: 4,924
Karma: 802172
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by speakingtohe View Post
I did this and it works. Slows down the searchbar searches, but I can just put the column in when reader is going to be attached.

Thanks again
Helen
Glad it works for you.

You can probably avoid creating and removing the column. Instead empty the template when you don't need the value. The easiest way to do that is to click on a cell in the column and press F2 to edit the template. Evaluating an empty template is very fast.

Another possibility is to limit searches to a set of columns that does not include the new one. You do this in Preferences -> Searching.
chaley is offline   Reply With Quote
Old 03-02-2012, 04:45 PM   #22
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,514
Karma: 24880592
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Limiting the search seems good and took about 1 second. You are an unending well of help and information.

Thanks
Helen
speakingtohe is offline   Reply With Quote
Reply

Tags
collections, prs-t1

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to manage collections for Sony PRS-950 Leyor Calibre 7 05-20-2011 09:11 PM
Collections and Sony Reader PRS-600 Pinecone Calibre 64 01-03-2011 05:27 PM
Sony PRS-650 and collections KenDavies Calibre 8 10-15-2010 06:02 AM
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Sony PRS-500 -- Collections Thanlis Calibre 3 12-18-2009 05:32 PM


All times are GMT -4. The time now is 09:10 PM.


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