Re: i18n-distinction for Search-Robots?

"Dr. Frank Hoffmann" <[email protected]>
Newsgroups gmane.comp.cms.zms.devel
Message-ID <[email protected]>
Hello,
Setting lang-Attribute in HTML as described here
http://www.w3.org/International/articles/language-tags/
is done per ZMS default via 

\Products\zms\dtml\ZMS\f_headdoctype.dtml
%<------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html <dtml-var "getConfProperty('ZMS.html_attrs','')"> lang="en">
%<------

You can write you own instance specific method "headDoctype" changing the html-lang attribute according to the document languange (REQUEST.lang) by modifying the code.

Best regards
fh, moderator
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.