Skip Menu |

This queue is for tickets about the Weather-Google CPAN distribution.

Report information
The Basics
Id: 61090
Status: rejected
Priority: 0/
Queue: Weather-Google

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.05
Fixed in: (no value)



Subject: Croatian (language=hr) not supported
... but the Google API supports it, try lwp-request -m GET 'http://www.google.com/ig/api?weather=zagreb&hl=hr' Maybe it's best to get rid of the language -> encoding hash in the module completely. The encoding is already given in the HTTP response --- better to get it from there: $ lwp-request -m HEAD 'http://www.google.com/ig/api?weather=zagreb&hl=ja' | grep Content-Type: Content-Type: text/xml; charset=Shift_JIS $ lwp-request -m HEAD 'http://www.google.com/ig/api?weather=zagreb&hl=de' | grep Content-Type: Content-Type: text/xml; charset=ISO-8859-1 $ lwp-request -m HEAD 'http://www.google.com/ig/api?weather=zagreb&hl=hr' | grep Content-Type: Content-Type: text/xml; charset=ISO-8859-2 Regards, Slaven
Module (and API) Deprecated.