這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Beautiful Yahoo Weather

外掛說明

The Weather plugin enables you to get up-to-date weather information for your location.The Weather plugin is a dynamically-generated based on WOEID

Languages

persian english arabic bulgarian catalan chinese-simplified chinese-traditional danish dutch estonian finnish german french greek haitian-creole hindi indonesian italian japanese korean latvian maltese romanian russian spanish swedish turkish ukrainian vietnamese

螢幕擷圖

  • Easy Control Panel
  • Easy Widget Builder
  • Simple Widget Beautiful Yahoo Weather
  • Simple Widget Beautiful Yahoo Weather
  • Simple Widget Beautiful Yahoo Weather
  • Simple Widget Beautiful Yahoo Weather
  • Simple Widget Beautiful Yahoo Weather
  • Simple Widget Beautiful Yahoo Weather
  • Easy control css

安裝方式

You can either install it automatically from the WordPress admin, or do it manually:

  1. Unzip the archive and put the beautiful-yahoo-weather folder into your plugins folder (/wp-content/plugins/).
  2. Activate the plugin from the Plugins menu.

常見問題集

How can I find a county/city fips given a yahoo WOEID?

weather.yahoo.com
Yahoo uses weather.com as it’s weather provider, so using the same steps as the above should work. However. If you would like to find your weather code through weather.yahoo.com, follow these steps.
1. Go to http://weather.yahoo.com
2. Search for your city. You will now see page with weather information. There are two ways to go from here.
3. Click ‘Extended forecast’.
4. http://www.weather.com/weather/extended/IRXX0018?par=yahoo…
5. WOEID is:IRXX0018

Weather.com
1. Go to http://www.weather.com
2. Search for your town and country (ie London, United Kingdom or New york, NY, United States) – When your search has given you the right location you will be taken to the page where the weather is displayed. You should now look at the URL (the address bar).
3. The URL should now look something like this:
http://www.weather.com/weather/today/UKXX0085
or
http://www.weather.com/weather/today/USNY0996
4. The weather code is now in the URL. The part we are looking for is: UKXX0085 ( / USNY0996 )
5. Take the weather code and paste in in your skin at the appropriate place. Save. Refresh.

Yahoo-Weather
Yahoo uses weather.com as it’s weather provider, so using the same steps as the above should work. However. If you would like to find your weather code through weather.yahoo.com, follow these steps.

  1. Go to http://weather.yahoo.com
  2. Search for your town and country (ie. London, United Kingdom or New york, NY, United States) – You will now see page with weather information. There are two ways to go from here.
    3a. Click on the RSS-button which is to the right under the big bar.
    4a. Look at the URL, it should be something like:
    http://weather.yahooapis.com/forecastrss?p=UKXX0085&u=f
    or
    http://weather.yahooapis.com/forecastrss?p=USNY0996&u=f – The weather code is then UKXX0085 ( / USNY0996 )

3b. Click ‘Extended forecast’ in one of the columns that hold weather for each day.
4b. The URL should now look something like this:
http://www.weather.com/outlook/travel/businesstraveler/extended/UKXX0085
or
http://www.weather.com/outlook/travel/businesstraveler/extended/USNY0996
– The weather code is then UKXX0085 ( / USNY0996 )

  1. Take the weather code and paste in in your skin at the appropriate place. Save. Refresh.

Note:
Yahoo is in the process of an upgrade. It is removing the p= part and replacing it with w= to use the more powerful new WOEID codes.
So if you find that your weather stops working, try to change that. Some skins use p= and some use w=, so far p= is still the main and supports more locations but it will soon change.

To get the weather-code if you use w=, do this:
1-2. Same as above.
3. Look at the URL. Should be something like:
http://weather.yahoo.com/england/greater-london/london-44418
or
http://weather.yahoo.com/united-states/new-york/new-york-2459115
4. The weather-code is then 44418 ( / 2459115 )

MSN-Weather
1. Go to http://weather.msn.com
2. Search for your location (ie. Lodon, United Kingdom or New york, NY, United States)
3. Look at the URL, it should look something like this:
http://weather.msn.com/local.aspx?wealocations=wc:UKXX0085&q=London%2c+GBR
or
http://weather.msn.com/local.aspx?wealocations=wc:USNY0996&q=New+York%2c+NY – The Weather code is UKXX0085 ( / USNY0996 )
4. Take the weather code and paste in in your skin at the appropriate place. Save. Refresh.
Other random weather page

  1. Look at the page.
  2. Search for your town and country.
  3. Search for some other town.
  4. See if you get similar results with only a small portion of the URL changed.
  5. Hope for the best.
    There is a big possibility that it will not be possible.

使用者評論

2017 年 12 月 19 日
Update the code in order to meet latest yahoo API weather changes Update the info - ho i find my WOEID http://www12.zippyshare.com/v/U4h8nnbp/file.html by me. It works fine here...
閱讀全部 12 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Beautiful Yahoo Weather〉的開發相關工作。

參與者

將〈Beautiful Yahoo Weather〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4

Bugs fixed and better css

1.4.1

Bugs fixed and better css