Feed für zuletzt aktualisierte Seite
Mit folgendem Template und dem ContentDump Modul lässt sich ein Feed generieren mit welchem die zuletzt aktualisierten Seiten angezeigt werden:
Basierend auf diesem Thread:
http://forum.cmsmadesimple.org/index.php/topic,46641.msg222797.html#msg222797
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="http://www.domain.com/feed.html" rel="self" type="application/rss+xml" />
<title>Feed-Titel</title>
<link>http://www.domain.com/feed.html</link>
<description>Beschreibung</description>
<generator>CMS Made Simple</generator>
<webMaster>email(at)domain.com (Vorname Name)</webMaster>
{content_dump limit_count="10" first_sort="modified" first_sort_order="down" do_smarty="strip" dateformat="%a, %d %b %Y %T EST"}
{foreach from=$dump item=dump}
<item>
<title><![CDATA[{$dump->content->title}]]></title>
<link>http://www.domain.com/{$dump->content->alias}.html</link>
<description><![CDATA[{$dump->content->data}]]></description>
<pubDate>{$dump->modified->date}</pubDate>
<guid>http://www.domain.com/{$dump->content->alias}.html</guid>
</item>
{/foreach}