ccHost plugin: RSS feeds reader
Developing MusicaLliure.net I created a plugin to get and show RSS feeds.
It’s PHP5, it works with ccHost 4.5 or 5. Not tested in previous versions.
License GPL 2 or later.
Download ccHost plugin: RSS feeds reader
You shall place this extra in cchost_files/lib. In viewfile/*.xml you may include these lines:
<tal:block define=”news
php:getRSS(‘http://www.musicalliure.net/bloc/feed/‘, 2)” />
<ul class=”home_news”>
<li tal:repeat=”item news”><h4><a href=”${item/link}”>${item/title}</a></h4> ${item/pubDate}<br
/>${item/description}</li>
</ul>
<li tal:repeat=”item news”><h4><a href=”${item/link}”>${item/title}</a></h4> ${item/pubDate}<br
/>${item/description}</li>
</ul>