Changeset 606956
- Timestamp:
- 10/02/2012 01:12:40 PM (14 years ago)
- File:
-
- 1 edited
-
weather-layer/tags/3.2/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
weather-layer/tags/3.2/readme.txt
r590993 r606956 1 ***************** 2 * ENGLISH * 3 ***************** 1 === Plugin Name === 2 Contributors: MorganF 3 Donate link: http://blogovoyage.fr/weather-layer 4 Tags: weather, forecast, météo 5 Stable tag: trunk 6 Tested up to: 3.4.2 7 License: CC-BY-ND 8 9 Display weather data on your blog thanks to Yahoo! Weather. Example of use : [weatherlayer country="France" city="Paris"] 10 11 == Description == 4 12 5 13 Weather Layer is a plugin which allows you to display a layer with weather information for a choosen city. 6 14 7 To do, you need to know the WOEID (Where on Earth IDentifier). To find the WOEID you want, browse or search for the city from the Weather home page : http://weather.yahoo.com 8 The WOEID is in the URL for the forecast page for that city. You can also get the WOEID by entering your zip code on the home page. 9 For example, if you search for Los Angeles on the Weather home page, the forecast page for that city is http://weather.yahoo.com/united-states/california/los-angeles-2442047/. The WOEID is 2442047. 15 For example, if you want to display weather for Paris, you just need to insert the following shortcode : 10 16 11 When you got the WOEID, just insert this into your content : 17 [weatherlayer country="France" city="Paris"] 12 18 13 [weatherlayer woeid="2442047"] 19 This will display a horizontal layer with weather information related to Paris, France. This format fits well for single posts. However, if you want to insert a weather layer into your sidebar, use this sortcode instead : 14 20 15 Replacing 2442047 by the WOEID of the choosen city. 21 [weatherlayer country="France" city="Paris" display="horizontal"] 16 22 17 23 NB : 18 24 This plugin is using Yahoo! Weather API. 19 25 20 --- 21 ----- 22 --- 26 == Installation == 23 27 24 ***************** 25 * FRANCAIS * 26 ***************** 28 1. Download the weather-layer.zip file which contains the whole stuff required 29 2. Unzip the archive 30 3. Upload `weather-layer` directory extracted from the archive to you `/wp-content/plugins/` directory 31 4. Activate the plugin through the 'Plugins' menu in WordPress 32 5. Configure the plugin through your admin interface 33 6. Use shortcode like [weatherlayer country="England" city="London"] 27 34 28 Weather Layer est un plugin qui permet d'afficher la météo pour une ville donnée. 35 == Screenshots == 29 36 30 Pour ce faire, vous devrez connaitre le WOEID de la ville choisie. Pour le trouver, rendez-vous sur : http://weather.yahoo.com 31 32 Une fois que vous avez le WOEID, il suffit d'insérer cette ligne dans votre article : 33 34 [weatherlayer woeid="2442047"] 35 36 En remplaçant 2442047 par le WOEID de la ville choisie. 37 38 NB : 39 Ce plugin utilise l'API Yahoo! Weather 37 1. weather-layer_1.png 38 2. weather-layer_2.png
Note: See TracChangeset
for help on using the changeset viewer.