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
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?
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
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…
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 π
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
Cheers Eyeless
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 π
Then you could mix it with the setting: meters versus english
if meters then celcius else you have fahrenheit
Great link API found π
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
Im looking forward to see if you’re able to fix it π
ok, right now I am getting all information from Google I need, currently checking the WP Plugin API and the official Writing a Plugin Site 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?
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?
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
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 π
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 ). But I found another API providing nearly the same data at yahoo . 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
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');