tags:

views:

34

answers:

1

I have looked around for the past year to put tide predictions on a client's website. All I could find was free "widgets" I could use or xtide. The problem with the widgets, they are branded all over the place and looks very unprofessional for the environment. So I was looking to install xtide on the server, but after 3 days and multiple talks with the server's tech support, I was unable to install xtide due to just ONE problem with server permissions on shared hosting. So that was a flop.

So I'm back to step 1 here and I desperately need a method of getting tide predictions (preferably tides for all of the current year) of a certain location (New London, Connecticut, USA).

Does anyone know of a method to grab these tides from an alternate source via XML so I can use them in PHP? Also note, I need these to be as accurate as possible, there are a few tide prediction scripts out there for PHP, but after a few months, become far off by hours for the predictions.

I will also take suggestions for using xtide elsewise too!

+2  A: 

NOAA provides tide predictions for a lot of locations around the USA, and even provides a URL you can hit to get the data in XML. Have a look at their Tides and Currents site.

Shawn Craver
I had found NOAA before and wanted to use the such but their XML is not available to be used as an automatic data source through PHP. Clicking on "XML" will download the file and after investigation, it would require some serious "hacking" in order to receive the feed through the website I have built.
BigRossLabs