Mobileread
Help with editing plugboard
#1  Skydog 05-27-2020, 02:14 PM
With no programming experience I am attempting to edit the exiting AZW3 metadata plugboard by referencing the tutorial. Several attempts have failed and do not know enough about characters or if I need a prefex, suffix string, etc. I'm simply trying to insert a hyphen but it's all Greek to me.

The current Kindle AZW3 plugboard is as follows:

Series [Series #] - Title

Code
{series:|| }{series_index:>2s|[|] - }{title}
I would like to change it to:

Title - Series [Series #]

How do I insert the hyphen in the template below so that books with no series will still display properly as Title only?

Code
{title}{series:|| }{series_index:>2s|[|]}
Any assistance most appreciated.
Reply 

#2  georgemk 05-27-2020, 03:07 PM
Looking at the discussions in the topic https://www.mobileread.com/forums/sh...d.php?t=100949 about plugboards, after reading the 3rd comment in that thread I would suggest trying

Code
{title}{series:| - | }{series_index:>2s|[|]}
Reply 

#3  Skydog 05-27-2020, 03:36 PM
Quote georgemk
Looking at the discussions in the topic https://www.mobileread.com/forums/sh...d.php?t=100949 about plugboards, after reading the 3rd comment in that thread I would suggest trying

Code
{title}{series:| - | }{series_index:>2s|[|]}
Brilliant! That did the trick. I have bookmarked the thread to add to the tutorial.

My sincerest thanks for your help!
Reply 

#4  georgemk 05-27-2020, 04:07 PM
Glad to help.
Reply 

Today's Posts | Search this Thread | Login | Register