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

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 06-16-2012, 04:54 PM   #1606
Vaesse
Connoisseur
Vaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolate
 
Vaesse's Avatar
 
Posts: 95
Karma: 33020
Join Date: May 2011
Device: Kindle 3 WiFi
At long last, we're feeling better enough.

My brother says this should give you series, and when there's no series, author.

{series:'ifempty($,field("author_sort"))'}
Vaesse is offline  
Old 06-22-2012, 12:48 AM   #1607
Casseres
Junior Member
Casseres began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jun 2012
Device: Kindle Keyboard
Quote:
Originally Posted by Vaesse View Post
At long last, we're feeling better enough.

My brother says this should give you series, and when there's no series, author.

{series:'ifempty($,field("author_sort"))'}
Glad to hear!

I did get that part of the code. I am just trying to find if there is a simpler way of appending "- series" and "- author" to the collection names, because some series are titled after the main character's name and I want to make sure there is no confusion.

The long code I have in my previous post works and does that, but it's not very elagent.

However More importantly, I'm having a problem with the plugin not actually putting the books in collections on my Kindle. The report from the plugin looks good, but on the Kindle itself, none of the books are put in any collections (and I did restart it per the instructions and my Kindle (Keyboard) is registered).
Casseres is offline  
Old 06-22-2012, 03:35 AM   #1608
tumchiemac
Member
tumchiemac began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jul 2011
Device: Kindle3
I'm having that same problem since I updated Calibre and Kindle Collections.
tumchiemac is offline  
Old 06-23-2012, 02:35 AM   #1609
Vaesse
Connoisseur
Vaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolate
 
Vaesse's Avatar
 
Posts: 95
Karma: 33020
Join Date: May 2011
Device: Kindle 3 WiFi
What I do for that is use author sort (last, first) for authors, and series name (if based on character) would be "first last". But I'll ask my brother tomorrow to look at the code and tell me how to append that for you.
Vaesse is offline  
Old 06-30-2012, 03:46 AM   #1610
Kharr
Junior Member
Kharr began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2012
Device: Kindle
Hi,

I have collections and inside each of them I have authors who wrote more than one book, and even series, and I would like to have it displayed better than how it is today, as if I open the fantasy collection, I get the list of all books having the same tag.
What I would like, if possible, is to have the possibility, inside a collection, to regroup series so I would see only one row and then by clicking on it I would display all the books from the serie.

Could anyone help me please ?
Kharr is offline  
Old 06-30-2012, 03:49 AM   #1611
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Not possible with the Kindle's implementation of collections. At best you can create multiple collections at the top level that include a subset of your main collection (e.g. fantasy_all, fantasy_author1, fantasy_author2).
meme is offline  
Old 06-30-2012, 04:37 AM   #1612
Kharr
Junior Member
Kharr began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2012
Device: Kindle
Too bad ...

Thanks a lot for your answer
Kharr is offline  
Old 06-30-2012, 04:02 PM   #1613
gers1978
Addict
gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.gers1978 ought to be getting tired of karma fortunes by now.
 
Posts: 304
Karma: 1008414
Join Date: Jun 2011
Device: Kindle
Quote:
Originally Posted by meme View Post
Based on the debug output it looks like you ran Preview successfully and then ran Customization at which point it crashed. Customization actually completed and saved your updates ('Customization saved data') but the plugin crashed when returning back to calibre.

You said it crashed the other way as well - restart in debug mode, run/save customizations, then run preview - if it crashes can you post the relevant debug output. It may be I need to modify the code to print more debugging information for this issue.
The Kindle Collections menu item doesn't appear anymore in Debub mode??
gers1978 is offline  
Old 07-01-2012, 05:50 PM   #1614
edwdecarlo
Enthusiast
edwdecarlo began at the beginning.
 
Posts: 35
Karma: 41
Join Date: Nov 2011
Location: North Kingstown, RI, USA
Device: Kindle DX,Fire HD
How to Overcome Kindle Series/Collection Limits

Quote:
Originally Posted by Kharr View Post
Hi,

I have collections and inside each of them I have authors who wrote more than one book, and even series, and I would like to have it displayed better than how it is today, as if I open the fantasy collection, I get the list of all books having the same tag.
What I would like, if possible, is to have the possibility, inside a collection, to regroup series so I would see only one row and then by clicking on it I would display all the books from the serie.

Could anyone help me please ?
I also have a Kindle and have struggled with its limited series/collection/list support. Here is what I have done to handle cases where I have Sub-series, as well as keeping track of the series order of my books.

Create 2 new Calibre columns (for both fields, you can set the Column Heading value to what whatever is meaningful, but the Lookup Name value must be what is specified below):

sub_series - Column Type: Text column for keeping series-like information
title_series - Column Type: Column built from other columns

Here is the template for title_series (copy-paste everything in the Code box below into the column's Template field):

Code:
program:
t_prefix='S';
s_index=test(field('series'), contains(field('series_index'), '[.]', template('{series_index:3.2f}'), template('{series_index:3.0f}')), '');
s_mult=contains(t_prefix, '^[S]$', 1, contains(s_index, '[.]', contains(s_index, '^0[.]', 100, 1), 1));
s_index=test(s_index, re(multiply(s_index, s_mult), '[.][0]$', ''), '');
ss_index=test(field('#sub_series'), contains(field('#sub_series_index'), '[.]', template('{#sub_series_index:3.2f}'), template('{#sub_series_index:3.0f}')), '');
ss_mult=contains(t_prefix, '^[S]$', 1, contains(ss_index, '[.]', contains(ss_index, '^0[.]', 100, 1), 1));
ss_index=test(ss_index, re(multiply(ss_index, ss_mult), '[.][0]$', ''), '');
strcat(field('title'), test(s_index, strcat(' [', t_prefix, ':', s_index, ']'), ''),  test(ss_index, strcat(' [S', t_prefix, ':', ss_index, ']'), ''))
With the code above, the #title_series value will be as follows:

Book with no series/sub-series:
'Book Title'
Book with series and no sub-series (assuming first book in series):
'Book Title [S:1]'
Book with series and sub-series (assuming first book in series and sub-series):
'Book Title [S:1] [SS:1]'

Set up a Calibre Metadata Plugboard as follows (this will use the #title_series value to set the Kindle title value):

Format: any format
Device: I picked KINDLE2 since I have a Kindle Gen 2 Keyboard, but pick the appropriate one for your device
Source Template (first row): {#title_series}
Destination Field (first row): title

Under the Kindle Collections config, I have set it up so that collections are created for both the standard Kindle Series column and the new Sub-series column (I prefix the Series with ':S:' and the Sub-series with ':SS:', but you can use whatever works best for you). Note: Any book within a sub-series will appear in both the Series list and the Sub-series list.

Granted, this is not the prettiest, but it does overcome the Kindles inability to handle sub-series and orders.

Hope this helps.
edwdecarlo is offline  
Old 07-01-2012, 05:53 PM   #1615
edwdecarlo
Enthusiast
edwdecarlo began at the beginning.
 
Posts: 35
Karma: 41
Join Date: Nov 2011
Location: North Kingstown, RI, USA
Device: Kindle DX,Fire HD
Opp, just as I hit post I realized that the title may have been misleading. The limitations this is meant to help overcome is with the Kindle device, not the Kindle Collections plug-in. The plug-in rocks.
edwdecarlo is offline  
Old 07-02-2012, 10:55 AM   #1616
BeccaPrice
Wizard
BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.
 
BeccaPrice's Avatar
 
Posts: 2,130
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
Can I manage kindle collections for books that are already on my Kindle (k3) or do I need to take them off the kindle, modify the collection tags on my computer, and then reload the book on my kindle?
BeccaPrice is offline  
Old 07-02-2012, 11:11 AM   #1617
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,224
Karma: 1334002
Join Date: Oct 2010
Location: London, UK
Device: Kindle Paperwhite 3G, iPad 3, iPad Air
@Becca - there are no "tags" as such on books for collections for Kindles. There is just a json index file stored in the Kindle which keeps track of what books are in each collection. You can manually edit collections that you are maintaining on your Kindle using the "Edit Collections" feature of this plugin on the dropdown menu. Alternatively you can generate your collections on the Kindle from calibre using metadata from your library (like by author or tags). And some users use a feature allowing the collections to come from a custom column they setup, so changiing a collection for a book is a matter of changing the value in that column and then running the plugin's "Create collections" feature again.
kiwidude is offline  
Old 07-03-2012, 09:56 AM   #1618
ninki
Enthusiast
ninki began at the beginning.
 
Posts: 39
Karma: 10
Join Date: Aug 2008
Device: Hanlin 6.1, Kindle 3, Kindle Touch
tags only

Hi,
Any idea how do I get my collections to authors sort but if they have a tag, then only appear in that tag folder?
thanks
ninki is offline  
Old 07-03-2012, 12:40 PM   #1619
Vaesse
Connoisseur
Vaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolateVaesse is generous with chocolate
 
Vaesse's Avatar
 
Posts: 95
Karma: 33020
Join Date: May 2011
Device: Kindle 3 WiFi
For tag, and if no tags author sort, use a custom column with this:

{tags:'ifempty($,field("author_sort"))'}
Vaesse is offline  
Old 07-04-2012, 01:38 PM   #1620
fxtrtr
Junior Member
fxtrtr began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2012
Device: Kindle
Will this be updated to work with the Kindle touch at some point?
fxtrtr is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Kindle Collections (Update) NiLuJe Plugins 28 09-18-2014 07:52 PM
Kindle Collections plugin JosephWebber Plugins 0 08-07-2013 04:50 AM
[GUI Plugin] WebOS Kindle-Import CranstD Plugins 0 01-24-2012 03:36 PM
Finding and using Kindle Collections Plugin djchapple Plugins 2 08-03-2011 10:06 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


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


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