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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-30-2014, 10:47 AM   #1
Vortex
Connoisseur
Vortex began at the beginning.
 
Posts: 99
Karma: 10
Join Date: Dec 2008
Device: Panasonic Toughbook CF18 + uBook
Help with a 'Saving Books to Disk' Template

I'm need help with a 'Saving Books to Disk' Template, that will output:

Author Name - Book Title.ext (For books with no series name)
Author Name - Series - Book Title.ext (For books with no series index)
Author Name - Series 01 - Book Title.ext

Thanks.
Vortex is offline   Reply With Quote
Old 11-30-2014, 11:59 AM   #2
eschwartz
Irrational Optimist
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: 8,312
Karma: 14762383
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Code:
{authors} - {series}{series_index:0>2s:| | - }{title}

Last edited by eschwartz; 11-30-2014 at 12:02 PM.
eschwartz is offline   Reply With Quote
 
Advertisement
Old 11-30-2014, 12:33 PM   #3
Vortex
Connoisseur
Vortex began at the beginning.
 
Posts: 99
Karma: 10
Join Date: Dec 2008
Device: Panasonic Toughbook CF18 + uBook
I tried that before, I get this error message:

Vortex is offline   Reply With Quote
Old 11-30-2014, 02:06 PM   #4
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: 5,898
Karma: 1216548
Join Date: Jan 2010
Location: France
Device: Many android devices
The template should be
Code:
{authors} - {series}{series_index:0>2s| | - }{title}
The colon after the 2s shouldn't be there.

@eschwartz: this is the same mistake that I made and you caught back when we were discussing a BNF grammar for the template language.
chaley is offline   Reply With Quote
Old 11-30-2014, 02:44 PM   #5
eschwartz
Irrational Optimist
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: 8,312
Karma: 14762383
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by chaley View Post
The template should be
Code:
{authors} - {series}{series_index:0>2s| | - }{title}
The colon after the 2s shouldn't be there.

@eschwartz: this is the same mistake that I made and you caught back when we were discussing a BNF grammar for the template language.


I prefer program mode -- it is simpler and easier to remember. But I recognized the issue as soon as I saw Vortex's post, which is after you answered.

I would catch that if I hadn't been typing into my Kindle Touch browser.
Usually I field test the template, but in the absense of calibre cross-compiled for the e-ink Kindle...
eschwartz is offline   Reply With Quote
Old 12-04-2014, 10:18 AM   #6
Vortex
Connoisseur
Vortex began at the beginning.
 
Posts: 99
Karma: 10
Join Date: Dec 2008
Device: Panasonic Toughbook CF18 + uBook
Thanks, that did the trick guys
Vortex is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving books to disk using {author_sort} DragonflyKing Library Management 5 09-26-2012 06:08 AM
Syntax for Saving Books to Disk Sea Dubya Calibre 2 04-05-2012 04:15 AM
Saving to Disk Template hurricane51 Conversion 2 07-07-2011 02:22 AM
Using Genre to sort books when saving to device or disk jjchico Calibre 2 07-07-2010 01:27 PM


All times are GMT -4. The time now is 01:15 AM.


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