products/CPSRSS

view skins/getRSSItems.py @ 290:ae269cbbed26

hgbundler init new CHANGES file
author Georges Racinet on purity.racinet.fr <georges@racinet.fr>
date Wed, 23 Nov 2011 19:59:09 +0100
parents 56a93ccb2b27
children
line source
1 ##parameters=**kw
2 """This script is deprecated in favor of direct call to a view.
3 """
5 portal = context.portal_url.getPortalObject()
6 view = portal.restrictedTraverse('@@channels_restricted')
7 return view.rssItems(cont_id='portal_rss', **kw)