Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:46 am EST
Geeklog Forums
Quick and dirty Weather Block
Status: offline
scarecrow
Forum User
Junior
Registered: 10/24/07
Posts: 33
Any interest in a simple weather block similar to code posted by Trampoline in this post?
Main difference is my tweak uses a member's location data to snarf the weather info from accuweather for their location, or uses a 'system default' location for anonymous users or users that have no location info set.
Main downshot is that if a user has their location set to something that accuweather can't understand, it yields a blank weather sticker.
Acceptable location format can be:
US Zip Code (90201 12345 etc)
City, State (Chicago, Il Calgary, AB etc)
City, Country (London, UK Paris, FR Sydney, AU etc)
If anyone's interested, take a look here:
quick and dirty weather block
Main difference is my tweak uses a member's location data to snarf the weather info from accuweather for their location, or uses a 'system default' location for anonymous users or users that have no location info set.
Main downshot is that if a user has their location set to something that accuweather can't understand, it yields a blank weather sticker.
Acceptable location format can be:
US Zip Code (90201 12345 etc)
City, State (Chicago, Il Calgary, AB etc)
City, Country (London, UK Paris, FR Sydney, AU etc)
If anyone's interested, take a look here:
quick and dirty weather block
14
12
Quote
All times are EST. The time is now 11:46 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content