Page 1 of 1

[RSS][/RSS] sets links to rss.php in 1.2.7

Posted: Wed 19. Jul 2006, 09:51
by ramchester
So making a [RSS]rss-feed[/RSS] results in a link to rss.php and not the new feeds.php introduced in 1.2.7. A bug, i think. I couldn't post to Sourceforge for some reason...

Posted: Wed 19. Jul 2006, 12:44
by DeXXus
YEP! there are still calls to "rss.php":

"index.php"
type="application/rss+xml" title="RSS" href="'.PHPWCMS_URL.'rss.php">'."\n";
"include/inc_fron/front.func.inc.php"
// RSS feed link based on structure (category) ID
$search[12] = '/\[RSS (\d+)\](.*?)\[\/RSS\]/';
$replace[12] = '<a href="rss.php?rssfeed=$1" target="_blank">$2</a>';

// RSS feed link based on structure (category) ALIAS
$search[13] = '/\[RSS (\w+)\](.*?)\[\/RSS\]/';
$replace[13] = '<a href="rss.php?$1" target="_blank">$2</a>';