Permalink
Browse files

Explicit category feed.

  • Loading branch information...
1 parent e64043a commit 5cb9590cf0f3b1676dda64b3b9cfeb6745251867 @mjpieters committed Mar 24, 2012
Showing with 28 additions and 0 deletions.
  1. +28 −0 feeds/plone.xml
View
@@ -0,0 +1,28 @@
+---
+layout: nil
+title : Atom Feed - Plone
+---
+<?xml version="1.0" encoding="utf-8"?>
+<feed xmlns="http://www.w3.org/2005/Atom">
+
+ <title>{{ site.title }}</title>
+ <link href="{{ site.production_url }}/plone.xml" rel="self"/>
+ <link href="{{ site.production_url }}/categories.html#plone-ref"/>
+ <updated>{{ site.time | date_to_xmlschema }}</updated>
+ <id>{{ site.production_url }}</id>
+ <author>
+ <name>{{ site.author.name }}</name>
+ <email>{{ site.author.email }}</email>
+ </author>
+
+ {% for post in site.categories.plone %}
+ <entry>
+ <title>{{ post.title }}</title>
+ <link href="{{ site.production_url }}{{ post.url }}"/>
+ <updated>{{ post.date | date_to_xmlschema }}</updated>
+ <id>h{{ site.production_url }}{{ post.id }}</id>
+ <content type="html">{{ post.content | xml_escape }}</content>
+ </entry>
+ {% endfor %}
+
+</feed>

0 comments on commit 5cb9590

Please sign in to comment.