1<?php echo '<?xml version="1.0" encoding="UTF-8"?>' ?> 2<?php echo '<?xml-stylesheet href="' . $this->xsl . '" type="text/xsl"?>' ?> 3<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 4 <channel> 5 <title><?php echo $this->h($this->title) ?></title> 6 <pubDate><?php echo $this->h($this->pubDate) ?></pubDate> 7 <link><?php echo $this->h($this->url) ?></link> 8 <atom:link rel="self" type="application/rss+xml" title="<?php echo $this->h($this->title) ?>" href="<?php echo $this->h($this->rss_url) ?>" /> 9 <description><?php echo $this->h($this->desc) ?></description> 10 11<?php foreach ($this->items as $v): ?> 12 <item> 13 <title><?php echo $v['title'] ?></title> 14 <description><![CDATA[ 15 <strong>Date:</strong> <?php echo $v['pubDate'] ?><br /> 16 <strong>From:</strong> <?php echo $v['fromAddr'] ?><br /> 17 <strong>To:</strong> <?php echo $v['toAddr'] ?><br /> 18 <pre><?php echo $v['description'] ?></pre> 19 ]]></description> 20 <pubDate><?php echo $v['pubDate'] ?></pubDate> 21 <guid isPermaLink="true"><?php echo $v['url'] ?></guid> 22 </item> 23<?php endforeach; ?> 24 25 </channel> 26</rss> 27