<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:wfw="http://wellformedweb.org/CommentAPI/"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:atom="http://www.w3.org/2005/Atom"
     xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
     xmlns:slash="http://purl.org/rss/1.0/modules/slash/">

<channel>
  <title>{{ Site.name }}: {{ Channel.name }}</title>
    <category><![CDATA[{{ Channel.name }}]]></category>
    <link>http://{{ Site.host }}{{ Site.url(channel=Channel.name) }}</link>
    <atom:link href="http://{{ Site.host }}{{ Site.url(channel=Channel.name, view=View.name) }}" rel="self" type="application/rss+xml" />
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <description>{{ Channel.description }}</description>
    <language>{{ Channel.language }}</language>
    <lastBuildDate>{{ Time.asRFC2822(Channel.lastUpdate) }}</lastBuildDate>
    <generator>{{ Script.engine }}</generator>
    <copyright>{{ Channel.footer }}</copyright>
    <image>
      <url>http://{{Site.host }}{{ Channel.icon }}</url>
      <title>{{ Channel.name }}</title>
      <link>http://{{ Site.host }}{{ Site.url(channel=Channel.name) }}</link>
    </image>
  {% for Post in Content %}
    <item>
      <title>{{ Post.title }}</title>
      <link>http://{{ Site.host }}{{ Site.url(channel=Channel.name, view='single', id=Post.id).replace('&', '&amp;') }}</link>
      <guid isPermaLink="false">tag:{{ Site.host }}!{{ Channel.id }}${{ Post.id }}</guid>
      <pubDate>{{ Time.asRFC2822(Post.published) }}</pubDate>
      <description><![CDATA[{{ Post.description }}[...]]]></description>
    </item>
  {% else %}
    <item>
      <title>This feed is empty</title>
      <link>http://{{ Site.host }}{{ Site.url(channel=Channel.name) }}</link>
      <guid isPermaLink="false">tag:{{ Site.host}}!{{ Channel.id}}$0</guid>
      <pubDate>{{ Time.asRFC2822() }}</pubDate>
      <description><![CDATA[We apologize, but there is nothing for this feed to display.  
        If you feel that you have receieved this message in error,
        please contact the site administrator.]]></description>
    </item>                 
  {% endfor %}
</channel>
</rss>

