items, 0, $rss_count); $count=0; foreach ($items as $item) { $count++; // Fix for title having href *grrr* $title=strip_tags($item['title']); // Converts html codes into displayable codes $title = htmlentities($title); // and fixes the ampersands that should be displayed... $title = ereg_replace('&', '&', $title); // remove any stray linefeeds/carriage returns from title $title = ereg_replace("\r?\n", "", $title); // Strips the "customize this feed" from NewsIsFree feeds // and marked advertisements $adtext = "ADV:"; if (strpos($title, $adtext) !== FALSE) continue; $customtxt = "Customize this feed"; if ($title == $customtxt) continue; $customtxt2 = "NewsIsFree:"; if (strpos($title, $customtxt2) !== false) continue; // Work around for some sites not always having a "link" element if (isset($item['link'])) {$linkurl = $item['link'];} else {$linkurl = $item['guid'];} $linkurl = trim($linkurl); $html .= "$title

\n"; } return $html; }
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\blogs\includes\show-rss.php:57) in C:\Program Files\xampp\htdocs\blogs\lib\misc.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\blogs\includes\show-rss.php:57) in C:\Program Files\xampp\htdocs\blogs\lib\misc.php on line 111
PluggedOut Blog

About

This is the default theme installed with the PluggedOut Blog script, available from pluggedout.sourceforge.net.

Contact

Archive

Calendar

« September 2010 »
MTWTFSS
  12345
6789101112
13141516171819
20212223242526
27282930   

Search

 

Recent Entries

Categorised

Affiliations