09-22-2010, 02:05 PM | #31 |
ZCD BombShel
Posts: 4,793
Karma: 8293322
Join Date: Jan 2009
Location: The Frozen North (aka Illinois, USA)
Device: iPad, STB Kindle Oasis
|
Yes, they do. I'm anxious to see all this implemented. I was thinking, "Oh, I'll install this and try it out", but then about the third post I realized the feedback they wanted was wayyy over my head, plus that, by the time I'd have time to do anything major with it, they'll have it done and released in the main production package. Not only does Calibre devel. rock, they're FAST.
|
09-22-2010, 02:34 PM | #32 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
Advert | |
|
09-22-2010, 02:50 PM | #33 |
Time Enough at Last
Posts: 387
Karma: 1151316
Join Date: Feb 2008
Location: New England
Device: iPad 3, iPhone 5, Kindle 3, Fire, Sony PRS-350
|
|
09-22-2010, 02:58 PM | #34 | ||
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
Code:
{|tags|/}{|series|/}{|series_index|- }{title} {/|tags|/}{|series|/}{|series_index|- }{title} {/|series|/}{title} Quote:
|
||
09-22-2010, 03:00 PM | #35 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Putting path separators into the expressions isn't going to work. Leave those outside. calibre takes care of empty path components automatically anyway.
|
Advert | |
|
09-22-2010, 03:06 PM | #36 | |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
series_index is not blank, it always has a value (but is only displayed if Series has a value) The value is Series index default or set) For this to work, we would need blank (string) OR Zero (numeric) |
|
09-22-2010, 03:31 PM | #37 | |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
Code:
{|series_index:0>2s|- } Code:
{series_index:0>2s} Also, I have a question: If a book has multiple tags, is it possible to use only a single tag in a template? I tried Code:
{tags[0]} |
|
09-22-2010, 03:32 PM | #38 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
If series is blank, then series_index is set to None. I tested with this expression and it works. {series}{ - |series_index|}/{author}/{title} I get a folder level for series if the series exists, otherwise I don't. |
|
09-22-2010, 03:46 PM | #39 | ||
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Instead, I suggest you make a custom text field and put the correct tag in it. No ambiguity. Note: a last-minute optimization broke composite fields. The code changed from Code:
'%s%s%s'%(prefix, value, suffix) Code:
prefix + value + suffix. |
||
09-22-2010, 04:44 PM | #40 | |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
All entries in the series table have index values. Some of us have series that contain, both sequenced items and non-sequence (not in the main story placement) items . I usually assign 0 to the index. I thought that was what he (and I) was trying to suppress. My bad. |
|
09-22-2010, 04:53 PM | #41 |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
No big deal, I was just thinking about how to restructure my library to get rid of tags as folder assignments, something I've been wanting to do for some time now.
|
09-23-2010, 11:28 AM | #42 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
OK, I have fixed the format spec + template problem. (Yea, you have heard this before. But this time I really mean it. )
In addition, and because it was convenient, I did some more stuff. The FAQ isn't updated yet, but a summary (not so short) is under the spoiler. Summary: fully dynamic path generation, (some) functions in format specs, and direct editing of composite field format specifications on the library view. I also changed the prefix and suffix position, because it made things *much* simpler. A field now looks like {name:fspec|prefix|suffix}. Any of fspec, prefix, or suffix can be empty. It is permissible to have no bars, but if there is one bar, then there must be two and the ':' must be there. Summary: {field}, {field:2>0s}, {field:||suffix}, and the like. Documentation is: Spoiler:
|
09-23-2010, 01:51 PM | #43 |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
So !
Is there going to be a new Beta soon |
09-23-2010, 02:16 PM | #44 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
09-23-2010, 02:34 PM | #45 |
Well trained by Cats
Posts: 29,817
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sony collections and custom fields: how to handle duplicates? | chaley | Calibre | 13 | 09-02-2010 04:11 PM |
Amazon integrates Video and Audio with Ebooks | luqmaninbmore | News | 22 | 06-28-2010 06:22 PM |
PRC file doesn't fully import into Calibre | MSJim | Kindle Formats | 1 | 06-01-2010 02:55 PM |
Calibre custom news feed and python help. | harrynewman | Calibre | 4 | 10-08-2009 09:26 AM |
Smashwords integrates with Stanza, optimized for iPhone | Smashwords | News | 1 | 11-29-2008 03:26 PM |