<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
        <channel>
        <atom:link href="http://www.softsaurus.org/feedgen" rel="self" type="application/rss+xml" />
        <title>softsaurus.org</title>
        <link>http://www.softsaurus.org</link>
        <description>The number one source for all you computer enthusiasts.</description>
        <lastBuildDate>Sat, 11 Feb 2012 01:38:10 +0000</lastBuildDate>
        <?

        include('../../../models/class.feedCreator.php');
        $newsFeed = new feedCreator();
        $newsItem = $newsFeed->get_feedItems();
        foreach($newsItem as $item):

            if($feed_type == 0):
                $description= $item['summary'];
            elseif($feed_type == 1):
                $description= $item['body'];
            endif;

            print('<item>'.PHP_EOL);
            print('<title>'.htmlspecialchars($item['title']).'</title>'.PHP_EOL);
            print('<link>'.$site_url.'/page/news/article/'.$item['id'].'/'.utf8_encode(htmlspecialchars(strtolower(str_replace( " ", "-", $item['title'])),ENT_NOQUOTES,'utf-8')).'</link>'.PHP_EOL);
            print('<guid>'.$site_url.'/page/news/article/'.$item['id'].'/'.utf8_encode(htmlspecialchars(strtolower(str_replace( " ", "-", $item['title'])),ENT_NOQUOTES,'utf-8')).'</guid>'.PHP_EOL);
            print('<description>'.htmlspecialchars(nl2br($description)).'</description>'.PHP_EOL);
            print('<pubDate>'.$item['published'].'</pubDate>'.PHP_EOL);
            print('</item>'.PHP_EOL);
        endforeach;
        ?>
    </channel>
</rss>

