Re: Meta Description

Thorsten Scherler <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <1252413734.4130.62.camel@asf>
On Tue, 2009-09-08 at 12:24 +0100, Vik Tara wrote:
> Gaurav Kalia wrote:
> > Hi Vik
> > 
> > I have tried this in both the publications (default and defaultfiredocs)
> > and i couldn't find the description tag in the source code of the Page.
> 
> I spoke to Sachin regarding this earlier - he told me that the source
> does contain the text, but not as a meta description tag.
> 

Not sure what you are trying to do, but have you looked at 
apache-lenya-2.0/src/pubs/default/sitemap.xmap

You can get all meta-data from a lenya doc via a generator: 
<map:generate type="lenyaMetaData"
src="lenya-document:{page-envelope:document-uuid},area={1}"/>

or you can use the transformer:
<map:transform type="metaData">
<map:parameter name="pubid" value="{page-envelope:publication-id}"/>
<map:parameter name="area" value="{page-envelope:area}"/>
</map:transform>

HTH

salu2

> Do you also see this?
> 
> > 
> > Regards
> > Gaurav
> > 
> > 
> > Vik Tara wrote:
> >> Have you tried this with 2.0.3 using the default publication?
> >>
> >> Would be useful to know if this problem relates to the firedocs
> >> publication or not.
> >>
> >>
> >> Vik
> >>
> >> Gaurav Kalia wrote:
> >>  
> >>> Hi All
> >>>
> >>> I want to add Meta Description tag in my website. I have added the
> >>> description from the CMS successfully and published the page again but
> >>> the Meta Description tag is not coming in the source code of my website.
> >>>
> >>> I am using Lenya 2.0.3 with Firedocs.
> >>>
> >>> Please Help
> >>>
> >>>
> >>> Regards
> >>> Gaurav
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [email protected]
> >>> For additional commands, e-mail: [email protected]
> >>>
> >>>     
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [email protected]
> >> For additional commands, e-mail: [email protected]
> >>
> >>   
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la Información, S.A.U. (SADESI)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.