Hello Octavian,

Monday, September 9, 2002, 4:39:26 AM, you wrote:

OR> I am wondering how Google and Altavista search engines can find out the
OR> language used in a web page.
OR> I can see that they can find the pages written in Romanian language, for
OR> example, even though the header of the file is same as for english ones.
OR> Do they search for some words?
OR> If you think this could be the only solution, is there any Perl module
OR> thatcan do that?
They can use the 'Content-Language' in the server's reply header. I.e.
the browser says 'accept-languages: ru en' in the request, then the
server tries to find the document in russian, then in english, then in
server's default language which can be zulu. A sort of magic :)

WBW, dk [ mailto:[EMAIL PROTECTED] ]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to