On Tue Nov 18 12:33:12 2008, SAAIB wrote:
Show quoted text> Thomas,
>
> Making the following change doesn't work for me:
>
> $self->{LINKS} = 1;
>
> I'm using 0.5.3.
>
> After looking at the forms and queries accepted by the weather.com
> website I commented the line 260 and this works for me:
>
> #$searchlocation .= '&prod=xoap';
>
> Regards,
>
> -Urivan Flores
I can confirm this bug still exists. It was quite frustrating trying to
figure out the issue between my Debian box and my FreeBSD box however
after inspecting the Debian package I found it did the following which
makes it function properly:
(7:59pm) [seitz@renoir] [~/tmp/libweather-com-perl-0.5.3/debian/patches]
Show quoted text> cat 10_links.dpatch
#! /bin/sh /usr/share/dpatch/dpatch-run
## 10_links.dpatch by Christoph Haas <haas@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad libweather-com-perl-0.5.3~/lib/Weather/Com/Base.pm
libweather-com-perl-0.5.3/lib/Weather/Com/Base.pm
--- libweather-com-perl-0.5.3~/lib/Weather/Com/Base.pm 2007-07-09
21:57:24.000000000 +0200
+++ libweather-com-perl-0.5.3/lib/Weather/Com/Base.pm 2008-05-29
20:44:06.000000000 +0200
@@ -97,7 +97,7 @@
$self->{UNITS} = 'm'; # could be 'm' for metric or 's' for
us standard
$self->{CC} = 0; # show current conditions true/false
$self->{FORECAST} = 0; # multi day forecast 0 = no, 1..10 days
- $self->{LINKS} = 0;
+ $self->{LINKS} = 1;
# save params for further use
$self->{ARGS} = \%parameters;
Please advise!