Re: [PHP-EVANGELISM] Yahoo! expands its usage of PHP - one of our best wins yet?
[email protected] (Terence Kearns) Wed, 06 Nov 2002 17:31:33 +1100
| Newsgroups | php.evangelism |
|---|---|
| Message-ID | <[email protected]> |
Leonid S. Knyshov wrote: >Hi everyone, > >This should probably be a headline news on www.usephp.net. >http://news.com.com/2100-1023-963937.html?tag=lh > > cool >It would also make sense to link www.usephp.net to the PHP sites. > > first time I've heard of this site >Also, I have nothing against foreign languages (I speak 4 myself), but >perhaps it would make sense to make French language as an option in favor of >English as default or perhaps autodetect the character set? That makes it >look less professional for a site advocating the use of a language that is >installed on millions of systems. > > A good point. A professional way to do it would be to use the <link> tag to specify the language. The "lang" attribute can be used in conjunction with rel="alternate" to specify locations (href="[some location]") where alternate interpretations can be found. The is the "standards" way to do it but weather or not this actually helps in the real world is a different issue (ie. the browser probably doesn't pop up a box saying "hey, you can also view the page in these languages"). I'm not sure how the browsers implement support for this. http://www.w3.org/TR/html4/types.html#type-links Currently the www.php.net site does not use the link tag in a language context. While on on the point, the documentation could make excellent usage of some of the other rel types listed in the above link. specifically, "next", "prev", and "top". Different types of user agenets will make usage of these for different reasons (eg, a hand-held device with dedicated next/previous buttons). Look no further than Mozilla/Netscape7 VIEW: SHOW/HIDE: SITE NAVIGATION BAR cheers.