diff options
author | csarven <csarven@controlyourself.ca> | 2008-11-14 16:05:06 -0500 |
---|---|---|
committer | csarven <csarven@controlyourself.ca> | 2008-11-14 16:05:06 -0500 |
commit | 67f3c1a8d40d6e05ea2fa72af917b26fb9503e06 (patch) | |
tree | 357376fc9d907003334bb62e045e5f623e408386 /actions/showstream.php | |
parent | 577b54c2afda7c817d01af493b68f09f35e360a1 (diff) |
trac626 Put a list of feed links
darcs-hash:20081114210506-eefa4-ba7e9bdd794ddfcacc397d732073abf99e97f3a5.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r-- | actions/showstream.php | 17 |
1 files changed, 17 insertions, 0 deletions
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', |