aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-06-03 20:29:25 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-06-03 20:29:25 +0000
commit3c2c5a06170ad879a11c56b724512d24d32bff42 (patch)
tree542f6ab6cede5e01bfeadbf3f37b721ad7e7a1a5 /h-source/Application/Controllers
parent1f7f75d7eae32bfb1174140b7d405b9c822f60f2 (diff)
added improved RSS format for statusnet
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r--h-source/Application/Controllers/RssController.php13
1 files changed, 13 insertions, 0 deletions
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);