fancy url for replies rss

darcs-hash:20080707073025-84dde-724deaf0db1c40a95296b53b895a60a04ff7f957.gz
This commit is contained in:
Evan Prodromou 2008-07-07 03:30:25 -04:00
parent 33f0d97cf6
commit 834df790ce
2 changed files with 3 additions and 0 deletions

View File

@ -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+)/all/rss$ index.php?action=allrss&nickname=$1 [L,QSA]
RewriteRule ^(\w+)/foaf$ index.php?action=foaf&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$ 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] RewriteRule ^(\w+)$ index.php?action=showstream&nickname=$1 [L,QSA]

View File

@ -721,6 +721,8 @@ function common_fancy_url($action, $args=NULL) {
} }
case 'allrss': case 'allrss':
return common_path($args['nickname'].'/all/rss'); return common_path($args['nickname'].'/all/rss');
case 'repliesrss':
return common_path($args['nickname'].'/replies/rss');
case 'userrss': case 'userrss':
return common_path($args['nickname'].'/rss'); return common_path($args['nickname'].'/rss');
case 'showstream': case 'showstream':