summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rssaction.php32
1 files changed, 17 insertions, 15 deletions
diff --git a/lib/rssaction.php b/lib/rssaction.php
index 2c532912b..9d7c58064 100644
--- a/lib/rssaction.php
+++ b/lib/rssaction.php
@@ -35,10 +35,10 @@ define('DEFAULT_RSS_LIMIT', 48);
class Rss10Action extends Action
{
# This will contain the details of each feed item's author and be used to generate SIOC data.
-
+
var $creators = array();
var $limit = DEFAULT_RSS_LIMIT;
-
+
/**
* Constructor
*
@@ -57,10 +57,10 @@ class Rss10Action extends Action
/**
* Do we need to write to the database?
- *
+ *
* @return boolean true
*/
-
+
function isReadonly()
{
return true;
@@ -68,11 +68,11 @@ class Rss10Action extends Action
/**
* Read arguments and initialize members
- *
+ *
* @param array $args Arguments from $_REQUEST
* @return boolean success
*/
-
+
function prepare($args)
{
$this->limit = (int) $this->trimmed('limit');
@@ -81,15 +81,15 @@ class Rss10Action extends Action
}
return true;
}
-
+
/**
* Handle a request
- *
+ *
* @param array $args Arguments from $_REQUEST
- *
+ *
* @return void
*/
-
+
function handle($args)
{
parent::handle($args);
@@ -98,10 +98,10 @@ class Rss10Action extends Action
/**
* Get the notices to output in this stream
- *
+ *
* @return array an array of Notice objects sorted in reverse chron
*/
-
+
function getNotices()
{
return array();
@@ -109,9 +109,11 @@ class Rss10Action extends Action
/**
* Get a description of the channel
- *
- * Returns an array with the following
- * @return array
+ *
+ * Returns an array with the following
+ * @return array
+ */
+
function get_channel()
{
return array('url' => '',