$this->public_views_menu();
}
else {
- $this->show_feeds_list(array(0=>array('href'=>common_local_url('tagrss'),
+ $this->show_feeds_list(array(0=>array('href'=>common_local_url('tagrss', array('tag' => $tag)),
'type' => 'rss',
'version' => 'RSS 1.0',
'item' => 'tagrss')));
$path = 'tags';
}
return common_path($path . (($args) ? ('?' . http_build_query($args)) : ''));
+ case 'tagrss':
+ $path = 'tag/' . $args['tag'] . '/rss';
+ unset($args['tag']);
+ return common_path($path . (($args) ? ('?' . http_build_query($args)) : ''));
case 'peopletag':
$path = 'peopletag/' . $args['tag'];
unset($args['tag']);
CURLOPT_USERAGENT => "Laconica",
CURLOPT_CONNECTTIMEOUT => 120, // XXX: Scary!!!! How long should this be?
CURLOPT_TIMEOUT => 120,
-
+
# Twitter is strict about accepting invalid "Expect" headers
CURLOPT_HTTPHEADER => array('Expect:')
);