このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

WX Weather Widget

説明

WX Weather displays data from a Personal Weather Station, retrieved from the website Weather Underground.

to use this for your own Weather Station, you need to submit your data to Weather Underground, and you know your Weather Station code. to find out more about how to do this, visit Weather Underground’s Personal Weather Station Page.

data is cached locally in your WordPress install, so it only makes one request to Weather Underground every five minutes.

スクリーンショット

  • add the WX Weather Widget to your sidebar
  • enter a title, and your Weather Station code. choose your unit preference.
  • how the Widget looks in the sidebar – presentation can be altered using the CSS of your theme

インストール

  1. upload the contents of the archive to your /wp-content/plugins/ directory
  2. activate the plugin
  3. go to Appearance, Widgets and Add the WX Weather Widget to your dynamic sidebar
  4. Edit the Widget on the right to add a title, and specify your Weather Station code

FAQ

theme compatibility

i have seen a few reports of this plugin throwing errors when certain themes are used. please try a different theme before reporting a problem – if the problem clears up, let me know what theme it was causing an error with and i will try to investigate the conflict. please also note that this plugin requires PHP 5 – if you’re using PHP4, the functions used to parse the return data from Wunderground don’t exist.

評価

このプラグインにはレビューがありません。

貢献者と開発者

WX Weather Widget はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“WX Weather Widget” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.91

  • fixed a bug introduced in 0.9 that output the full F+C temp string after the C string (sorry!)
  • corrected some formatting to be in line with the wordpress php coding standards: https://make.wordpress.org/core/handbook/coding-standards/php/
  • changed some of my string concats to be more readable

0.9

  • updating some of the URLs for wunderground
  • starting work on abstracting out the choice to display alternate units or not

0.8

  • accidentally checked in some debug code – fixed

0.7

  • changes at wunderground meant this plugin displayed XML errors when api.wunderground is overloaded; updated to check not only the HTTP status code, but examine the payload itself for valid XML before processing (otherwise it continues to use your cached data)

0.6

  • added the ability to choose Metric or English unit preference
  • fixed the display of rainfall data (if it’s raining)
  • updated readme and plugin info page to reflect PHP5 requirement

0.5

  • added a message to report the use of cached data if timeout has not expired

0.4

  • suppression of php errors when using WP “snoopy” function to retrieve data
  • addition of title/mouseover error|success reporting (hover over update time to see status)