#6039: ATOM feed example is bogus ---------------------------------+------------------------------------------ Reporter: [EMAIL PROTECTED] | Owner: nobody Status: new | Component: Documentation Version: SVN | Keywords: Stage: Unreviewed | Has_patch: 0 ---------------------------------+------------------------------------------ The example code at the end of the syndication_feeds documentation page has a couple of problems that I discovered while trying to get the feed validator to accept my ATOM 1.0 feed:
The encoding "utf8" is invalid; it should be "utf-8". An author name must be specified, either for the feed itself or for each entry - the author_name parameter. The feed document must have a self link; this is set using the feed_url parameter when constructing the feed object. I'm attaching the example code, modified with the above suggestions. Note that I added a few line breaks in the output of the script, to prevent exceedingly long lines. -- Ticket URL: <http://code.djangoproject.com/ticket/6039> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" 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/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
