Slashdot: News for nerds, stuff that matters","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); // bring in my own style $result=str_replace('',' ',$result); // dump all images $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("
AboutNext story
"; } else { $next=($i+1); if ($next==$numparts) { // the final row - 'prev' and 'top' links, no 'next' // start div $final .= "
"; // link to top $final .= "Top"; // spacer $final .= ""; // link to previous story $final .= "Previous story"; // spacer $final .= ""; // placeholder $final .= ""; // end div $final .= "
"; } else { // any other row - gets prev/next links // start div $final .= "
"; // link to previous story $final .= "Previous story"; // spacer $final .= ""; // link to next story $final .= "Next story"; // 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('
', '
' . $myMessage . '
', $result); print $result; ?>