| 67 | | if ($inside{'li-class'} eq "low") { |
| 68 | | if ($inside{'div-id'} eq "f1") { $_[0] =~ /\w* (-?\d*)/; $results{'low-0'} = $1; } |
| 69 | | if ($inside{'div-id'} eq "f2") { $_[0] =~ /\w* (-?\d*)/; $results{'low-1'} = $1; } |
| 70 | | if ($inside{'div-id'} eq "f3") { $_[0] =~ /\w* (-?\d*)/; $results{'low-2'} = $1; } |
| 71 | | if ($inside{'div-id'} eq "f4") { $_[0] =~ /\w* (-?\d*)/; $results{'low-3'} = $1; } |
| 72 | | if ($inside{'div-id'} eq "f5") { $_[0] =~ /\w* (-?\d*)/; $results{'low-4'} = $1; } |
| 73 | | if ($inside{'div-id'} eq "f6") { $_[0] =~ /\w* (-?\d*)/; $results{'low-5'} = $1; } |
| 74 | | } |
| | 65 | if (defined($inside{'li-class'})) { |
| | 66 | if ($inside{'li-class'} eq "low") { |
| | 67 | if ($inside{'div-id'} eq "f1") { $_[0] =~ /\w* (-?\d*)/; $results{'low-0'} = $1; } |
| | 68 | if ($inside{'div-id'} eq "f2") { $_[0] =~ /\w* (-?\d*)/; $results{'low-1'} = $1; } |
| | 69 | if ($inside{'div-id'} eq "f3") { $_[0] =~ /\w* (-?\d*)/; $results{'low-2'} = $1; } |
| | 70 | if ($inside{'div-id'} eq "f4") { $_[0] =~ /\w* (-?\d*)/; $results{'low-3'} = $1; } |
| | 71 | if ($inside{'div-id'} eq "f5") { $_[0] =~ /\w* (-?\d*)/; $results{'low-4'} = $1; } |
| | 72 | if ($inside{'div-id'} eq "f6") { $_[0] =~ /\w* (-?\d*)/; $results{'low-5'} = $1; } |
| | 73 | } |
| 76 | | if ($inside{'li-class'} eq "high") { |
| 77 | | if ($inside{'div-id'} eq "f1") { $_[0] =~ /\w* (-?\d*)/; $results{'high-0'} = $1; } |
| 78 | | if ($inside{'div-id'} eq "f2") { $_[0] =~ /\w* (-?\d*)/; $results{'high-1'} = $1; } |
| 79 | | if ($inside{'div-id'} eq "f3") { $_[0] =~ /\w* (-?\d*)/; $results{'high-2'} = $1; } |
| 80 | | if ($inside{'div-id'} eq "f4") { $_[0] =~ /\w* (-?\d*)/; $results{'high-3'} = $1; } |
| 81 | | if ($inside{'div-id'} eq "f5") { $_[0] =~ /\w* (-?\d*)/; $results{'high-4'} = $1; } |
| 82 | | if ($inside{'div-id'} eq "f6") { $_[0] =~ /\w* (-?\d*)/; $results{'high-5'} = $1; } |
| | 75 | if ($inside{'li-class'} eq "high") { |
| | 76 | if ($inside{'div-id'} eq "f1") { $_[0] =~ /\w* (-?\d*)/; $results{'high-0'} = $1; } |
| | 77 | if ($inside{'div-id'} eq "f2") { $_[0] =~ /\w* (-?\d*)/; $results{'high-1'} = $1; } |
| | 78 | if ($inside{'div-id'} eq "f3") { $_[0] =~ /\w* (-?\d*)/; $results{'high-2'} = $1; } |
| | 79 | if ($inside{'div-id'} eq "f4") { $_[0] =~ /\w* (-?\d*)/; $results{'high-3'} = $1; } |
| | 80 | if ($inside{'div-id'} eq "f5") { $_[0] =~ /\w* (-?\d*)/; $results{'high-4'} = $1; } |
| | 81 | if ($inside{'div-id'} eq "f6") { $_[0] =~ /\w* (-?\d*)/; $results{'high-5'} = $1; } |
| | 82 | } |
| 149 | | $results{"weather_icon"} = $icon if ($inside{'img-class'} eq "currentimg"); |
| 150 | | $results{"icon-0"} = $icon if ($inside{'img-longdesc'} eq "#f1"); |
| 151 | | $results{"icon-1"} = $icon if ($inside{'img-longdesc'} eq "#f2"); |
| 152 | | $results{"icon-2"} = $icon if ($inside{'img-longdesc'} eq "#f3"); |
| 153 | | $results{"icon-3"} = $icon if ($inside{'img-longdesc'} eq "#f4"); |
| 154 | | $results{"icon-4"} = $icon if ($inside{'img-longdesc'} eq "#f5"); |
| 155 | | $results{"icon-5"} = $icon if ($inside{'img-longdesc'} eq "#f6"); |
| | 151 | $results{"weather_icon"} = $icon if (defined($inside{'img-class'}) && ($inside{'img-class'} eq "currentimg")); |
| | 152 | $results{"icon-0"} = $icon if (defined($inside{'img-longdesc'}) && ($inside{'img-longdesc'} eq "#f1")); |
| | 153 | $results{"icon-1"} = $icon if (defined($inside{'img-longdesc'}) && ($inside{'img-longdesc'} eq "#f2")); |
| | 154 | $results{"icon-2"} = $icon if (defined($inside{'img-longdesc'}) && ($inside{'img-longdesc'} eq "#f3")); |
| | 155 | $results{"icon-3"} = $icon if (defined($inside{'img-longdesc'}) && ($inside{'img-longdesc'} eq "#f4")); |
| | 156 | $results{"icon-4"} = $icon if (defined($inside{'img-longdesc'}) && ($inside{'img-longdesc'} eq "#f5")); |
| | 157 | $results{"icon-5"} = $icon if (defined($inside{'img-longdesc'}) && ($inside{'img-longdesc'} eq "#f6")); |