Slashdot",$result);
// aww, how cute, Slashdot added a viewport setting. change to my cool icon instead.
$result = str_replace('', '', $result);
// strip away everything from a.fsdn.com
$result = str_replace('//a.fsdn.com/', '/asd123/', $result);
// remove all scripts
$result = str_replace('
', $result);
// add a viewport setting, the local stylesheet, and the location-bar-hiding-thing, and an icon
#$result=str_replace("","\n\n\n\n\n\n\n\n\n",$result);
#$result=str_replace("","",$result);
// make the source a little neater
$result=str_replace("\t",'',$result);
$result=str_replace(' ',' ',$result);
$result=str_replace("\n\n","\n",$result);
// random thing - take out the break between "posted by" and "department" and add a comma
$result=str_replace("\n\n ",', ',$result);
// and this double-indented block is my cool system to create links to jump down to the next story
/*
if ('http://slashdot.org/'==$url) {
$result=str_replace("
";
} else {
$next=($i+1);
if ($next==$numparts) { // the final row - 'prev' and 'top' links, no 'next'
// start div
$final .= "
";
// link to top
$final .= "";
// spacer
$final .= "";
// link to previous story
$final .= "";
// spacer
$final .= "";
// placeholder
$final .= "";
// end div
$final .= "
";
} else { // any other row - gets prev/next links
// start div
$final .= "
";
// link to previous story
$final .= "";
// spacer
$final .= "";
// link to next story
$final .= "";
// end div
$final .= "
";
}
}
$final .= $parts[$i];
}
print $final;
#print $result_copy;
} else {
print $result;
#print $result_copy;
}
*/
$myMessage = 'Hi! I\'m experimenting with a new style for this site. Don\'t worry, it\'s not like the Beta. Click here to check it out.';
$result = str_replace('', '