diff --git a/htaccess.sample b/htaccess.sample index 1cf21ec4c6..35c0ef7e31 100644 --- a/htaccess.sample +++ b/htaccess.sample @@ -46,5 +46,6 @@ RewriteRule ^(\w+)/all$ index.php?action=all&nickname=$1 [L,QSA] RewriteRule ^(\w+)/all/rss$ index.php?action=allrss&nickname=$1 [L,QSA] RewriteRule ^(\w+)/foaf$ index.php?action=foaf&nickname=$1 [L,QSA] RewriteRule ^(\w+)/replies$ index.php?action=replies&nickname=$1 [L,QSA] +RewriteRule ^(\w+)/replies/rss$ index.php?action=repliesrss&nickname=$1 [L,QSA] RewriteRule ^(\w+)$ index.php?action=showstream&nickname=$1 [L,QSA] diff --git a/lib/util.php b/lib/util.php index 1cb24be04e..3301c02336 100644 --- a/lib/util.php +++ b/lib/util.php @@ -721,6 +721,8 @@ function common_fancy_url($action, $args=NULL) { } case 'allrss': return common_path($args['nickname'].'/all/rss'); + case 'repliesrss': + return common_path($args['nickname'].'/replies/rss'); case 'userrss': return common_path($args['nickname'].'/rss'); case 'showstream':