Greetings
So far I've gotten to this point on my mountain parsing code of wunderground
<?php
$fd= fread(fopen("http://www.wunderground.com/ski/vt/", "r"), 100000);
if ($fd)
{
$start= strpos($fd, "Killington Resort");
$finish= strpos($fd, "Mad River Glen");
$length= $finish-$start;
$code=Substr($fd, $start, $length);
}
echo $code;
?>
I was wondering if anyone had any suggestions in the use of explode to reformat the data at all?
Or if I should parse to two different points?
I'm not sure how to hack it to be happy
Example can be seen at: http://www.ifeelhappy.com/snow/killington.php
Cheers