mirror of
https://github.com/e107inc/e107.git
synced 2025-08-10 16:46:50 +02:00
RSS Menu Lans to Generic Terms #6
Replace duplicates with common terms in RSS Plugin
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* e107 Bootstrap CMS
|
||||
*
|
||||
* Copyright (C) 2008-2014 e107 Inc (e107.org)
|
||||
* Copyright (C) 2008-2016 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
|
||||
@@ -19,21 +19,21 @@ class rss_menu_url // plugin-folder + '_url'
|
||||
$config = array();
|
||||
|
||||
$config['rss'] = array(
|
||||
'alias' => 'feed',
|
||||
'alias' => 'feed',
|
||||
'regex' => '^{alias}/(.*)/rss/?([\d]*)?$',
|
||||
'sef' => '{alias}/{rss_url}/rss/{rss_topicid}',
|
||||
'redirect' => '{e_PLUGIN}rss_menu/rss.php?cat=$1&type=2&topic=$2'
|
||||
);
|
||||
|
||||
$config['atom'] = array(
|
||||
'alias' => 'feed',
|
||||
'alias' => 'feed',
|
||||
'regex' => '^{alias}/(.*)/atom/?([\d]*)?$',
|
||||
'sef' => '{alias}/{rss_url}/atom/{rss_topicid}',
|
||||
'redirect' => '{e_PLUGIN}rss_menu/rss.php?cat=$1&type=4&topic=$2'
|
||||
);
|
||||
|
||||
$config['index'] = array(
|
||||
'alias' => 'feed',
|
||||
'alias' => 'feed',
|
||||
'regex' => '^{alias}/?$',
|
||||
'sef' => '{alias}',
|
||||
'redirect' => '{e_PLUGIN}rss_menu/rss.php',
|
||||
|
Reference in New Issue
Block a user