Author Topic: PHP script for water temp?  (Read 5110 times)

0 Members and 1 Guest are viewing this topic.

Offline tbdesigner

  • Member
  • *
  • Posts: 1
PHP script for water temp?
« on: July 07, 2009, 12:23:16 PM »
This is a "is there a script for this" sort of post.

I'm currently using a widget on a WordPress-powered web site that pulls the current temperature from weather.com, however that's where its capability ends (link to widget I'm now using). What I'm really looking for is a script that can pull the current temp for ZIP 33604 plus the water temperature for either Tampa Bay or Clearwater Beach. Or, failing an all-in-one solution, a script that just pulls the water temp data. I don't need a graph or map, just the water temperature in Fahrenheit. Since it's a WordPress blog, I do have PHP on my server, but I'm adaptable to other solutions, too.

Is there an existing script out there to do this or can someone point me in another direction to maybe find a way to display this data?
« Last Edit: July 13, 2009, 02:27:37 PM by tbdesigner »

Offline PortlandWeather

  • Member
  • *
  • Posts: 3
    • Portland Weather
Re: PHP script for water temp?
« Reply #1 on: December 31, 2010, 10:24:23 PM »

I realize this is a pretty old post but it's pinned so I gather there must be interests in the subject.  I compiled two separate sources, yahoo weather data api and national weather service.  This is for the Tampa Bay and is really simple but if you need help let me know.

http://portlandweather.info/watertemp.php
« Last Edit: December 31, 2010, 10:26:36 PM by PortlandWeather »

 

anything