Syndication
===========
Syndicate faceted navigable results. To enable syndication you can check eea
buildout configuration (http://svn.eionet.europa.eu/repositories/Zope/trunk/eea-buildout).

Imports
-------

    >>> from zope.component import getMultiAdapter

Set up
------

    >>> portal = layer["portal"]
    >>> request = layer['request']
    >>> sandbox = portal['sandbox']
    >>> sandbox.setLanguage('en')

    >>> from Products.CMFPlone.interfaces.syndication import IFeedSettings
    >>> syndication = IFeedSettings(sandbox, None)
    >>> if syndication:
    ...     syndication.enabled = True
    >>> from zope.component import getMultiAdapter
    >>> subtyper = getMultiAdapter((sandbox, request), name=u'faceted_subtyper')
    >>> subtyper.enable()

RSS2
----

    >>> rss = sandbox.unrestrictedTraverse('rss.xml', None)
    >>> if rss:
    ...     res = rss()
    ... else:
    ...     res = u'<?xml version="1.0"?>\n<rss version="2.0">\n</rss>\n'
    >>> res
    '<?xml version="1.0"?>...<rss...version="2.0"...</rss>...'
