The General Tab

You can use the fields on this tab to specify general information about the widget.

The General tab contains the following fields:

Title (plain text)

The title of the widget

Meta key attribute (pick value from list, default=name)

Specifies what kind of which meta tag is to be generated: that is, whether it will have a name, property or itemprop attribute.

You can select one of the following values:

name, property, itemprop

Meta information (complex)

Use these fields to specify the content of the generated meta tag.

Key (plain text)

Specify the value to be written to the meta tag's name, property or itemprop attribute.

Content (plain text)

Specifies the content to be written to the meta tag's content attribute. This content can be a mixture of literal text and JSTL expressions. The JSTL expressions have access to all the usual context objects set by the Content Engine and the Widget Framework such as ${article} and ${section}. The following, for example, are all valid content:

  • ${article.title} in ${section.name}

  • ${article.fields.leadtext}

  • ${article.author.name}

  • ${section.url}

  • ${publication.name}

You can also use a number of additional expressions in order to access information that is not easily available from the standard context objects. For example:

  • Section parameter: ${sectionParams. parameter-name } (for example, ${sectionParams.section.description} )

  • Article tags: ${meta.articleTags}

  • Display image: ${meta.image. representation-name } (for example ${meta.image.landscape_80} )

  • Gallery images: ${meta.images[n]. representation-name } (for example ${meta.image[0].landscape_80} )

  • Robots meta: ${meta.searchbot.index} ${meta.searchbot.follow}

  • Keywords: ${meta.articleKeywords}

Fallback content (plain text)

Specifies fallback content for the meta tag's content attribute. If whatever you have specified in the Content field produces an empty string, then this field is used to generate content instead. You can use all the same expressions in this field as in the Content field.

To remove a value, click on it's x button. To add more values, click on + Add.