

KDE 3.x Splash Screens

Karamba Weather.COM
Karamba & Superkaramba by iZelpII 55 comments
When i start the weather theme with Karamba, i see the baground, but i dont see any Information!
my script:
#!/usr/bin/perl
#usage: perl /usr/share/karamba-0.17/themes/karamba_weather/script/clima.pl www.weather.com/weather/local/BLXX0006
use LWP::UserAgent;
use HTML::TokeParser;
#City code according to http://www.weather.com, please check the small README
$cityCode = "GMXX0131";
$url = "www.weather.com/outlook/travel/local/" . $cityCode ."?&setcookie=1";
#my $url = @ARGV[0];
my $ua = new LWP::UserAgent;
$url = "http://$url" unless($url =~ /^http:\/\//);
if($ENV{'http_proxy'}){
$ua->env_proxy;
$ua->proxy(http => $ENV{'http_proxy'});
}
my $req = new HTTP::Request 'GET',"$url";
# uncomment if you need it
# $req->quthorization_basic("user","pass");
my $res = $ua->request($req);
$res->is_success or die("didn't work $!");
my $page = $res->as_string;
$page =~ s/\°\;/ - Jun 18 2003
my script:
#!/usr/bin/perl
#usage: perl /usr/share/karamba-0.17/themes/karamba_weather/script/clima.pl www.weather.com/weather/local/BLXX0006
use LWP::UserAgent;
use HTML::TokeParser;
#City code according to http://www.weather.com, please check the small README
$cityCode = "GMXX0131";
$url = "www.weather.com/outlook/travel/local/" . $cityCode ."?&setcookie=1";
#my $url = @ARGV[0];
my $ua = new LWP::UserAgent;
$url = "http://$url" unless($url =~ /^http:\/\//);
if($ENV{'http_proxy'}){
$ua->env_proxy;
$ua->proxy(http => $ENV{'http_proxy'});
}
my $req = new HTTP::Request 'GET',"$url";
# uncomment if you need it
# $req->quthorization_basic("user","pass");
my $res = $ua->request($req);
$res->is_success or die("didn't work $!");
my $page = $res->as_string;
$page =~ s/\°\;/ - Jun 18 2003