On 1/25/06, danylo <[EMAIL PROTECTED]> wrote:
> This is what I'm getting:
>
> <item>
> <title><Writerfeed object></title>
> <link>http://www.foo.bar</link>
> <description><Writerfeed object></description>
> <guid>http://www.foo.bar</guid>
> </item>

Hey Dan,

You need to create templates for the title and description. If your
feed's slug is foo, these templates should be called
"feeds/foo_title.html" and "feeds/foo_description.html". In those
templates, you describe how to construct the contents of the <title>
and <description>. The templates are passed a variable "obj", which,
in your case, is the WriterFeed object for the current item.

Here's the relevant part of the docs:

http://www.djangoproject.com/documentation/syndication/#a-simple-example

Check out the part that begins: "To specify the contents of <title>
and <description>..."

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to