Re: Meta Description

Thorsten Scherler <[email protected]>
Newsgroups gmane.comp.cms.lenya.user
Message-ID <1252568019.4130.77.camel@asf>
On Wed, 2009-09-09 at 12:59 +0530, Gaurav Kalia wrote:
> 
> > You are talking about your custom module that we do not know so it is
> > hard for us to comment. 
> I am using defaultfiredocs publication for my website, so the 
> defaultstyle module is not my custom module. :-)

ok, see this information we need from the start so we can advice
better. 

Does the firedocs pub have 

<map:match pattern="*/**.html.meta">
<map:generate type="lenyaMetaData"
src="lenya-document:{page-envelope:document-uuid},area={1}"/>
<map:serialize type="xml"/>
</map:match>

If not add it first there and try to request the pattern. That should
return you a xml doc with all known properties.

salu2


> 
> 
> Thanks
> Gaurav
> 
> 
> 
> Thorsten Scherler wrote:
> > On Tue, 2009-09-08 at 18:25 +0530, Gaurav Kalia wrote:
> >   
> >> Hi Thorsten
> >>     
> >>> Not sure what you are trying to do, but have you looked at 
> >>> apache-lenya-2.0/src/pubs/default/sitemap.xmap
> >>>       
> >> I have seen this on the lenya website and tried it but it didn't worked. 
> >>     
> >
> > jeje, (hehe in spanish ;)) does not work can be anything. From user
> > error to big bug. We need to know what you did and what the error had
> > been.
> >
> >   
> >> I have pasted it in the sitemap of the defaultstyle module.
> >>     
> >
> > You are talking about your custom module that we do not know so it is
> > hard for us to comment. 
> >
> >   
> >> Please let me know if I am Doing it in a wrong way.
> >>     
> >
> > I have not seen your code so I cannot comment on whether it is right or
> > wrong.
> >
> > salu2
> >
> >   
> >> Regards
> >> Gaurav
> >>
> >> Thorsten Scherler wrote:
> >>     
> >>> 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]
> >>>>
> >>>>     
> >>>>         
> >> ---------------------------------------------------------------------
> >> 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.