The tags <b:message> used for getting explicit message data which value stored at the server side of Blogger, while <b:param/> is additional parameter belong to <b:message>. Rendered message in HTML is vary based on Blog Language Settings.

The Syntax And Attribute

Blogger XML Language
<b:message name='data:alias'>
    <b:param expr:value='data:[STRING]'/>
    <b:param value='STRING'/>
  • Tags <b:message> name value is an alias of data:.
  • Tags <b:message> Only accept data:messages type.
  • Tags <b:param/> is singleton.
  • Tags <b:param/> can be working only if tag <b:message> have parameter.
  • Tags <b:param/> value can be data:[STRING] or String.

Examples and Implementation

Data Messages that has no parameters.
<b:message name=''/> origin is <>, This type of message has no parameter, so we can't give any <b:param/>.
A message with a parameter
<b:message name='messages.byAuthor'>
    <b:param expr:value=''/>
<b:param/> take data string <> which is who posted the post. For who set Blog language to English, the result will be By AuthorName.
Customize message that has parameter
<b:message name='messages.byAuthorLink'>
    <b:param value='foo'/>
    <b:param value=''/>
This type of message has two parameters, we can customize it like above. The first <b:param/> is the name and the second one is the link of the author. The result will be 'By Foo' with given link.

Other Tag

Share This

Creative Commons License
Blogger Book is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.