[dev] Broken Image Links in Weather.Com Portal Block

Chuck Hagenbuch chuck at horde.org
Fri Nov 12 20:41:53 PST 2004


Quoting "Brandon W. Uhlman" <brandon.uhlman at ssrlibrary.ca>:

> For locations with "not available" forecasts, the Weather.com portal 
> block tries to load one of
>
> .../horde/themes/horde/graphics/block/weatherdotcom/32x32/-.png
> .../horde/themes/horde/graphics/block/weatherdotcom/23x23/-.png
>
> depending on which size it wants (32x32 for current conditions, 23x23 for
> forecasts)
>
> The appropriate file, though, is actually called na.png in each of these
> directories. Based on a peek through CVS, it appears these file names haven't
> changed since forever, which probably means it's a change either with
> Weather.com's XML feed or Services_Weather; I'm not sure which.
>
> Seems like the easiest fix is just to rename these two files to "-.png"; I'd
> submit a patch, except they haven't invented patches that powerful yet. Also,
> wasn't quite sure whether to send this to dev or horde. Hopefully, I guessed
> right.

This list is just fine. As for the solution, I had all kinds of trouble just
trying to *add* a file named -.png (those beginning - characters make 
CLI tools
very unhappy), so I committed a change to weatherdotcom.php to use na.png
instead of -.png. How's that?

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list