mirror of
https://github.com/silverstripe/silverstripe-versionfeed
synced 2024-10-22 11:05:31 +02:00
2d035a6e94
Added templates from CWP template to make the module useful standalone outside of CWP.
26 lines
656 B
Scheme
26 lines
656 B
Scheme
<?xml version="1.0"?>
|
|
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
<channel>
|
|
<title>$Title</title>
|
|
<link>$Link</link>
|
|
<atom:link href="$Link" rel="self" type="application/rss+xml"></atom:link>
|
|
|
|
<% loop Entries %>
|
|
<item>
|
|
<title>$Title.XML</title>
|
|
<link>$GeneratedLink</link>
|
|
<description>
|
|
<% if DiffTitle %>
|
|
$DiffTitle.XML
|
|
<% end_if %>
|
|
<% if DiffContent %>
|
|
$DiffContent.AbsoluteLinks.XML
|
|
<% end_if %>
|
|
</description>
|
|
<pubDate>$LastEdited.Rfc822</pubDate>
|
|
<guid>$GeneratedLink</guid>
|
|
</item>
|
|
<% end_loop %>
|
|
</channel>
|
|
</rss>
|