HTML Meta Tags Support

The infix site skin supports HTML Meta Tags. Three types of meta information is currently supported in the skin:

Author

The skin supports standard APT author information as a /html/head/meta[@name='author'] element.

Content Type Meta Information

The skin generates content type meta information as follows:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

The value of the character set (charset) is determined by the value of the outputEncoding of the Maven site plug-in.

Meta Keywords

The site skin supports generating meta keywords. Meta keywords can be inserted into a page at two levels, for the entire site and specific to a page. The skin generates meta keywords for a page by concatenating site and page level lists.

The meta keywords generated for this page is shown below, the first four are configured for the page only in the source, and the rest for the entire site.

<meta name="keywords" content="html,meta,meta keywords, meta description, 
        maven,plugin,plug-in,mindtree,maven2,maven3,mindtree ltd,maven site skin" />

Site-wide keywords

Site wide keywords are set at the site.xml configuration file using a /project/body/head/meta[@name='keywords'] element. The /project/body/head/meta/@content attribute contains the keywords for the entire site.

The keywords used for this site are shown below:

<meta name="keywords" content="maven,plugin,plug-in,mindtree,maven2,maven3,
        mindtree ltd,maven site skin"/>

Page level keywords

Doxia does not come with out of the box support for page level properties or meta information. The infix site skin uses author tag hack similar to M2 Site Tools to get page level keywords. The skin looks for meta-keywords to pick up keywords for the page.

For example, the current page declares the following keywords:

                                                                ---------
                                                  Meta Content Support
                                                                --------
 Bindul Bhowmik; meta-keywords=html,meta,meta keywords, meta description; meta-description=Infix Site Skin Meta Content Support
                                                                --------
                                                                $Date $
                                                                --------

Description

The skin supports generation of Description meta element similar to M2 Site Tools. The title declaration above generates the following meta element for description:

<meta name="description" content="Infix Site Skin Meta Content Support" />