[Xfce4-commits] <www:nick/gettext> Fix feed.
Nick Schermer
noreply at xfce.org
Tue Mar 22 20:12:01 CET 2011
Updating branch refs/heads/nick/gettext
to ac7251f75c2d021026bd382988a53d76c1e6aa8b (commit)
from 0accd63df972e619432b62c07c28a8070784ad59 (commit)
commit ac7251f75c2d021026bd382988a53d76c1e6aa8b
Author: Nick Schermer <nick at xfce.org>
Date: Tue Mar 22 20:11:03 2011 +0100
Fix feed.
pages/feed.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pages/feed.php b/pages/feed.php
index 012bfe1..5ff617e 100644
--- a/pages/feed.php
+++ b/pages/feed.php
@@ -45,10 +45,10 @@ foreach ($news as $item)
echo '<item>'.
'<title>'.$item['title'].'</title>'.
- '<description><![CDATA['. fixup ($item['paragraph'][0]) .']]></description>'.
+ '<description><![CDATA['. fixup ($item['paragraphs'][0]) .']]></description>'.
'<content:encoded><![CDATA[';
- foreach ($item['paragraph'] as $p)
+ foreach ($item['paragraphs'] as $p)
echo '<p>'.fixup ($p).'</p>';
echo ']]></content:encoded>'.
More information about the Xfce4-commits
mailing list