From 3c2c5a06170ad879a11c56b724512d24d32bff42 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 3 Jun 2012 20:29:25 +0000 Subject: added improved RSS format for statusnet --- h-source/Application/Controllers/RssController.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'h-source/Application/Controllers') diff --git a/h-source/Application/Controllers/RssController.php b/h-source/Application/Controllers/RssController.php index 0d3325e..0a74695 100644 --- a/h-source/Application/Controllers/RssController.php +++ b/h-source/Application/Controllers/RssController.php @@ -35,10 +35,23 @@ class RssController extends SpecialController { header ("Content-Type:application/rss+xml"); parent::modifications($lang); + + $data['statusnetText'] = null; + $this->append($data); + $this->clean(); $this->load('modifications'); } + //RSS feeds for identi.ca or StatusNet + public function statusnet($lang = 'en') + { + $this->modifications($lang); + + $data['statusnetText'] = Website::$statusnetGroupText; + $this->append($data); + } + public function notapproved($lang = 'en') { $this->shift(1); -- cgit v1.2.3