From: Brian M Dube <[EMAIL PROTECTED]>
Reply-To: user@forrest.apache.org
To: user@forrest.apache.org
Subject: Re: META tags
Date: Sun, 26 Mar 2006 17:47:26 -0600
Jim Douglas wrote:
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="Apache Forrest" name="Generator">
<meta name="Forrest-version" content="0.7">
<meta name="Forrest-skin-name" content="pelt">
Jim
To add a meta tag to that output, include it in the relevant document:
<document>
<header>
<meta name="description">A Forrest site</meta>
<meta name="keywords">apache, forrest</meta>
<title>Document Title</title>
And the skin will take care of the rest. If you need to 1) change or
remove the default tags, or 2) add tags to all documents, then you may
need to customize the skin. If you need assistance with (1) or (2), I'd
be happy to help.
Brian
This is what I have in index.xml, it's not working.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
"http://forrest.apache.org/dtd/document-v20.dtd">
<document>
<header>
<meta name="description">My website</meta>
<meta name="keywords">apache, forrest</meta>
<title>Instutions</title>
</header>
<body>
I have tried the meta tags before and after the title.
Jim
It works for me with 0.7 using pelt. What is the output when you add these
tags? Is there an error?
The pelt skin wraps these meta tags in a meta-data tag, which it later
passes off to the common skin by not providing its own template. Have you
modified either of these skins?
Brian
My site uses tigris and I had made a lot of change so I thought the reason
it was not working was because it was somethig I had done. So I just
rebuilt a webapp, it works for pelt, not for tigris on the new one.
It might be a bug?
Jim