Hi, I'm trying to set up a page that shows the 5 day tide forecast and I can't find any XML feeds anywhere so I've got to figure out how to grab the information I want from an HTML site. One site I found with the data I want is:
http://easytide.ukho.gov.uk/easytide/Ea ... onLength=5
or this printer-friendly one is perhaps better:
http://easytide.ukho.gov.uk/easytide/Ea ... ghtUnits=0
but I'm not sure what the best way to isolate just the information I'm looking for - say into an array of high tide, low tide and date for each of the 5 days. Would be much easier if I could find an xml feed but I seem to have exhausted my google abilities.
Any help would be greatly appreciated.
Thanks,
Andreas
Parsing data from external websites
Moderator: General Moderators
-
ageorghiou
- Forum Newbie
- Posts: 12
- Joined: Fri Oct 28, 2005 6:25 am
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
considering they do not want just anyone even linking to them, I doubt you have their permission to leech information from their website
-
ageorghiou
- Forum Newbie
- Posts: 12
- Joined: Fri Oct 28, 2005 6:25 am
The friend that I'm doing this code for had previously linked to ukho tides information but (i assume) the html format or something else changed on their site at some point so his site hasn't updated this information for a while. I assumed that the company he's working for had previously obtained permission for the data as it was available on their site for a few years but I have just emailed him to confirm that.
Thanks for bringing that to my attention. I'll follow up once I confirm the permission.
Thanks for bringing that to my attention. I'll follow up once I confirm the permission.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact: