insideitem = true; } function endElement_extra($this) { global $slashdotoutput; switch (htmlspecialchars(trim($this->section))) { case "it": $this->section = "IT: "; break; case "linux": $this->section = "Linux: "; break; case "apple": $this->section = "Apple: "; break; case "yro": $this->section = "Your Rights Online: "; break; case "games": $this->section = "Games: "; break; case "politics": $this->section = "Politics: "; break; case "bsd": $this->section = "BSD: "; break; case "science": $this->section = "Science: "; break; case "mainpage": $this->section = ""; break; } switch (trim($this->subject)) { case "microsoft": $this->subject = "ms"; break; case "fps": $this->subject = "gamesfps"; break; case "rpg": $this->subject = "gamesrpg"; break; case "biz": $this->subject = "business"; break; case "hardhack": $this->subject = "hardwarehacking"; break; case "tech": $this->subject = "tech2"; break; case "usa": $this->subject = "us"; break; case "graphics": $this->subject = "graphics3"; break; case "portablegames": $this->subject = "gamesportable"; break; case "rts": $this->subject = "gamesrts"; break; case "classic": $this->subject = "gamesclassic"; break; case "ent": $this->subject = "entertainment"; break; } $slashdotoutput .= '
'.htmlspecialchars(trim($this->description)).'