Title: [Plugin: Runners Log] Weather integration
Last modified: August 19, 2016

---

# [Plugin: Runners Log] Weather integration

 *  [TheRealEyeless](https://wordpress.org/support/users/therealeyeless/)
 * (@therealeyeless)
 * [16 years ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/)
 * From **frold**, [ original thread ](http://wordpress.org/support/topic/347464/page/2?replies=56)
 * > Regarding weather:
   >  I thought about a integration of the Weather Posting Plugin
   > found herE: [http://wordpress.org/extend/plugins/weather-postin/](http://wordpress.org/extend/plugins/weather-postin/)
   > This way weather data is automaticly inserted in a new post 😉
   > The problem is I wasnt able to get it to work for eg. Denmark, where I live.
   > I should have weather data for all countries – but I wasnt able to fix it :
   > S
   > This blog is using it when there is posted in the Categori: Runners Log: [http://wannaberunner.com/](http://wannaberunner.com/)
   > See the end of every post where you find data like:
   > Weather conditions during run:
   > * Temperature: 76°F;
   >  * Humidity: 87%; * Heat Index: 75°F; * Wind Chill: 76
   > °F; * Pressure: 30.04 in.;

Viewing 15 replies - 1 through 15 (of 62 total)

1 [2](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/4/?output_format=md)
[5](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/5/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/2/?output_format=md)

 *  Thread Starter [TheRealEyeless](https://wordpress.org/support/users/therealeyeless/)
 * (@therealeyeless)
 * [16 years ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1595769)
 * ok, after my first exam in about two hours I will give it a try to set it up,
   I will post progress here 😉
 * Cheers Eyeless
 *  [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1595882)
 * Cool – looking forward to that…
 * As I remember there are some issues regarding that plug.
 * **First it use a rss path like this:**
    `$url = 'http://www.rssweather.com/zipcode/'.
   $zip_code . '/rss.php';`
 * $zip_code doesnt support danish zip-codes.
 * and eg the path to the weather for Odense, Denmark, where I live is:
    `http://
   www.rssweather.com/wx/dk/odense/rss.php`
 * But eg. you are able to snip the data from a path file like this
    `http://www.
   rssweather.com/hw3.php?place=berlin-tegel&state=&country=de&utm_source=rss&utm_medium
   =rss`
 * **Second there is a database issue**
    The plugin stores that weather data in 
   its own database table post_weather and dont think taht is the best way to store
   data.
 * What do you think?
 *  Thread Starter [TheRealEyeless](https://wordpress.org/support/users/therealeyeless/)
 * (@therealeyeless)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1595918)
 * ok, I set up an xampp enviroment for testing…quite funny, regarding to permission
   problems it took me three hours till wordpress was up and running.
 * With the weather plugin I have the same problem here, there is no way to retrieve
   my data. I tried some other plugins but outside the US it seems to be quite a
   problem.
 * I’ll give some of them a try this weekend….unfortunatelly I still have to do 
   some preparations for my exams 🙁
 * Cheers Eyeless
 *  [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1595931)
 * Exams have first priority 😀
 * This is just for fun – your study is your future…
 * But Im very glad you want to give something back to this plugin…
 *  Thread Starter [TheRealEyeless](https://wordpress.org/support/users/therealeyeless/)
 * (@therealeyeless)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1595933)
 * Sure it is and that are my prioritys, but some of my free time left can be spent
   here 😉 … since I need and use this running log 😉
 *  Thread Starter [TheRealEyeless](https://wordpress.org/support/users/therealeyeless/)
 * (@therealeyeless)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1595991)
 * Looks to be a bit nasty, since mostz plugins are outated or just for the use 
   in the US. What do you think about using the Google Weather API ?
    see: [http://www.freecomputeradvice.net/2009/08/google-weather-api.html](http://www.freecomputeradvice.net/2009/08/google-weather-api.html)
 * Cheers Eyeless
 *  [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1595992)
 * I didnt know they had one 😀
 * I guess: if its google it will not be outdated soon 🙂
 * Could be a very good alternative and easy to use:
 * This city was easy to find:
 * [http://www.google.com/ig/api?weather=odense](http://www.google.com/ig/api?weather=odense)
   🙂
 * Then you could mix it with the setting: meters versus english
 * if meters then celcius else you have fahrenheit
 * Great link API found 😀
 *  Thread Starter [TheRealEyeless](https://wordpress.org/support/users/therealeyeless/)
 * (@therealeyeless)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1595998)
 * > Then you could mix it with the setting: meters versus english
   > if meters then celcius else you have fahrenheit
 * That’s a cool idea, I’ll have a look at it this afternoon and start trying to
   integrate it!
 * Cheers Eyeless
 *  [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1595999)
 * Im looking forward to see if you’re able to fix it 😀
 *  Thread Starter [TheRealEyeless](https://wordpress.org/support/users/therealeyeless/)
 * (@therealeyeless)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1596030)
 * ok, right now I am getting all information from Google I need, currently checking
   the [WP Plugin API](http://codex.wordpress.org/Plugin_API) and the official [Writing a Plugin Site](http://codex.wordpress.org/Writing_a_Plugin)
   to get in touch with integrating it correctly.
    Since I am most time learning
   for my exams I think first usable version will be up at friday 😉
 * Currently I am not sure wheter it is good to uses miles if a City is choosen 
   in a country where miles are a standard way of measuring disatnces. Since I am
   also running in other towns this would mean if I take part at a running competition
   in GB the DB mixes my km and miles run (not sooo got 😉 ). But I will think about
   a solution for this 😉
 * Cheers Eyeless
 * btw: do we want pictures showing the weather or just data?
 *  [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1596032)
 * I dont think the place should decide if its fahrenheit or celcius – it should
   be the user.
 * If the user choose english – inches and pound – Im pretty sure the user also 
   want it to be in fahrenheit…..
 * Picture or not a picture – maybe there could be a to new fields in runners log
   admin
 * Weather
    -Show text -Show image
 * Then the user coulde chooser if he/she want one of it or both…
 * What do you think?
 *  Thread Starter [TheRealEyeless](https://wordpress.org/support/users/therealeyeless/)
 * (@therealeyeless)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1596045)
 * > If the user choose english – inches and pound – Im pretty sure the user also
   > want it to be in fahrenheit…..
 * ok, now I got, think thats no problem, maybe implement this as the default setting
   but I would nevertheless provide an option in the menu for changing it.
 * >  Weather
   >  (…) Then the user coulde chooser if he/she want one of it or both…
 * Yes sound good, but at first I am going to bring text mode up and running 😉
 * Cheers Eyeless
 *  [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1596067)
 * There is a new version for testing 😉
 * What do you think – so far?
 * oops should have been in the gear-post – please reply in that one 🙂
 *  Thread Starter [TheRealEyeless](https://wordpress.org/support/users/therealeyeless/)
 * (@therealeyeless)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1596078)
 * did it 😉
 * I have encountered a little problem here corresponding the Google API. Since 
   the API is not official I think we should not use it (see [ this google posting ](http://groups.google.com/group/google-help-dataapi/browse_thread/thread/fcb6d50797425e24)).
   But I found another API providing nearly the same data at [yahoo ](http://developer.yahoo.com/weather/).
   The Yahoo API is for free but we have to tell while using it from whom we got
   the weather data (I am currently thinking of a way to integrate some notation
   for that, maybe it is possible to add some information about yahoo in the footer
   of a blog using the plugin with weather data)
 * What do you think about it ?
 * Cheers Eyeless
 *  [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * (@frold)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/#post-1596080)
 * It’s up to you.
 * I think the google API seems more straightforward to use.
 * But if you’re able to solve it with the yeahoo then feel free 😀
 * Regarding adding content to the footer I think you can use:
 *     ```
       add_action('wp_footer','function-name');
       ```
   

Viewing 15 replies - 1 through 15 (of 62 total)

1 [2](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/2/?output_format=md)
[3](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/3/?output_format=md)
[4](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/4/?output_format=md)
[5](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/5/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/2/?output_format=md)

The topic ‘[Plugin: Runners Log] Weather integration’ is closed to new replies.

 * 62 replies
 * 2 participants
 * Last reply from: [Frederik Liljefred. M.D.](https://wordpress.org/support/users/frold/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-runners-log-weather-integration/page/5/#post-1596318)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
