這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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