I purchased a third party software which handles the creation of podcasts!. I did not want to spend the time to modify/hack it into vbulletin so I wrote a simple script that just scrapes the page and gets the contents
The problem that I am having was that I thought all the shows showed up on one page using this URL:
but the shows are incremented and the p= increases, examples:
So I asked a friend of mine, who is an outstanding developer, if there was a way to data mine the page and get all contents of the shows, no matter what the p= value was.
he came back with the following code:
<?php
//This is what Natch said to do and it pulls in just the basics
$everything = 'http://www.sportsrant.com/radio/index.php?d1=shows&p='.$_REQUEST['show'];
$contents = implode ('', file ($everything));
preg_match("/<!-- start -->.*?<!-- stop -->/is", $contents, $results);
//print_r ($results);
echo $results [0];
exit;
?>
he said this would work, but if you go to http://www.sportsrant.com/music.php, it does not get the content, just some of it
What am I doing wrong or can this not be done
TIA
Mike