summaryrefslogtreecommitdiff
path: root/actions/public.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/public.php')
-rw-r--r--actions/public.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/actions/public.php b/actions/public.php
index c8a0eaa63..dc15a3a5e 100644
--- a/actions/public.php
+++ b/actions/public.php
@@ -28,7 +28,7 @@ class PublicAction extends StreamAction {
$page = $this->arg('page') || 1;
- common_show_header(_t('Public timeline'));
+ common_show_header(_t('Public timeline'), array($this, 'show_header'));
# XXX: Public sidebar here?
@@ -37,6 +37,13 @@ class PublicAction extends StreamAction {
common_show_footer();
}
+ function show_header() {
+ common_element('link', array('rel' => 'alternate',
+ 'href' => common_local_url('publicrss'),
+ 'type' => 'application/rss+xml',
+ 'title' => _t('Public Stream Feed')));
+ }
+
function show_notices($page) {
$notice = DB_DataObject::factory('notice');