Logo Search packages:      
Sourcecode: bamboo version File versions

template.php

<?php echo "<?xml version=\"1.0\" ?>\n" ?>

<rdf:RDF
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns="http://purl.org/rss/1.0/"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel rdf:about="<?= $rss_channel[link] ?>">
<title><?= $rss_channel[title] ?></title>
<link><?= $rss_channel[link] ?></link>
<description><?= $rss_channel[description] ?></description>
<dc:date><?= $rss_channel[date] ?></dc:date>
<items>
 <rdf:Seq>
<?php
      foreach ($rss_items as $item) {
            echo "<rdf:li rdf:resource=\"$item[link]\" >\n";
      }
?>
 </rdf:Seq>
</items>
<?php
      foreach ($rss_items as $item) {
            echo "<item rdf:about=\"$item[link]\">\n";
            echo "<title>$item[title]</title>\n";
            echo "<link>$item[link]</link>\n";
            echo "<description>$item[description]</description>\n";
            echo "<dc:date>$item[date]</dc:date>\n";
            echo "</item>\n";
      }
?>
</channel>

Generated by  Doxygen 1.6.0   Back to index