MinimServer Forum
Prefix on tags - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: MinimServer 2 (/forumdisplay.php?fid=12)
+--- Thread: Prefix on tags (/showthread.php?tid=6092)



Prefix on tags - stefano_mbp - 03-03-2021 09:06

Is it possible to add a fixed prefix to a tag?
the idea is to add a something to identify the role
For example:
the Conductor is Herbert con Karajan, I should like to read it as
© Herbert con Karajan
Thank you


RE: Prefix on tags - simbun - 03-03-2021 10:37

The only way I know how to achieve something like this would be to use displayFormat.

As an example:
tagFormat: Title.displayFormat={$title^@$subtitle^ (^)}


RE: Prefix on tags - stefano_mbp - 03-03-2021 11:30

I tried but I cannot add a "fixed" prefix to a single tag
If I understand in example I obtain a string like this "Title (@ Subtitle)"
but what I should want is "(@) Title"


RE: Prefix on tags - simbun - 03-03-2021 11:37

The example I gave is displayed as "@Title (Subtitle)"
For a single tag it would be: Title.displayFormat={$title^(@) }

The ^^^ are applied to the tag preceeding their usage, and delimited by the next tag.

$tag-list^prefix^suffix^separator


RE: Prefix on tags - simoncn - 03-03-2021 11:44

For (@) Title, use:

Title.displayFormat={$title^(@) }


RE: Prefix on tags - stefano_mbp - 04-03-2021 09:18

It works, thank you