> -----Original Message----- > From: Thorsten Scherler [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 6 November 2007 8:28 PM > To: [email protected] > 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. 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
