You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Gaurav Kalia <ga...@techblue.co.uk> on 2009/09/08 10:04:07 UTC
Meta Description
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: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
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: user-unsubscribe@lenya.apache.org
> >>>>>>> For additional commands, e-mail: user-help@lenya.apache.org
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>> ---------------------------------------------------------------------
> >>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >>>>>> For additional commands, e-mail: user-help@lenya.apache.org
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >>>>> For additional commands, e-mail: user-help@lenya.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >>>> For additional commands, e-mail: user-help@lenya.apache.org
> >>>>
> >>>>
> >>>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >> For additional commands, e-mail: user-help@lenya.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
--
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Gaurav Kalia <ga...@techblue.co.uk>.
> 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. :-)
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: user-unsubscribe@lenya.apache.org
>>>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Thorsten Scherler <th...@apache.org>.
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: user-unsubscribe@lenya.apache.org
> >>>>> For additional commands, e-mail: user-help@lenya.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >>>> For additional commands, e-mail: user-help@lenya.apache.org
> >>>>
> >>>>
> >>>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >>> For additional commands, e-mail: user-help@lenya.apache.org
> >>>
> >>>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >> For additional commands, e-mail: user-help@lenya.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
--
Thorsten Scherler <thorsten.at.apache.org>
Open Source <consulting, training and solutions>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Gaurav Kalia <ga...@techblue.co.uk>.
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.
I have pasted it in the sitemap of the defaultstyle module.
Please let me know if I am Doing it in a wrong way.
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: user-unsubscribe@lenya.apache.org
>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
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: user-unsubscribe@lenya.apache.org
> >>> For additional commands, e-mail: user-help@lenya.apache.org
> >>>
> >>>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >> For additional commands, e-mail: user-help@lenya.apache.org
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > For additional commands, e-mail: user-help@lenya.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
--
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Gaurav Kalia <ga...@techblue.co.uk>.
> Did you see my reply? It describes how to handle attributes.
Somehow i missed your reply :-)
Thanks for the suggestion and i will surely look into the idea you have
given.
Thanks
Gaurav
Andreas Hartmann wrote:
> Gaurav Kalia schrieb:
>>>
>>> Shouldn't you just place the <meta:value..... line inside a meta
>>> description tag in your xsl?
>>>
>>> That's how it's done in the <title> example you have given.
>> Title tag work simply like <title>PAGE TITLE</title>
>>
>> But in case of meta description it, the description we have entered
>> in the CMS should go into the Content attribute of the meta tag and
>> in the content tag we cannot place the meta value directly .
>
> Did you see my reply? It describes how to handle attributes.
>
> -- Andreas
>
>
>>
>> Regards
>> Gaurav
>>
>>
>> Vik Tara wrote:
>>> Gaurav Kalia wrote:
>>>
>>>> Hi
>>>>
>>>>> Do you also see this?
>>>>>
>>>> Actually i was facing this problem so I asked Sachin about the issue.
>>>>
>>>> Now if you see in the page.xsl file of the publication, it contains a
>>>> tag for title: -
>>>>
>>>> <title><meta:value element="title"
>>>> ns="http://purl.org/dc/elements/1.1/"
>>>> default="default"
>>>> i18n:attr="default" uuid="{$uuid}"
>>>> lang="{$language}"/></title>
>>>>
>>>> Which fetches the title entered from the CMS. I have used the same and
>>>> changed the value to description like this: -
>>>>
>>>> <meta:value element="description"
>>>> ns="http://purl.org/dc/elements/1.1/"
>>>> default="default"
>>>> i18n:attr="default" uuid="{$uuid}" lang="{$language}"/>
>>>>
>>>> And description starts coming as a text on the webpage but meta
>>>> description tag should be like of this
>>>>
>>>> <meta name="description" content="{should come from CMS}">
>>>>
>>>
>>> Shouldn't you just place the <meta:value..... line inside a meta
>>> description tag in your xsl?
>>>
>>> That's how it's done in the <title> example you have given.
>>>
>>>
>>>
>>>
>>>> Please let me know if i am not clear.
>>>>
>>>> Regards
>>>> Gaurav
>>>>
>>>>
>>>>
>>>> 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.
>>>>>
>>>>> 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: user-unsubscribe@lenya.apache.org
>>>>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>>>>
>>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>>>
>>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Andreas Hartmann <an...@apache.org>.
Gaurav Kalia schrieb:
>>
>> Shouldn't you just place the <meta:value..... line inside a meta
>> description tag in your xsl?
>>
>> That's how it's done in the <title> example you have given.
> Title tag work simply like <title>PAGE TITLE</title>
>
> But in case of meta description it, the description we have entered in
> the CMS should go into the Content attribute of the meta tag and in the
> content tag we cannot place the meta value directly .
Did you see my reply? It describes how to handle attributes.
-- Andreas
>
> Regards
> Gaurav
>
>
> Vik Tara wrote:
>> Gaurav Kalia wrote:
>>
>>> Hi
>>>
>>>> Do you also see this?
>>>>
>>> Actually i was facing this problem so I asked Sachin about the issue.
>>>
>>> Now if you see in the page.xsl file of the publication, it contains a
>>> tag for title: -
>>>
>>> <title><meta:value element="title" ns="http://purl.org/dc/elements/1.1/"
>>> default="default"
>>> i18n:attr="default" uuid="{$uuid}" lang="{$language}"/></title>
>>>
>>> Which fetches the title entered from the CMS. I have used the same and
>>> changed the value to description like this: -
>>>
>>> <meta:value element="description" ns="http://purl.org/dc/elements/1.1/"
>>> default="default"
>>> i18n:attr="default" uuid="{$uuid}" lang="{$language}"/>
>>>
>>> And description starts coming as a text on the webpage but meta
>>> description tag should be like of this
>>>
>>> <meta name="description" content="{should come from CMS}">
>>>
>>
>> Shouldn't you just place the <meta:value..... line inside a meta
>> description tag in your xsl?
>>
>> That's how it's done in the <title> example you have given.
>>
>>
>>
>>
>>> Please let me know if i am not clear.
>>>
>>> Regards
>>> Gaurav
>>>
>>>
>>>
>>> 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.
>>>>
>>>> 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: user-unsubscribe@lenya.apache.org
>>>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>>>
>>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Gaurav Kalia <ga...@techblue.co.uk>.
>
> Shouldn't you just place the <meta:value..... line inside a meta
> description tag in your xsl?
>
> That's how it's done in the <title> example you have given.
Title tag work simply like <title>PAGE TITLE</title>
But in case of meta description it, the description we have entered in
the CMS should go into the Content attribute of the meta tag and in the
content tag we cannot place the meta value directly .
Regards
Gaurav
Vik Tara wrote:
> Gaurav Kalia wrote:
>
>> Hi
>>
>>> Do you also see this?
>>>
>>>
>> Actually i was facing this problem so I asked Sachin about the issue.
>>
>> Now if you see in the page.xsl file of the publication, it contains a
>> tag for title: -
>>
>> <title><meta:value element="title" ns="http://purl.org/dc/elements/1.1/"
>> default="default"
>> i18n:attr="default" uuid="{$uuid}" lang="{$language}"/></title>
>>
>> Which fetches the title entered from the CMS. I have used the same and
>> changed the value to description like this: -
>>
>> <meta:value element="description" ns="http://purl.org/dc/elements/1.1/"
>> default="default"
>> i18n:attr="default" uuid="{$uuid}" lang="{$language}"/>
>>
>> And description starts coming as a text on the webpage but meta
>> description tag should be like of this
>>
>> <meta name="description" content="{should come from CMS}">
>>
>
> Shouldn't you just place the <meta:value..... line inside a meta
> description tag in your xsl?
>
> That's how it's done in the <title> example you have given.
>
>
>
>
>> Please let me know if i am not clear.
>>
>> Regards
>> Gaurav
>>
>>
>>
>> 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.
>>>
>>> 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: user-unsubscribe@lenya.apache.org
>>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Vik Tara <vi...@propco.co.uk>.
Gaurav Kalia wrote:
> Hi
>> Do you also see this?
>>
> Actually i was facing this problem so I asked Sachin about the issue.
>
> Now if you see in the page.xsl file of the publication, it contains a
> tag for title: -
>
> <title><meta:value element="title" ns="http://purl.org/dc/elements/1.1/"
> default="default"
> i18n:attr="default" uuid="{$uuid}" lang="{$language}"/></title>
>
> Which fetches the title entered from the CMS. I have used the same and
> changed the value to description like this: -
>
> <meta:value element="description" ns="http://purl.org/dc/elements/1.1/"
> default="default"
> i18n:attr="default" uuid="{$uuid}" lang="{$language}"/>
>
> And description starts coming as a text on the webpage but meta
> description tag should be like of this
>
> <meta name="description" content="{should come from CMS}">
Shouldn't you just place the <meta:value..... line inside a meta
description tag in your xsl?
That's how it's done in the <title> example you have given.
>
> Please let me know if i am not clear.
>
> Regards
> Gaurav
>
>
>
> 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.
>>
>> 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: user-unsubscribe@lenya.apache.org
>>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Andreas Hartmann <an...@apache.org>.
Gaurav Kalia schrieb:
> Hi
>> Do you also see this?
>>
> Actually i was facing this problem so I asked Sachin about the issue.
>
> Now if you see in the page.xsl file of the publication, it contains a
> tag for title: -
>
> <title><meta:value element="title" ns="http://purl.org/dc/elements/1.1/"
> default="default"
> i18n:attr="default" uuid="{$uuid}" lang="{$language}"/></title>
>
> Which fetches the title entered from the CMS. I have used the same and
> changed the value to description like this: -
>
> <meta:value element="description" ns="http://purl.org/dc/elements/1.1/"
> default="default"
> i18n:attr="default" uuid="{$uuid}" lang="{$language}"/>
>
> And description starts coming as a text on the webpage but meta
> description tag should be like of this
>
> <meta name="description" content="{should come from CMS}">
The MetaDataTransformer doesn't support attribute values yet. You need a
subsequent transformation to create the meta element.
1. XSLT transformation
<meta name="description"><meta:value element="description" …/></meta>
2. meta-data transformation
3. XSLT transformation
<xsl:template match="xhtml:meta[not(@content)]">
<meta content="{.}">
<xsl:copy-of select="@*"/>
</meta>
</xsl:template>
HTH,
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Gaurav Kalia <ga...@techblue.co.uk>.
Hi
> Do you also see this?
>
Actually i was facing this problem so I asked Sachin about the issue.
Now if you see in the page.xsl file of the publication, it contains a
tag for title: -
<title><meta:value element="title" ns="http://purl.org/dc/elements/1.1/"
default="default"
i18n:attr="default" uuid="{$uuid}" lang="{$language}"/></title>
Which fetches the title entered from the CMS. I have used the same and
changed the value to description like this: -
<meta:value element="description" ns="http://purl.org/dc/elements/1.1/"
default="default"
i18n:attr="default" uuid="{$uuid}" lang="{$language}"/>
And description starts coming as a text on the webpage but meta
description tag should be like of this
<meta name="description" content="{should come from CMS}">
Please let me know if i am not clear.
Regards
Gaurav
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.
>
> 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: user-unsubscribe@lenya.apache.org
>>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Vik Tara <vi...@propco.co.uk>.
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.
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: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Gaurav Kalia <ga...@techblue.co.uk>.
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.
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: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Meta Description
Posted by Vik Tara <vi...@propco.co.uk>.
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: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org