WeatherCat > WeatherCat Web Templates

Ajaxeline AJAX and PHP template. Beta release available.

(1/25) > >>

tigers:
Here's an initial beta (alpha?) release. This template uses PHP, so your server must support that.

Highlights:
-Realtime data updated from WC without a page refresh
-Forecast, weather alerts, and radar via Weather Underground
-HTML5 and CSS3 valid
-"Easy-ish" theming

You can see the template in action here: http://wx.atkinsfamily.org
Download from here: http://atkinsfamily.org/weather-templates/

How to use:

1. Open config.php and edit the settings there. The API key for Weather Underground is required for all the forecast and radar info, but it is free for up to 500 requests/day. So unless you're planning on refreshing your page every 3 minutes or have a high traffic site, this should be fine.
2. Open submit_weather.php and edit the username and password to something of your liking.
2. Upload all the files exactly as-is to your webserver.
3. Put wctags.php into your WeatherCat template directory and set it to upload to your webserver root directory. Note this is the only file that weathercat needs to process.
4. Open WeatherCat preferences and set your custom cgi path and user/pass that you entered into the submit_weather.php file above. See screenshot below.

That's it for the initial setup. If you want to change around the theme, go to http://jqueryui.com/themeroller/ and set the colors, fonts, etc. to your liking then click the download button. Extract the downloaded zip and look in the css/custom-theme folder. You should see a file in there called jquery-ui-1.8.18.custom.css (or something similar) and a folder called images. Rename the .css file to style.sss and upload it to your sever into the folder "css". Also upload the images folder into the "css"
 folder on the server. Refresh your page and you should see your changes. DO NOT DELETE the ajaxeline.css file that's present in your server's "css" folder.

There's still work to be done on this, primarily international support but I wanted to get it out there and see what issues arise. I hope you enjoy the template.

elagache:
Hi Todd (aka Tigers!)

I'm mired in my own bugs so I'm not ready to play with this yet.

However, I certainly do appreciate your efforts!!  [bounce]

Thanks for putting this together!!

Hopefully, I'll get a chance to play with it reasonably soon!!

Cheers, Edouard  [cheers1]

Steve:
This looks great, Todd! A little late tonight, but I'll download this and fiddle with it tomorrow. I'm eager to see how I can integrate this into my other web pages.

Thanks for your work on this!
Steve

HairyMcLeary:
Looking Good,

The wctags.php doesn't update as it doesn't have the WC web tags in it, but completed data... your data.

You didn't download this file from your web server rather than the web files folder  on your Mac that WC updates?  ;)

The live data updates properly, albeit in Imperial, due to the issue described above.

Tony

tigers:
Heh, yeah you got me. Here's the correct file. This should correct the units for you as well.

I've also updated the zip download as well.

Navigation

[0] Message Index

[#] Next page

Go to full version