Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 412 → Rev 413

/blog/rss.php
22,12 → 22,8
write('<link>http://tim32.org/blog/post.php?id=' . $id . '</link>');
write('<guid>' . $id . '</guid>');
write('<pubDate>' . date('D, d M Y H:i:s O', $post->datePosted). '</pubDate>');
write(write('<description>' . $page->replaceBBCode($post->content) . '</description>'););
write('</item>');
write('<a href="post.php?id=' . $id . '"><h3>' . $post->title. '</h3></a>');
write('<h5 style="color: #666666;">Posted On ' . date('l j F Y', $post->datePosted) . ' by ' . $post->user->name . ' (' . $post->user->username . ')</h5>');
write('<p>' . $page->replaceBBCode($post->content) . '</p>');
write('<br />');
}
 
write('</channel>');