summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-09 22:09:57 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-09 22:09:57 +0100
commitd847adbe1710691d2360a591d17ba9350c97672a (patch)
tree241cbf8f1a3b1e570c67ef79cfb45c5fdb90a0e0
parenta1fa4a445ad6a8b12fe606764588b619edab8d8f (diff)
URLs absolues dans la vue RSS
Les URLs ne sont plus relatives Fix issue #253
-rwxr-xr-xapp/views/helpers/view/rss_view.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/helpers/view/rss_view.phtml b/app/views/helpers/view/rss_view.phtml
index 7459de0a1..7b97562bc 100755
--- a/app/views/helpers/view/rss_view.phtml
+++ b/app/views/helpers/view/rss_view.phtml
@@ -2,11 +2,11 @@
<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 $this->rss_title; ?></title>
- <link><?php echo Url::display(); ?></link>
+ <link><?php echo Url::display(null, 'html', true); ?></link>
<description><?php echo Translate::t ('rss_feeds_of', $this->rss_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" />
+ <atom:link href="<?php echo Url::display (array('params' => array('output' => 'rss')), 'html', true); ?>" rel="self" type="application/rss+xml" />
<?php
$items = $this->entryPaginator->items ();
foreach ($items as $item) {