该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

EasyWeather widget

描述

Simple and lightweight widget for displaying weather data and forecast from Weather Underground (www.wunderground.com).

Plugin saves a local copy of data for faster and more optimal running.
You need a Wunderground API key, which you can get here http://www.wunderground.com/weather/api/.

Features:

  • simple and lightweight
  • multilanguage (currently supported: english, german, italian, slovene)
  • easy for translating
  • metric and imperial units
  • user can define own refreshing interval in minutes
  • no need for own weather icons, plugin automatically download them from Wunderground
  • 屏幕截图

    • screenshot-1.png
    • screenshot-2.png
    • screenshot-3.png
    • screenshot-4.png
    • screenshot-5.png

    安装

    1. Upload folder easyweather-widget to the /wp-content/plugins/ directory or install using WordPress’ built-in ‘Add New Plugin installer’
    2. Activate the plugin through the ‘Plugins’ menu in WordPress
    3. Place widget anywhere at sidebar in your templates
    4. Edit settings
    5. Save changes

    常见问题

    How can I translate EasyWeather widget?

    Just edit weather-language.php in easyweather-widget folder. You must add new array, edit languange settings and translate their values:
    $weather_language[‘en’] = array(
    “description” => “English”,
    “refreshed” => “Refreshed at”,
    “error” => “No cities match your search query.”,
    “Monday” => “Mon”,
    “Tuesday” => “Tue”,
    “Wednesday” => “Wed”,
    “Thursday” => “Thu”,
    “Friday” => “Fri”,
    “Saturday” => “Sat”,
    “Sunday” => “Sun”
    );

    You can send me translation in your language to myselfko@gmail.com.

    Can I use my own weather icons?

    Yes, you can upload your icons in .gif format to the folder easyweather-widget/icons, but their names must be:

    DAYTIME
    chanceflurries.gif
    chancerain.gif
    chancesleet.gif
    chancesnow.gif
    chancetstorms.gif
    clear.gif
    cloudy.gif
    flurries.gif
    fog.gif
    hazy.gif
    mostlycloudy.gif
    mostlysunny.gif
    partlycloudy.gif
    partlysunny.gif
    rain.gif
    sleet.gif
    snow.gif
    sunny.gif
    tstorms.gif
    unknown.gif

    NIGHTIME
    nt_chanceflurries.gif
    nt_chancerain.gif
    nt_chancesleet.gif
    nt_chancesnow.gif
    nt_chancetstorms.gif
    nt_clear.gif
    nt_cloudy.gif
    nt_flurries.gif
    nt_fog.gif
    nt_hazy.gif
    nt_mostlycloudy.gif
    nt_mostlysunny.gif
    nt_partlycloudy.gif
    nt_partlysunny.gif
    nt_rain.gif
    nt_sleet.gif
    nt_snow.gif
    nt_sunny.gif
    nt_tstorms.gif
    nt_unknown.gif

    You can find some of my iconsets at https://dl.dropbox.com/u/1351805/EasyWeather/index.html

    评价

    此插件暂无评价。

    贡献者及开发者

    “EasyWeather widget” 是开源软件。 以下人员对此插件做出了贡献。

    贡献者

    将“EasyWeather widget”翻译成您的语言。

    对开发感兴趣吗?

    您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

    更新日志

    1.0

    Initial stable release

  • add language support
  • add setting for manually defining refresh interval