+if (!defined('LACONICA')) {
+ exit(1);
+}
+
+require_once INSTALLDIR.'/lib/rssaction.php';
+
+/**
+ * RSS feed for notice search action class.
+ *
+ * Formatting of RSS handled by Rss10Action
+ *
+ * @category Action
+ * @package Laconica
+ * @author Evan Prodromou <evan@controlyourself.ca>
+ * @author Robin Millette <millette@controlyourself.ca>
+ * @license http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
+ * @link http://laconi.ca/
+ */
+class NoticesearchrssAction extends Rss10Action
+{
+
+ function init()
+ {
+ return true;
+ }
+
+ function getNotices($limit=0)
+ {
+
+ $q = $this->trimmed('q');
+ $notices = array();
+
+ $notice = new Notice();