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 06-24-2011, 01:04 PM   #1
Rie142
Member
Rie142 began at the beginning.
 
Posts: 17
Karma: 24
Join Date: Dec 2009
Location: Just outside of Seattle, WA
Device: Kindle2
Unhappy All fixed . . . User error

Ok So I messed up totally. . . I did all this below. I created my three columns. Then I put in the plugboard template code. This all worked at one time. Now it isn't working.

I had recently added the GUI Plugin Kindle Collection. Did this not play nice with the custom columns? I uninstalled the GUI Plugin Kindle Collection. I am using Windows Vista home edition. I have never had a problem with this
Metadata: Put series into the title, using either initials or a shortened form. Strip leading articles from the series name (any) (inspired by Gary_M_Mugford)

Working before. Until I messed something up. If we can get it working again I will be so happy.

What it isn't doing is putting the series number in the title like the output should. Or adding the shortened series initials. Like this. Output: LotR [02] The Two Towers

Thanks for all the help. I not really computer savy but I can get help if needed. Thanks. Again


General Metadata

Metadata: Put series into the title, using either initials or a shortened form. Strip leading articles from the series name (any) (inspired by Gary_M_Mugford)
Spoiler:
The solution requires creating three composite columns. The first column is used to remove the leading articles. The second is used to compute the 'shorten' form. The third is to compute the 'initials' form. Once you have these columns, the plugboard selects between them. You can hide any or all of the three columns on the library view.

First column:
Code:

Name: #stripped_series. Template: {series:re(^(A|The|An)\s+,)||}

Second column (the shortened form):
Code:

Name: #shortened. Template: {#stripped_series:shorten(4,-,4)}

Third column (the initials form):
Code:

Name: #initials. Template: {#stripped_series:re(([^\s])[^\s]+(\s|$),\1)}

Plugboard expression:
Code:

Template:{#stripped_series:lookup(.\s,#initials,., #shortened,series)}{series_index:0>2s| [|] }{title}
Destination field: title

This set of fields and plugboard produces:
Series: The Lord of the Rings
Series index: 2
Title: The Two Towers
Output: LotR [02] The Two Towers

Last edited by Rie142; 06-24-2011 at 01:46 PM. Reason: I fixed the problem.
Rie142 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Messed up my sorting kyle22 Amazon Kindle 0 01-26-2011 11:18 PM
Help, please...I really messed things up Harborgirl Calibre 11 01-06-2011 02:56 PM
HELP, I've messed up my K3! PG4003 Amazon Kindle 9 12-16-2010 11:33 PM
PDFs messed up . . . michael180 Calibre 4 04-16-2010 12:46 PM
Why is Sorting Messed Up?? russdyer Amazon Kindle 1 04-09-2010 02:28 AM


All times are GMT -4. The time now is 04:32 AM.


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