summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorcsarven <csarven@controlyourself.ca>2008-12-05 17:14:02 -0500
committercsarven <csarven@controlyourself.ca>2008-12-05 17:14:02 -0500
commit33a054ccc03eba0caff95c04ddf99d0ac6b7ac19 (patch)
treeb0f7aa862f7a22a46afda67bfd7c8143037caf02 /actions
parent7def4d227f655202176cb913a87127704a058a14 (diff)
trac855 trac856 and Feed list for the Favorited page
darcs-hash:20081205221402-eefa4-9c765fe3c7a6e0cf9cdee1749ed2bebb24d3deaf.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/favorited.php7
-rw-r--r--actions/public.php12
-rw-r--r--actions/tag.php7
3 files changed, 23 insertions, 3 deletions
diff --git a/actions/favorited.php b/actions/favorited.php
index 78749a3ab..035e2f953 100644
--- a/actions/favorited.php
+++ b/actions/favorited.php
@@ -44,6 +44,11 @@ class FavoritedAction extends StreamAction {
common_raw($output);
common_element_end('div');
$this->public_views_menu();
+
+ $this->show_feeds_list(array(0=>array('href'=>common_local_url('favoritedrss'),
+ 'type' => 'rss',
+ 'version' => 'RSS 1.0',
+ 'item' => 'favoritedrss')));
}
function show_header() {
@@ -108,4 +113,4 @@ class FavoritedAction extends StreamAction {
common_pagination($page > 1, $cnt > NOTICES_PER_PAGE,
$page, 'favorited');
}
-} \ No newline at end of file
+}
diff --git a/actions/public.php b/actions/public.php
index 753b9d07f..8a41dcd56 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -53,6 +53,16 @@ class PublicAction extends StreamAction {
}
$this->public_views_menu();
+
+
+ $this->show_feeds_list(array(0=>array('href'=>common_local_url('publicrss'),
+ 'type' => 'rss',
+ 'version' => 'RSS 1.0',
+ 'item' => 'publicrss'),
+ 1=>array('href'=>common_local_url('publicatom'),
+ 'type' => 'atom',
+ 'version' => 'Atom 1.0',
+ 'item' => 'publicatom')));
}
function get_instructions() {
@@ -92,4 +102,4 @@ class PublicAction extends StreamAction {
common_pagination($page > 1, $cnt > NOTICES_PER_PAGE,
$page, 'public');
}
-} \ No newline at end of file
+}
diff --git a/actions/tag.php b/actions/tag.php
index 034072a6b..50b76dbcd 100644
--- a/actions/tag.php
+++ b/actions/tag.php
@@ -35,7 +35,6 @@ class TagAction extends StreamAction {
common_show_header(sprintf(_("Notices tagged with %s"), $tag),
array($this, 'show_header'), $tag,
array($this, 'show_top'));
-
$this->show_notices($tag);
} else {
common_show_header(_("Tags"),
@@ -69,6 +68,12 @@ class TagAction extends StreamAction {
common_element_end('div');
$this->public_views_menu();
}
+ else {
+ $this->show_feeds_list(array(0=>array('href'=>common_local_url('tagrss'),
+ 'type' => 'rss',
+ 'version' => 'RSS 1.0',
+ 'item' => 'tagrss')));
+ }
}
function show_tags()