forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject RE: rel not in DTD
Date Tue, 06 Nov 2007 12:41:28 GMT
On Tue, 2007-11-06 at 21:44 +0900, Gav.... wrote:
> 
> > -----Original Message-----
> > From: Thorsten Scherler [mailto:thorsten.scherler.ext@juntadeandalucia.es]
> > Sent: Tuesday, 6 November 2007 8:28 PM
> > To: dev@forrest.apache.org
> > Subject: Re: rel not in DTD
> > 
> > On Tue, 2007-11-06 at 19:54 +0900, Gav.... wrote:
> > > Apologies if I'm missing something obvious here, but the attribute 'rel'
> > > that belongs to element 'a' is not in our v1.3 or 2.0 DTDs.
> > 
> > http://forrest.apache.org/dtdx/document-v13.html
> > http://forrest.apache.org/dtdx/document-v20.html
> > 
> > Search for fork.
> 
> Thanks Thorsten, but I don't see how that is relevant to what I am trying to
> do.
> 
> Consider :-
> 
> <a href="http://www.example.com> Example.com </a>
> 
> In some cases to stop search engines following the link, giving it ranking
> points etc we need to be outputting instead :
> 
> <a href="http://www.example.com rel="nofollow"> Example.com </a>
> 
> W3C specify this in html 4.01 through to current proposed xhtml2
> 
> http://www.w3.org/TR/html401/struct/links.html#edef-A
> http://www.w3.org/TR/xhtml2/xhtml2-doctype.html
> 
> The value of rel="" can be many things, search engines decided that if it
> contained "nofollow" then no weightings would be applied to the link and
> it would not be spidered out from that point.
> 
> See also http://googleblog.blogspot.com/2005/01/preventing-comment-spam.html
> 
> There are also other attributes missing from our DTD, which makes me wonder
> if I missed a point somewhere, or maybe just because a documentation
> framework such as Forrest minimized and left out those that more than likely
> would not be used.

Ah, ok now I get you. 

This is in the context of the recent mail from Jim, right?

I am not sure, but I would guess that till now nobody needed this
attribute and this is why we left it out. I do not think there is any
concerns to implement it.

salu2

> 
> Gav...
> 
> > 
> > salu2
> > 
> > >
> > > Therefore Forrest and any other site can not use rel="follow" without
> > > breaking the DTD and therefore a site build.
> > >
> > > Should we add this to the DTD - this would affect 0.8 and 0.9 users
> > which
> > > I think is fine and probably necessary.
> > >
> > > Or is there another approach to this?
> > >
> > > Gav...
> > --
> > Thorsten Scherler                                 thorsten.at.apache.org
> > Open Source Java                      consulting, training and solutions
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Mime
View raw message