You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
12 years ago
|
<?php echo '<?xml version="1.0" encoding="UTF-8" ?>'; ?>
|
||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||
|
<channel>
|
||
11 years ago
|
<title><?php echo $this->rss_title; ?></title>
|
||
11 years ago
|
<link><?php echo Minz_Url::display(null, 'html', true); ?></link>
|
||
10 years ago
|
<description><?php echo _t('rss_feeds_of', $this->rss_title); ?></description>
|
||
12 years ago
|
<pubDate><?php echo date('D, d M Y H:i:s O'); ?></pubDate>
|
||
|
<lastBuildDate><?php echo gmdate('D, d M Y H:i:s'); ?> GMT</lastBuildDate>
|
||
10 years ago
|
<atom:link href="<?php echo Minz_Url::display($this->url, 'html', true); ?>" rel="self" type="application/rss+xml" />
|
||
12 years ago
|
<?php
|
||
11 years ago
|
foreach ($this->entries as $item) {
|
||
12 years ago
|
?>
|
||
|
<item>
|
||
10 years ago
|
<title><?php echo $item->title(); ?></title>
|
||
|
<link><?php echo $item->link(); ?></link>
|
||
|
<?php $author = $item->author(); ?>
|
||
12 years ago
|
<?php if ($author != '') { ?>
|
||
|
<dc:creator><?php echo $author; ?></dc:creator>
|
||
|
<?php } ?>
|
||
|
<description><![CDATA[<?php
|
||
10 years ago
|
echo $item->content();
|
||
12 years ago
|
?>]]></description>
|
||
10 years ago
|
<pubDate><?php echo date('D, d M Y H:i:s O', $item->date(true)); ?></pubDate>
|
||
|
<guid isPermaLink="false"><?php echo $item->id(); ?></guid>
|
||
12 years ago
|
</item>
|
||
11 years ago
|
<?php } ?>
|
||
12 years ago
|
|
||
|
</channel>
|
||
|
</rss>
|