summaryrefslogtreecommitdiff
path: root/app/views/helpers/rss.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-07-04 19:38:29 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-07-04 19:38:29 +0200
commiteb5f05304c253df90873b94ba52d7093115f3850 (patch)
tree1152ab618aa5cf884a1f2f2e2d1926da4167a6be /app/views/helpers/rss.phtml
parent8dd5fd51f74a47e5c80052f27a74cdcd5dd044b9 (diff)
parentb5f233f6d524ca9f74e9d33bf5692a1a678d7fec (diff)
Merge branch 'dev'0.4.0
Diffstat (limited to 'app/views/helpers/rss.phtml')
-rwxr-xr-xapp/views/helpers/rss.phtml30
1 files changed, 0 insertions, 30 deletions
diff --git a/app/views/helpers/rss.phtml b/app/views/helpers/rss.phtml
deleted file mode 100755
index 83de6de2e..000000000
--- a/app/views/helpers/rss.phtml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?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>
- <title><?php echo View::title(); ?></title>
- <link><?php echo Url::display(); ?></link>
- <description><?php echo Translate::t ('rss_feeds_of', View::title()); ?></description>
- <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>
- <atom:link href="<?php echo _url ('index', 'index', 'output', 'rss'); ?>" rel="self" type="application/rss+xml" />
-<?php
-$items = $this->entryPaginator->items ();
-foreach ($items as $item) {
-?>
- <item>
- <title><?php echo htmlspecialchars(html_entity_decode($item->title ())); ?></title>
- <link><?php echo $item->link (); ?></link>
- <?php $author = $item->author (); ?>
- <?php if ($author != '') { ?>
- <dc:creator><?php echo $author; ?></dc:creator>
- <?php } ?>
- <description><![CDATA[<?php
- echo $item->content ();
-?>]]></description>
- <pubDate><?php echo date('D, d M Y H:i:s O', $item->date (true)); ?></pubDate>
- <guid isPermaLink="false"><?php echo $item->id (); ?></guid>
- </item>
-<?php } ?>
-
- </channel>
-</rss>