I originally wrote this as a feature request at the kunena forum:
So, here is a hack that helps you replace your kunena rss with the equivelant feedburner.
1) You need first to get your kunena rss, and burn it to a feedburner feed and get the url.
2) You do 2 code changes.
1st code change:
file components/com_kunena/kunena.php around line 936, where it now says
$mainframe->addCustomHeadTag('<link rel="alternate" type="application/rss+xml" title="'._LISTCAT_RSS.'" href="'.sefRelToAbs(KUNENA_LIVEURLREL.'&func=fb_rss&no_html=1').'" />');
change to
$mainframe->addCustomHeadTag('<link rel="alternate" type="application/rss+xml" title="'._LISTCAT_RSS.'" href="http://feeds2.feedburner.com/mysite/rsslink" />');
2nd code change:
file components/com_kunena/lib/kunena.class.link.php, around line 60, where it now says
return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL.'&func=fb_rss&no_html=1', $name, '', $rel, '', '', 'target="_blank"');
change to
return '<a href="http://feeds2.feedburner.com/mysite/rsslink">' . $name . '</a>';
Note, this does not take care of your existing subscribers (who will continue using the old urls), but everyone new will be using the feedburner from now on.
There is also an additional trick that can take care of your preexisting subscribers, but I will do a seperate post for that.
(using kunena version 1.0.10)
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment