meta

Purpose

Specifies metadata about a page in name/value pairs. For example, it can be used to specify the keywords that search engines can use to index the page.

You can use specific name attribute values to control external content caching. See Caching XDIME pages for details of the caching operation, and how you should use these settings.

The mcs:refresh name attribute value can be used to set the timing and URL values for refresh and redirect. See Timed redirect and refresh for details.

Note:

The syntax for expressing properties on the meta element differs in XDIME 2.

Contained by

Attributes

Attribute Description Type Default Options Use
content The value of the property xs:ID none    required 
expr An MCS expression xs:string none    optional 
http-equiv The name of the property specified as an HTTP header xs:ID none    optional 
lang The language of the page text xs:string none    optional 
name The name of the property xs:string none    optional 

Example

The welcome.mlyt layout can be found in the MCS/repository/xml-repository directory.

<?xml version="1.0" encoding="UTF-8"?>
<canvas layoutName="/welcome.mlyt" pageTitle="meta">
  <meta http-equiv="expires" content="2005-05-22"/>
  <meta name="keywords" content="markup, mcs, multi-channel,
    mobile internet xdime, xml"/>
  <pane name="background">
    <p>Type the <kbd>mcsServerManager</kbd> command followed
      by the host, port and password values.</p>
  </pane>
</canvas>

Related topics