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-18-2011, 12:53 PM   #1
goldyman
Junior Member
goldyman began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2003
Location: Plano, Texas
Device: pReader (HP webOS)
Help with renaming for "send to device"

Sorry, but I appear to be a total idiot when it comes to coding this stuff. Have searched the forums and the Calibre manual but am still stumped.

I'd like my books to be exported to my device (TouchPad) with the format "Title - Author - isbn - locations.mobi." I have created the ISBN and Locations columns in the book browser.

This is the latest template I've tried:
{title} - {authors} - {identifiers:select(isbn)} - {identifiers:select(locations)}

But instead of showing "61 Hours - Lee Child - 9780440296508 - 5385.mobi"
it just exports "61 Hours - Lee Child.mobi"

Any tips? Again, sorry for my ignorance.
goldyman is offline   Reply With Quote
Old 11-18-2011, 01:20 PM   #2
theducks
Well trained by Cats
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: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by goldyman View Post
Sorry, but I appear to be a total idiot when it comes to coding this stuff. Have searched the forums and the Calibre manual but am still stumped.

I'd like my books to be exported to my device (TouchPad) with the format "Title - Author - isbn - locations.mobi." I have created the ISBN and Locations columns in the book browser.

This is the latest template I've tried:
{title} - {authors} - {identifiers:select(isbn)} - {identifiers:select(locations)}

But instead of showing "61 Hours - Lee Child - 9780440296508 - 5385.mobi"
it just exports "61 Hours - Lee Child.mobi"

Any tips? Again, sorry for my ignorance.
for ISBN did you try {isbn}
chaley will probably have to answer if the other data is accessible via templates
theducks is offline   Reply With Quote
Old 11-18-2011, 01:40 PM   #3
goldyman
Junior Member
goldyman began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2003
Location: Plano, Texas
Device: pReader (HP webOS)
Quote:
Originally Posted by theducks View Post
for ISBN did you try {isbn}
chaley will probably have to answer if the other data is accessible via templates
Yep. I tried {isbn} and {Locations} and have tried adding # at the beginning, too.

I'm doing all this, BTW, in the "Send To Device" preference pane. (Just making sure I'm in the right place.)
goldyman is offline   Reply With Quote
Old 11-18-2011, 01:46 PM   #4
theducks
Well trained by Cats
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: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by goldyman View Post
Yep. I tried {isbn} and {Locations} and have tried adding # at the beginning, too.

I'm doing all this, BTW, in the "Send To Device" preference pane. (Just making sure I'm in the right place.)
Do you use the Send to Device button?
Do you have a Plugboard enabled?
theducks is offline   Reply With Quote
Old 11-18-2011, 01:58 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,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
The template you used is correct, but it is not being used. If it were, then you would see the dashes even if the identifier fields were empty.

Check that there is not an overriding template in the device driver. Preferences -> plugins -> devices -> apple.
chaley is offline   Reply With Quote
Old 11-18-2011, 02:50 PM   #6
goldyman
Junior Member
goldyman began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2003
Location: Plano, Texas
Device: pReader (HP webOS)
Quote:
Originally Posted by theducks View Post
Do you use the Send to Device button?
Do you have a Plugboard enabled?
OK, as per chaley's advice I turned off unused plugins. Yes, I am using Send to Device. But not Metadata plugboards. Couldn't figure that panel out!
goldyman is offline   Reply With Quote
Old 11-18-2011, 03:21 PM   #7
theducks
Well trained by Cats
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: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by goldyman View Post
OK, as per chaley's advice I turned off unused plugins. Yes, I am using Send to Device. But not Metadata plugboards. Couldn't figure that panel out!
The Plugboard can take precedence, was why I asked.
Hope you get it sorted. It will probably be a small thing that has you pulling hairs out .
theducks is offline   Reply With Quote
Old 11-18-2011, 03:23 PM   #8
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,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by goldyman View Post
OK, as per chaley's advice I turned off unused plugins.
I didn't advise turning off unused plugins. I advised checking the apple plugin to see if it specified a save template.
chaley is offline   Reply With Quote
Old 11-18-2011, 03:36 PM   #9
goldyman
Junior Member
goldyman began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2003
Location: Plano, Texas
Device: pReader (HP webOS)
Quote:
Originally Posted by chaley View Post
I didn't advise turning off unused plugins. I advised checking the apple plugin to see if it specified a save template.
Yeh, good point. But I figured if I wasn't using the plugins, maybe it would make Calibre a little leaner? Anyway, the Apple plugin didn't specify a template ... but I just discovered the WebOS plugin in did. So I swapped it out with my template lines (above), and at least now I'm getting the dashes. So, the template now is being read correctly, but my coding must be off.
goldyman is offline   Reply With Quote
Old 11-18-2011, 03:40 PM   #10
goldyman
Junior Member
goldyman began at the beginning.
 
Posts: 9
Karma: 10
Join Date: May 2003
Location: Plano, Texas
Device: pReader (HP webOS)
STOP THE PRESSES! We have success. I had to change the "Save to Device" template and the webOS plug-in to this, and now it's perfect. Thanks, guys, for all the help!

{title} - {authors} - {isbn} - {#Locations}
goldyman is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Run plugin after "send to device" minicheck Development 1 02-26-2011 09:42 PM
"add metadata as 1st page" won't work on batch [send to device] Bellychaser Devices 3 01-25-2011 03:25 PM
How to change "Send to device" without folders? Skydog Calibre 12 05-23-2010 12:13 PM
template for "send to device" customization sbin Calibre 8 01-07-2010 07:22 AM
"Send to device" problems with 0.5.14 / PRS-505 TMF Calibre 0 06-14-2009 05:16 PM


All times are GMT -4. The time now is 09:58 AM.


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