Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-09-22 20:29:42

lcayetano
Member
Registered: 2005-09-14
Posts: 10

Weather Plugin

Does someone have a suggestion how best to approach this for Textpattern. I’ll be converting my company website to Textpattern and I would like to use something like <a href=“http://www.sonicpling.net/archives/2005/03/12/weathericon-20/”>WeatherIcon</a> if possible.

Being a big fan of <a href=“http://www.mikeindustries.com/blog/”>Mike Davidson’s</a> blog, he also has provides a way of showcasing the <a href=“http://www.mikeindustries.com/blog/archive/2004/08/php-weather”>weather</a> which looks to be the direction I am going if there isn’t something simpler like a plugin.

Leo

Offline

#2 2005-10-31 17:15:50

simonaut
Member
Registered: 2005-06-28
Posts: 16
Website

Re: Weather Plugin

Hum, I have a basic weather plug-in right now, I am currently planning for verison 0.2 to have lots of features and also the ability to show an icon and everything.
http://www.simonaut.com/2005/10/30/txp-weather-plug-in
~Simon


Chat with me here!
AIM: s1monaut
http://www.simonaut.com/

Offline

#3 2005-11-02 06:00:27

lcayetano
Member
Registered: 2005-09-14
Posts: 10

Re: Weather Plugin

Thanks, Simon!

Offline

#4 2005-11-09 18:33:38

mttw
Member
From: The Netherlands
Registered: 2005-03-12
Posts: 26

Re: Weather Plugin

How do I use the Metric Units so Celsius is the output

Offline

#5 2005-11-09 22:14:55

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: Weather Plugin

Didn’t try it but … it takes the data from the Weather Channel or what?
and if Yes, could I set up the weather for any country?
I live in Patagonia Argentina and it’s hard to find a weather plugin that works with my city.
For example:

Yahoo Weather provides the data, but if you try to use the RSS Feed it doesn’t work!

RSS Weather works good and obviously has the feed.

Well, thanks!

Offline

#6 2005-11-11 21:13:02

oranv
New Member
Registered: 2005-01-09
Posts: 6
Website

Re: Weather Plugin

I got it to display Celsius units by editing the plugin code in the txp admin plugin page. In the line “$xoap=join” add “unit=m” to the end of the URL so the line comes out like this

$xoap=join(‘’,file(“http://xoap.weather.com/weather/local/”.$loc_code.”?cc=*?=xoap&par=1003188692&key=7392ac66b4e27671&unit=m”));

and also change the F in “$Out .= ‘&deg;F in ‘;” near the bottom to C

It would be nice if there was an option in the plugin tag to set the units.

Thanks for the plugin!

Offline

#7 2006-06-19 07:39:44

jesper
Member
From: Melbourne, Oz
Registered: 2004-03-05
Posts: 18

Re: Weather Plugin

Does anyone have a copy of this plugin. the link above does not appear to work any more and I would really love to try it out on my site?

Offline

#8 2006-09-20 15:35:23

moloko
Member
From: USA
Registered: 2005-05-25
Posts: 35
Website

Re: Weather Plugin

Hmm. I am looking to grab a copy too. I sent an email to the dev to see if he needs help hosting the file too.

Offline

#9 2006-11-06 23:15:58

lcayetano
Member
Registered: 2005-09-14
Posts: 10

Re: Weather Plugin

I have it on one of my Textpattern installations. Send me an email at lcayetano (at) gmail dot com.

Offline

#10 2006-11-06 23:32:52

duchamp
Member
From: Patagonia
Registered: 2005-02-03
Posts: 222
Website

Re: Weather Plugin

I uploaded the original copy to:
http://www.mekanodigital.com.ar/resources/txp_weather_0.1.txt
I’m not using it ‘cause there’s no weather feed for my town but I guess the plugin works well.
If there’s any trouble, just tell me and I will delete the file.

Regards

Last edited by duchamp (2006-11-07 15:09:32)

Offline

#11 2006-11-14 19:26:48

moloko
Member
From: USA
Registered: 2005-05-25
Posts: 35
Website

Re: Weather Plugin

thanks duchamp.

When i get home tonight i will install it and see how it goes.

Offline

#12 2007-01-17 06:37:22

jesper
Member
From: Melbourne, Oz
Registered: 2004-03-05
Posts: 18

Re: Weather Plugin

Does anyone have a copy of version 0.2 of this plugin? also known as snt_weather 0.2. The link on the authors website is dead. The up to date version will be much appreciated and can with great effect be used with the icon pack prepared by Hablablow (See plugin in use at the top of his page). I can’t seem to find an email for him to get the plugin there….

The link on Textpattern Resources is of no use either.

I would really like to use this on my site. I will be more than happy to host a copy of the plugin as well for others to get access to this – just need to get hand on it first.

Offline

Board footer

Powered by FluxBB