reed%reedloden.com d4c6790694 Add feed fixes from Ryan <ryan@ryanflint.com>, rename 'Host of' to 'Hosting', and fix ordering for favicon code.
git-svn-id: svn://10.0.0.236/trunk@213519 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-11 21:25:09 +00:00

16 lines
779 B
XML
Executable File

<?php echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"; ?>
<rss version="0.91">
<channel>
<pubDate><?php echo date('r'); ?></pubDate>
<description><?php echo APP_NAME." - Latest Comments"; ?></description>
<link><?php echo APP_BASE.$html->url('/parties/view/'.$pid); ?></link>
<title><?php echo APP_NAME." - Latest Comments"; ?></title>
<?php foreach($comments as $comment): ?>
<item>
<title><![CDATA[<?php echo substr($comment['comments']['text'], 0, 25).'...'; ?>]]></title>
<description><?php echo $comment['comments']['text'] ?></description>
<link><?php echo APP_BASE.$html->url('/parties/view/'.$comment['comments']['assoc'].'#c'.$comment['comments']['id']); ?></link>
</item>
<?php endforeach; ?>
</channel>
</rss>