forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian M Dube <brian.d...@gmail.com>
Subject Re: META tags
Date Sun, 26 Mar 2006 23:47:26 GMT
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

Mime
View raw message