From 67f3c1a8d40d6e05ea2fa72af917b26fb9503e06 Mon Sep 17 00:00:00 2001 From: csarven Date: Fri, 14 Nov 2008 16:05:06 -0500 Subject: trac626 Put a list of feed links darcs-hash:20081114210506-eefa4-ba7e9bdd794ddfcacc397d732073abf99e97f3a5.gz --- actions/showstream.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'actions/showstream.php') diff --git a/actions/showstream.php b/actions/showstream.php index 16bffa4ea..9db31c108 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -72,8 +72,25 @@ class ShowstreamAction extends StreamAction { } $this->views_menu(); + + $this->show_feeds_list(array(0=>array('href'=>common_local_url('userrss', array('nickname' => $user->nickname)), + 'type' => 'rss', + 'version' => 'RSS 1.0', + 'item' => 'notices'), + 1=>array('href'=>common_local_url('usertimeline', array('nickname' => $user->nickname)), + 'type' => 'atom', + 'version' => 'Atom 1.0', + 'item' => 'usertimeline'), + + 2=>array('href'=>common_local_url('foaf',array('nickname' => $user->nickname)), + 'type' => 'rdf', + 'version' => 'FOAF', + 'item' => 'foaf'))); } + + + function show_header($user) { # Feeds common_element('link', array('rel' => 'alternate', -- cgit v1.2.3-54-g00ecf