products/CPSRSS

view skins/getRSSItems.py @ 284:0f9245734ba1

hgbundler made release tag
author Georges Racinet on purity.racinet.fr <georges@racinet.fr>
date Wed, 28 Sep 2011 20:54:53 +0200
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)