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

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
ramchester
Posts: 19
Joined: Fri 11. Jun 2004, 11:10

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

Post 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...
[Ramchester]
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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>';
Locked