summaryrefslogtreecommitdiff
path: root/django/utils/feedgenerator.py
AgeCommit message (Collapse)Author
2012-02-10Fixed #15237 (again). RSS feeds now include proper character encoding in the ↵Paul McMillan
mimetype. Thanks shadow for the report and Michal Rzechonek for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-11-18Added support for time zones. Thanks Luke Plant for the review. Fixed #2626.Aymeric Augustin
For more information on this project, see this thread: http://groups.google.com/group/django-developers/browse_thread/thread/cf0423bbb85b1bbf git-svn-id: http://code.djangoproject.com/svn/django/trunk@17106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-23Fixed #14202 -- made the atom:link element optional in feeds.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-09Switch to using explicit new-style division behavior, rather than relying on ↵Alex Gaynor
teh classic behavior. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-09Fixed #15237 -- Fixed a typo in specifying UTF-8 encoding in the feed ↵Jannis Leidel
generator and signing tests. Thanks, Aymeric Augustin. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-28Simplified django.utils.feedgenerator.get_tag_uri now that we don't require ↵Adrian Holovaty
Python 2.4 git-svn-id: http://code.djangoproject.com/svn/django/trunk@15930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12Fixed #15237 -- Always set charset of Atom1 feeds to UTF-8. Thanks, Simon ↵Jannis Leidel
and jasonkotenko. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-12Fixed #14132 -- Fixed feedgenerator to support years < 1900. Thanks, mk.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29Fixed #10447 -- Made sure the syndication feeds helper function that returns ↵Ramiro Morales
RFC 2822-formatted datetime strings isn't affected by the current locale, removing use of strftime() because the '%a' and '%b' format specifiers are problematic in this respect. Thanks bear330 for the report and lupus for an initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #11509 -- Modified usage of "Web" to match our style guide in various ↵Russell Keith-Magee
documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08Fixed #3469 -- added django.utils documentation for stable bitsBrian Rosner
Thanks to Rupe and Ramiro Morales for their initial work on this patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-14Fixed a couple Python 2.4 incompatibilities.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28Fixed #6188, #6304, #6618, #6969, #8758, #8989, #10334, #11069, #11973 and ↵Russell Keith-Magee
#12403 -- Modified the syndication framework to use class-based views. Thanks to Ben Firshman for his work on this patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-17Fixed #11066 -- Corrected 15 duplicate "the"s found in docs and code ↵Karen Tracey
comments. Thanks kaikuehne. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-15Fixed #8219 -- More robust date to string conversion in syndication feeds.Malcolm Tredinnick
(Sometimes) Affects people running in locales that use non-ASCII date strings. Patch from alperkanat. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-12Fixed #8253: fixed xmlns regression for Atom feeds, and in the process added ↵Jacob Kaplan-Moss
a hook for adding attributes specifically on the root <rss> element (for RSS feeds only, of course). Patch by Justin Bronn. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-11Added a number of callbacks to SyndicationFeed for adding custom attributes ↵Jacob Kaplan-Moss
and elements to feeds. Refs #6547. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-05Fixed #7016: use correct time zones for Atom feeds. Thanks, Chris Cahoon.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-02-03Fixed #6303 -- Handle missing language specification in feed generation. ↵Malcolm Tredinnick
Thanks, david. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20Fixed #3502 -- Added TTL support for RSS (not Atom) feeds. Patch fromMalcolm Tredinnick
jason.sidabras@gmail.com and Thomas Kerpe. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15Fixed #3036 -- Fixed some doctest strings that were failing. Thanks to pterk ↵Russell Keith-Magee
for the original patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14Fixed number #4076: django.utils.feedgenerator now corectly handles times ↵Jacob Kaplan-Moss
without timezones. Thanks, Alastair Tse. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10Fixed #3760 -- Added the ability to manually set feed- and item-level idMalcolm Tredinnick
elements in Atom feeds. This is fully backwards compatible. Based on a patch from spark343@cs.ubc.ca. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04Merged Unicode branch into trunk (r4952:5608). This should be fullyMalcolm Tredinnick
backwards compatible for all practical purposes. Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702 git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26Fixed #4323 -- Added the ability to display author names without emailMalcolm Tredinnick
addresses to RSS 2.0 feeds. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09Fixed #3958 -- Added lastBuildDate element to RSS feeds. Thanks,Malcolm Tredinnick
baptiste.goupil@gmail.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10Fixed #2762 -- added copyright element support to RSS and Atom feeds. PatchMalcolm Tredinnick
from Jonathan Buchanan. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19Fixed #1473 -- Added support for categories back into syndication feedsMalcolm Tredinnick
(was accidently removed in r1994). Thanks, k.shaposhnikov@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08Fixed #2109 -- Convert old-style classes to new-style classes throughout ↵Adrian Holovaty
Django. Thanks, Nicola Larosa git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-30Fixed #2021 -- Improved Atom feed by outputting rel=alternate. Thanks, Ned ↵Adrian Holovaty
Batchelder git-svn-id: http://code.djangoproject.com/svn/django/trunk@3004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly ↵Adrian Holovaty
backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Fixed #787 -- High-level syndication framework now picks up author details. ↵Adrian Holovaty
Also updated documentation. Thanks, mattycakes git-svn-id: http://code.djangoproject.com/svn/django/trunk@1228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Improved Atom feed-generating framework to output <link rel='self'>. Added a ↵Adrian Holovaty
feed_url hook to feedgenerator for this purpose, and changed the syndication Feed and views to use it. Also updated docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Fixed #784 -- Atom feeds now use RFC3339 datetime formatAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Fixed #786 -- Atom feeds now put links in a href element. Thanks, mattycakesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12Added mime_type attributes to feedgenerator RssFeed and Atom1Feed, and made ↵Adrian Holovaty
the syndication view use that mime_type. Thanks, James git-svn-id: http://code.djangoproject.com/svn/django/trunk@1201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12Completely refactored legacy RSS framework to the new ↵Adrian Holovaty
django.contrib.syndication package. Also added Atom support, changed the way feeds are registered and added documentation for the whole lot. This is backwards-incompatible, but the RSS framework had not yet been documented, so this should only affect tinkerers and WorldOnline. Fixes #329, #498, #502 and #554. Thanks for various patches/ideas to alastair, ismael, hugo, eric moritz and garthk git-svn-id: http://code.djangoproject.com/svn/django/trunk@1194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-14Fixed #502 -- Added 'categories' keyword argument to RSS framework. Thanks, ↵Adrian Holovaty
eugene git-svn-id: http://code.djangoproject.com/svn/django/trunk@641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-11Fixed #485 -- Typo in utils/feedgenerator.py. Thanks, eugene@lazutkin.comAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-26Removed Adrian's note in the docstring of django.utils.feedgenerator -- it's ↵Adrian Holovaty
part of Django now git-svn-id: http://code.djangoproject.com/svn/django/trunk@319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-13Imported Django from private SVN repository (created from r. 8825)Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37