<?php while ($Comment =& $CommentList->get_next()) { // Loop through comments: ?> <rdf:li rdf:resource="<?php $Comment->permanent_url(); ?> "/> <?php } ?> </rdf:Seq> </items> </channel> <?php $CommentList->restart(); while ($Comment =& $CommentList->get_next()) { // Loop through comments: // Load comment's Item: $Comment->get_Item(); ?> <item rdf:about="<?php $Comment->permanent_url(); ?> "> <title><?php echo format_to_output(T_('In response to:'), 'xml'); ?> <?php $Comment->Item->title(array('format' => 'xml', 'link_type' => 'none')); ?>