forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scher...@wyona.com>
Subject Re: META tags
Date Mon, 27 Mar 2006 08:43:10 GMT
El dom, 26-03-2006 a las 21:30 -0500, Tim Williams escribió:
> On 3/26/06, Brian M Dube <brian.dube@gmail.com> wrote:
> > 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">
> >
> > > 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
> >
> > The output you supplied says pelt, and you didn't mention tigris.
> >
> > Glancing at the stylesheets for tigris, at appears the skin does not
> > support meta tags in xdocs. You could modify
> > FORREST_HOME/main/webapp/skins/tigris/xslt/html/document2html.xsl and
> > FORREST_HOME/main/webapp/skins/tigris/xslt/html/site2xhtml.xsl in place,
> > but it's less of a maintenance issue to do this at the project level.
> > For that, copy FORREST_HOME/main/webapp/skins/common and
> > FORREST_HOME/main/webapp/skins/tigris to
> > PROJECT_HOME/src/documentation/skins (if you haven't changed
> > project.skins-dir).
> >
> > Have a look at pelt's version of the two stylesheets above. You should
> > be able to copy the relevant lines from pelt to get the same
> > functionality in tigris. I'll try this now.
> >
> > Brian
> 
> At this point, it's a worthwhile reminder that patches are welcome:) 
> I've not looked into this, but have been following your discussion -
> if the meta tags aren't coming across, then why not patch the actual
> skin?  It would surely relieve the maintanance issue.
> 

For the sake of completeness:
http://svn.apache.org/viewcvs?rev=383305&view=rev

With the dispatcher you can pass any meta data to the output without
changing any core transformations.

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


Mime
View raw message