Post Reply 
Display Format Tagging Syntax
18-05-2015, 13:52
Post: #1
Display Format Tagging Syntax
Hi

I've got very confused about the tagging syntax used for format strings. I have read and re-read both the guide and some of the posts on the forum, but it didn't really help.... Sad

In the guide it says:
tag-name.displayFormat={format-string}
where the format-string is a sequence of one or more format items, and a format item is:
$tag-list^prefix^suffix^separator
and each format item includes a tag list....

Later on as an example it gives: Title.displayFormat={$title^$date^ [^]}
This I assume is a format string with a single format item that has a tag list containing 2 tags...?

Is this the same as: Title.displayFormat={$title^^^$date^ [^]^}
Again a format string but containing two format items, each with a tag list containing only a single tag?

When a second tag is referenced is the next caret (^) found associated with the last tag? And then once three ^'s have been processed for a tag any subsequent ones are associated with the previous tag, i.e. the processing is recursive and is always trying to close off the last tag?

So in the above example is the [ a prefix for $date rather than a suffix for $title?

Hope this makes sense!!
Chris
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Display Format Tagging Syntax - pzyvbv - 18-05-2015 13:52

Forum Jump:


User(s) browsing this thread: 2 Guest(s)