You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2005/02/01 13:23:01 UTC
noindex, nofollow as lenya meta tags
In order to allow better integration of other search engines I would
like to add the following meta elements
<lenya:meta>
<!--
<lenya:noindex/>
<lenya:nofollow/>
-->
which would be translated into
<meta name="robots" content="noindex,nofollow">
in the case of (X)HTML
WDYT?
Michi
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: noindex, nofollow as lenya meta tags
Posted by Michael Wechner <mi...@wyona.com>.
Gregor J. Rothfuss wrote:
> Michael Wechner wrote:
>
>> In order to allow better integration of other search engines I would
>> like to add the following meta elements
>>
>> <lenya:meta>
>> <!--
>> <lenya:noindex/>
>> <lenya:nofollow/>
>> -->
>
>
> why in comments?
it's just an example and to show people how to do it.
Normally one wants that pages are being indexed.
Michi
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: noindex, nofollow as lenya meta tags
Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Michael Wechner wrote:
> In order to allow better integration of other search engines I would
> like to add the following meta elements
>
> <lenya:meta>
> <!--
> <lenya:noindex/>
> <lenya:nofollow/>
> -->
why in comments? otherwise, +1
(make sure to change the RNG as necessary too)
--
Gregor J. Rothfuss
COO, Wyona Content Management Solutions http://wyona.com
Apache Lenya http://lenya.apache.org
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: noindex, nofollow as lenya meta tags
Posted by jplejacq <jp...@quoininc.com>.
Michael Wechner wrote:
> jplejacq wrote:
>>
>> I'm concerned that about having a bit of a mess. How about nesting
>> it in the way the dublin core is done?
>
> sure, whatever ;-)
>
> what would you suggest?
How about "rep" for Robot Exclusion Protocol.
--
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: noindex, nofollow as lenya meta tags
Posted by Michael Wechner <mi...@wyona.com>.
jplejacq wrote:
>>>
>>>
>>> IIRC there is no way to set non-DC meta yet ...
>>
>
> I'm concerned that about having a bit of a mess. How about nesting
> it in the way the dublin core is done?
sure, whatever ;-)
what would you suggest?
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: noindex, nofollow as lenya meta tags
Posted by Andreas Hartmann <an...@apache.org>.
jplejacq wrote:
> Michael Wechner wrote:
>
>> Andreas Hartmann wrote:
>>
>>> Michael Wechner wrote:
>>>
>>>> In order to allow better integration of other search engines I would
>>>> like to add the following meta elements
>>>>
>>>> <lenya:meta>
>>>> <!--
>>>> <lenya:noindex/>
>>>> <lenya:nofollow/>
>>>> -->
>>>
>>>
>>> How would that be exposed in the API?
>>>
>>> IIRC there is no way to set non-DC meta yet ...
>
>
> I'm concerned that about having a bit of a mess. How about nesting
> it in the way the dublin core is done?
Maybe we could introduce a generic MetaData interface?
The meta data objects could be obtained based on the namespace URI:
MetaData dublinCore = document.getMetaData(DublinCore.NAMESPACE);
dublinCore.setValue(DublinCore.ELEMENT_TITLE, "Hello World");
MetaData searchMeta = document.getMetaData(SearchMetaData.NAMESPACE);
searchMeta.setValue(SearchMetaData.INDEX, "false");
How do other projects handle this?
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: noindex, nofollow as lenya meta tags
Posted by jplejacq <jp...@quoininc.com>.
Michael Wechner wrote:
> Andreas Hartmann wrote:
>
>> Michael Wechner wrote:
>>
>>> In order to allow better integration of other search engines I would
>>> like to add the following meta elements
>>>
>>> <lenya:meta>
>>> <!--
>>> <lenya:noindex/>
>>> <lenya:nofollow/>
>>> -->
>>
>> How would that be exposed in the API?
>>
>> IIRC there is no way to set non-DC meta yet ...
I'm concerned that about having a bit of a mess. How about nesting
it in the way the dublin core is done?
--
JP
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: noindex, nofollow as lenya meta tags
Posted by Michael Wechner <mi...@wyona.com>.
Andreas Hartmann wrote:
> Michael Wechner wrote:
>
>> In order to allow better integration of other search engines I would
>> like to add the following meta elements
>>
>> <lenya:meta>
>> <!--
>> <lenya:noindex/>
>> <lenya:nofollow/>
>> -->
>
>
> How would that be exposed in the API?
>
> IIRC there is no way to set non-DC meta yet ...
I would suggest to file the API changes as an enhancement.
For the moment an administrator could add them by hand and the XSLT
would put them into the HTML head
Michi
>
>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
>
>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org
Re: noindex, nofollow as lenya meta tags
Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:
> In order to allow better integration of other search engines I would
> like to add the following meta elements
>
> <lenya:meta>
> <!--
> <lenya:noindex/>
> <lenya:nofollow/>
> -->
How would that be exposed in the API?
IIRC there is no way to set non-DC meta yet ...
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org