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 11-18-2012, 09:48 PM   #1
paw3pals
Enthusiast
paw3pals doesn't litterpaw3pals doesn't litter
 
paw3pals's Avatar
 
Posts: 47
Karma: 112
Join Date: Mar 2012
Device: nook tablet
Meta Plugboard Help

I am trying to combine two functions in the metadate plugboard and have been unable to get it right using the Calibre Manual on template language.

I have been able to eliminate the dash (-) before non-series titles but, keep getting the series number twice (example: Kitty Norville 010 - 10 - Kitty Steals the Show).

My current template is:
{series} {series_index:0>3s} - {title}

I know I need to combine that somehow with the "| - |" part of the below:
{series} {series_index:| - |} {title}

I just know the answer will be something simple.

Any help will be appreciated.
paw3pals is offline   Reply With Quote
Old 11-18-2012, 10:17 PM   #2
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,651
Karma: 5629001
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by paw3pals View Post
I am trying to combine two functions in the metadate plugboard and have been unable to get it right using the Calibre Manual on template language.

I have been able to eliminate the dash (-) before non-series titles but, keep getting the series number twice (example: Kitty Norville 010 - 10 - Kitty Steals the Show).

My current template is:
{series} {series_index:0>3s} - {title}

I know I need to combine that somehow with the "| - |" part of the below:
{series} {series_index:| - |} {title}

I just know the answer will be something simple.

Any help will be appreciated.
the 010 has to be already in your series name (it will show outside the [ ] )
theducks is offline   Reply With Quote
Old 11-18-2012, 10:53 PM   #3
paw3pals
Enthusiast
paw3pals doesn't litterpaw3pals doesn't litter
 
paw3pals's Avatar
 
Posts: 47
Karma: 112
Join Date: Mar 2012
Device: nook tablet
Quote:
Originally Posted by theducks View Post
the 010 has to be already in your series name (it will show outside the [ ] )
I'm afraid I don't understand your reply?
paw3pals is offline   Reply With Quote
Old 11-18-2012, 11:11 PM   #4
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 6,787
Karma: 43933000
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Can you check the titles of your books. Are they 10 - Kitty Steals the Show or Kitty Steals the Show ?
PeterT is offline   Reply With Quote
Old 11-18-2012, 11:20 PM   #5
paw3pals
Enthusiast
paw3pals doesn't litterpaw3pals doesn't litter
 
paw3pals's Avatar
 
Posts: 47
Karma: 112
Join Date: Mar 2012
Device: nook tablet
Quote:
Originally Posted by PeterT View Post
Can you check the titles of your books. Are they 10 - Kitty Steals the Show or Kitty Steals the Show ?
There are no numbers in the titles (it is "Kitty Steals the Show). The series number only shows in the Series Column as "Kitty Norville [10]" and in the Book Details pane as "Book X of Kitty Norville.
paw3pals is offline   Reply With Quote
Old 11-19-2012, 12:23 AM   #6
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,651
Karma: 5629001
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
check to see that you don't have another template in the Plug board
AND
also one in the Nook device driver
theducks is offline   Reply With Quote
Old 11-19-2012, 12:36 AM   #7
paw3pals
Enthusiast
paw3pals doesn't litterpaw3pals doesn't litter
 
paw3pals's Avatar
 
Posts: 47
Karma: 112
Join Date: Mar 2012
Device: nook tablet
Quote:
Originally Posted by theducks View Post
check to see that you don't have another template in the Plug board
AND
also one in the Nook device driver
There are no other templates.

Does anyone know HOW to add "{series} {series_index:| - |} {title}" to the below expression? If there is no series then I do not want the dash to appear before the title.

{series} {series_index:0>3s} - {title}

thanx.
paw3pals is offline   Reply With Quote
Old 11-19-2012, 04:54 AM   #8
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,459
Karma: 831552
Join Date: Jan 2010
Location: France
Device: Many android devices
Quote:
Originally Posted by paw3pals View Post
There are no other templates.

Does anyone know HOW to add "{series} {series_index:| - |} {title}" to the below expression? If there is no series then I do not want the dash to appear before the title.

{series} {series_index:0>3s} - {title}

thanx.
The template is
Code:
{series} {series_index:0>3s| - |} {title}
However, even though this template matches your examples, it does not match your words. You say you want the dash before the title, and the above template puts the dash between the series and series index.

If you want the dash before the title, then the template is
Code:
{series} {series_index:0>3s|| - } {title}
If you want the series index enclosed in brackets, then the template is
Code:
{series} {series_index:0>3s|[|] - } {title}
chaley is offline   Reply With Quote
Old 11-19-2012, 04:56 AM   #9
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,840
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by paw3pals View Post
There are no other templates.
There must be something somewhere to give you the extra series number because the template you shared with us will not do it.

Quote:
Originally Posted by paw3pals View Post
Does anyone know HOW to add "{series} {series_index:| - |} {title}" to the below expression? If there is no series then I do not want the dash to appear before the title.

{series} {series_index:0>3s} - {title}
Read this sticky post.

Also if you're still getting the extra series index showing you might want to take a screen shot of the metadata plugboard config and attach it.

Update: Or you could read the excellent explanation by chaley in post 8 above.

Last edited by DoctorOhh; 11-19-2012 at 05:35 AM.
DoctorOhh is offline   Reply With Quote
Old 11-19-2012, 10:01 AM   #10
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,651
Karma: 5629001
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
the 3s part of the template accounts for the '010' (as desired)

the '10' is what I would expect if no template formatting ({series_index}) were used.

3.5 places can have template control

1a) Preferences: Send to Device
1b) preferences: Save to Disk
2) the specific device OUTPUT driver. Preferences: Plugins: Device Interface: <your device>
3) Metadata plugboard

I know that #2 take priority over #1. I don't know where/how #3 fits in
theducks is offline   Reply With Quote
Old 11-19-2012, 11:18 PM   #11
paw3pals
Enthusiast
paw3pals doesn't litterpaw3pals doesn't litter
 
paw3pals's Avatar
 
Posts: 47
Karma: 112
Join Date: Mar 2012
Device: nook tablet
[QUOTE=chaley;2310483]

If you want the dash before the title, then the template is
Code:
{series} {series_index:0>3s|| - } {title}
This does it. Thank you so much.

I was messing up at | placements around the dash - I obviously do not understand their function well (or at all!)
paw3pals 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
Plugboard Help! ChrisKaos Library Management 0 04-22-2012 04:18 AM
Plugboard limitations. DavidTC Devices 1 03-30-2012 05:26 AM
Metadata Plugboard IxiaAurea Calibre 1 11-05-2011 01:13 PM
Plugboard Question gweminence Calibre 3 01-11-2011 01:34 PM
set meta data with ebook-meta and ebook-convert krischik Calibre 6 01-19-2010 11:40 AM


All times are GMT -4. The time now is 12:37 AM.


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