]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fancy url for replies rss
authorEvan Prodromou <evan@prodromou.name>
Mon, 7 Jul 2008 07:30:25 +0000 (03:30 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 7 Jul 2008 07:30:25 +0000 (03:30 -0400)
darcs-hash:20080707073025-84dde-724deaf0db1c40a95296b53b895a60a04ff7f957.gz

htaccess.sample
lib/util.php

index 1cf21ec4c675175ebe94201f7e44ef7df33dd15f..35c0ef7e312b8fc5c38ef4a28ca2fdeb4698e1f5 100644 (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+)/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]
index 1cb24be04ee7fbe3733a5eeb0b8d4d4c748af067..3301c023366563c210504f1c4430bd125372524e 100644 (file)
@@ -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':