mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
rss topic id's were missing from the rss link in the head.
This commit is contained in:
parent
cdedbccc6e
commit
5d61fee453
@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/e_meta.php,v $
|
||||
| $Revision: 1.1.1.1 $
|
||||
| $Date: 2006-12-02 04:35:41 $
|
||||
| $Author: mcfly_e107 $
|
||||
| $Revision: 1.2 $
|
||||
| $Date: 2006-12-22 12:53:47 $
|
||||
| $Author: e107coders $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
@ -27,6 +27,7 @@ if(isset($pref['rss_feeds']) && $pref['rss_feeds'])
|
||||
//wildcard topic_id's should not be listed
|
||||
if(strpos($row['rss_url'], "*")===FALSE){
|
||||
$url = SITEURL.$PLUGINS_DIRECTORY."rss_menu/rss.php?".$tp->toHTML($row['rss_url'], TRUE, 'constants, no_hook, emotes_off').".2";
|
||||
$url .= ($row['rss_topicid']) ? ".".$row['rss_topicid'] : "";
|
||||
$name = $tp->toHTML($row['rss_name'], TRUE, 'no_hook, emotes_off');
|
||||
echo "<link rel='alternate' type='application/rss+xml' title='".htmlspecialchars(SITENAME, ENT_QUOTES, CHARSET)." ".htmlspecialchars($name, ENT_QUOTES, CHARSET)."' href='".$url."' />\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user