We're getting it there. Here's what I've got.
<?php
$urlpage = 'http://stardustholiday.blogspot.com/';
$filetext = fopen("$urlpage", "r");
while (!feof($filetext))
{
$theline = fgetss($filetext, 2048);
$theline = ereg_replace("<head>(.*)head>", "", $theline);
$theline = ereg_replace("<script>(.*)script>", "", $theline);
$theline = ereg_replace("<style language='text/css'>(.*)style>", "", $theline);
echo "$theline";
}
fclose($filetext);
?>
As you can see though, I still have quite a bit of css there from the style tags. (I've tried just <style> but that isn't working. Also, there's not a need for the <br> or the <p> tags.. This will eventually be placed into a db and converted to an algorithym that I have came up with, but I need to weed out all the css first.. and I've been unsuccessful a lot.