<commit_before>==============================
The syndication feed framework
==============================

.. module:: django.contrib.syndication
   :synopsis: A framework for generating syndication feeds, in RSS and Atom,
              quite easily.

Django comes with a high-level syndication-feed-generating framework
that makes creating RSS_ and Atom_ feeds easy.

To create any syndication feed, all you have to do is write a short
Python class. You can create as many feeds as you want.

Django also comes with a lower-level feed-generating API. Use this if
you want to generate feeds outside of a Web context, or in some other
lower-level way.

.. _RSS: http://www.whatisrss.com/
.. _Atom: http://www.atomenabled.org/

The high-level framework
========================

.. versionchanged:: 1.2
   The high-level feeds framework was refactored in Django 1.2. The
   pre-1.2 interface still exists, but it has been deprecated, and
   will be removed in Django 1.4. If you need to maintain an old-style
   Django feed, please consult the Django 1.1 documentation. For
   details on updating to use the new high-level feed framework, see
   the :ref:`Django 1.2 release notes <1.2-updating-feeds>`.<commit_msg>Fixed #18009 -- Cleaned up a comment about removal of the old contrib.syndication Feed class. Thanks <NAME> for the report.<commit_after>==============================
The syndication feed framework
==============================

.. module:: django.contrib.syndication
   :synopsis: A framework for generating syndication feeds, in RSS and Atom,
              quite easily.

Django comes with a high-level syndication-feed-generating framework
that makes creating RSS_ and Atom_ feeds easy.

To create any syndication feed, all you have to do is write a short
Python class. You can create as many feeds as you want.

Django also comes with a lower-level feed-generating API. Use this if
you want to generate feeds outside of a Web context, or in some other
lower-level way.

.. _RSS: http://www.whatisrss.com/
.. _Atom: http://www.atomenabled.org/

The high-level framework
========================

.. versionchanged:: 1.2
   The high-level feeds framework was refactored in Django 1.2. The
   pre-1.2 interface has been removed in Django 1.4.
{'fraction_non_alphanumeric': 0.13761061946902656, 'fraction_numerical': 0.011946902654867256, 'mean_word_length': 3.841541755888651, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3288321', 'n_tokens_mistral': 645, 'n_tokens_neox': 599, 'n_words': 286}