3
This is a reference post. I like the RSSFit module a lot and I think it should be added to the core (just like 'what's new', 'sitemap' and other cross-module modules
).
Anyway, RSSFit still works under XOOPS 2.0.18.1. You have to change one word to fix the news webfeed.
In plugins/rssfit.news.php at line 66, change
$news = NewsStory::getAllPublished($this->grab, 0, getmoduleoption('restrictindex'));
to
$news = NewsStory::getAllPublished($this->grab, 0, news_getmoduleoption('restrictindex'));
All done I guess
Credit to poster Jeffou on Brandycoke board.Edit: You can also edit the rssfit_rss.html template to make your feeds 100% RSS standards valid:
Change
<rss version="2.0">
to
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
and add
<atom:link href="<{$xoops_url}><{$smarty.server.REQUEST_URI}>" rel="self" type="application/rss+xml" />
between these two:
<{/foreach}>
...
<{if $feed.image != ''}>
Edit 2: Better change the image link in the same file too. Delete the slash just before :
<link><{$feed.image.link}>link>