This widget displays the current condition, temperature, and the feels like temperature. It uses weather.com’s xoap api to retrieve the information.
This script relies on the function file_get_contents to fetch the RSS feed. If your host doesn't allow the use of it, but allows the use of curl, you can replace
$stories = file_get_contents($uri);
$ch = curl_init(); $timeout = 5; // set to zero for no timeout curl_setopt ($ch, CURLOPT_URL, $uri); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout); $stories = curl_exec($ch); curl_close($ch);
It's the number of seconds before the content will be requested again. You can set this to be 0 or -1 to not use the caching system. If you edit any of the widgets in the widget admin panel, the cache is cleared.
Requires: 2.0.2 or higher
Compatible up to: 2.8.1
Last Updated: 8 years ago
Active Installs: 1,000+
Got something to say? Need help?