rss_feed.rhtml

Path: app/views/wiki/rss_feed.rhtml
Last Update: Sun Apr 25 02:53:45 GMT+2:00 2004

<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:dc="purl.org/dc/elements/1.1/">

        <channel>
                <title><%= @web.name %></title>
                <link><%= "#{@web_url}/show/HomePage" %></link>
                <description>An Instiki wiki</description>
                <language>en-us</language>
                <ttl>40</ttl>
  <% for page in @pages_by_revision %>
                <item>
      <title><%= page.plain_name %></title>
    <% unless @hide_description %>
      <description><%= CGI.escapeHTML(page.display_content) %></description>
    <% end %>
      <pubDate><%= page.created_at.strftime "%a, %e %b %Y %H:%M:%S %Z" %></pubDate>
      <guid><%= "#{@web_url}/show/#{page.name}" %></guid>
      <link><%= "#{@web_url}/show/#{page.name}" %></link>
      <dc:creator><%= WikiWords.separate(page.author) %></dc:creator>
    </item>
  <% end %>
  </channel>

</rss>

[Validate]