Weather Display

187 views
Skip to first unread message

Mike Ramia

unread,
Jul 21, 2011, 12:55:49 AM7/21/11
to Minimalist Google Calendar
I had the weather setting disabled and enabling it now I find, much to
my chagrin, that the icons are quite small and (even worse) quite
detailed.
Simplified or bi-tonal icons would be far more user friendly, however,
the icons are stored in separate files rather than a sprite which
makes finding which gifs exist and managing replacements difficult.

Example of the gifs:
http://www.google.com/calendar/images/weather/chance_of_storm.gif

I'm thinking the solution might be to create a sprite of my own and
then style each img to hide the original image and have unique
background positions. ex.

img[src="//www.google.com/calendar/images/weather/
chance_of_storm.gif"] {}

There are a few problems I have with this though.
[1] Hiding the original image still doesn't prevent the original http
calls (minor, I know, but still)
[2] I don't know all of the gifs exist at google.com/calendar/images/
weather/
[3] Styling the img based on the src attribute might be messy in
different langs/locales (haven't verified that though)

So, is the solution proposed the best course of action or is there a
better way?

Ansel Santosa

unread,
Jul 21, 2011, 9:46:56 AM7/21/11
to minimalist-go...@googlegroups.com
  1. Not sure how one might even go about blocking the extra requests. If it was possible it would definitely require JavaScript (You'll have to wait for Minimalist for Everything for this one)
  2. This may have to be a patch-as-you-go solution. Implement the replacement icons as you see them come up in the calendar. Don't think you'll be able to find out what all the icons are without doing a dictionary-based brute-force attack on that path.
  3. Don't think you have to worry too much about this. In my experience the names rarely change between locales but it does happen occasionally. Don't know how you would verify this personally though. 
Yes I think this is the most reasonable way to proceed. I'd personally love to use this feature, I disabled the weather calendar a while ago because it was too ugly
Reply all
Reply to author
Forward
0 new messages