numberOfComments

"[Number] comments", where number is a parameter passed in, translated into the language used by the blog.





Example usage:

<b:message name='messages.numberOfComments'>
  <b:param name='numComments' expr:value='data:post.numberOfComments' />
</b:message>


numberOfComments is a member of the messages dictionary.



numberOfComments has data type message

Messages are strings that are translated to the blog's locale.
Some messages have parameters, such as a the author name, that need to be passed in using the tag.
Example message with parameters:
<b:message name='messages.byAuthor'>
<b:param name='authorName' expr:value='data:post.author.name' />
</b:message>

Metadata

Metadata are implicit properties belonging to a data type. If your data has the name 'foo', you reference it with 'data:foo'. If the metadata is 'bar', you can reference the value of foo's metadata bar with 'data:foo.bar'.

reader: Translates the message into the readers locale instead of the blog's locale.



View all "messages fields