> Can you post example code?

Sure. Below is an xml template that generates the blog feed.
updated_feed and updated_entry are custom filters that return the date
in the right format.

{% load filters %}{% autoescape off %}<?xml version="1.0"
encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom";>
    <title type="text">Muspy - Blog</title>
    <link href="{{ url }}" rel="self" type="application/atom+xml" />
    <link href="{{ root }}" rel="alternate" type="text/html" />
    <id>{{ url }}</id>
    <updated>{{ posts|updated_feed }}</updated>
    <author><name>Muspy</name></author>
    <icon>{{ root }}favicon.ico</icon>
    <logo>{{ root }}static/logo.gif</logo>
    {% for post in posts %}
    <entry>
        <title type="text"><![CDATA[{{ post.title }}]]></title>
        <link href="{{ root }}{{ post.slug }}"/>
        <id>{{ root }}{{ post.slug }}</id>
        <updated>{{ post|updated_entry }}</updated>
        <content type="xhtml">
            <div xmlns="http://www.w3.org/1999/xhtml";>
{% autoescape on %}{% include post.template_name %}{% endautoescape %}
            </div>
        </content>
    </entry>
    {% endfor %}
</feed>{% endautoescape %}


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to