Parsing data from external websites
Posted: Sun Mar 26, 2006 6:37 am
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
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