Back to index

plone3  3.1.7
editSynProperties.py
Go to the documentation of this file.
00001 ## Script (Python) "editSynProperties"
00002 ##title=Enable Syndication for a resource
00003 ##parameters=
00004 REQUEST=context.REQUEST
00005 pSyn = context.portal_syndication
00006 pSyn.editSyInformationProperties(context, REQUEST['updatePeriod'], REQUEST['updateFrequency'], REQUEST['updateBase'], REQUEST['max_items'], REQUEST)
00007 return REQUEST.RESPONSE.redirect(context.absolute_url() + '/synPropertiesForm?portal_status_message=Syndication+Properties+Updated.')