Blame view

framework/templates/RSSFeed.ss 734 Bytes
385d70ca   Administrator   Importers CRUD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  <?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" />
  		<description>$Description.XML</description>
  
  		<% loop $Entries %>
  		<item>
  			<title>$Title.XML</title>
  			<link>$AbsoluteLink</link>
  			<% if $Description %><description>$Description.AbsoluteLinks.XML</description><% end_if %>
  			<% if $Date %><pubDate>$Date.Rfc822</pubDate>
  			<% else %><pubDate>$Created.Rfc822</pubDate><% end_if %>
  			<% if $Author %><dc:creator>$Author.XML</dc:creator><% end_if %>
  			<guid>$AbsoluteLink</guid>
  		</item>
  		<% end_loop %>
  	</channel>
  </rss>