source: products/qRSS2Syndication/trunk/skins/qrss2syndication/getItemMacros.py @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

File size: 386 bytes
Line 
1## Script (Python) "getAudioFiles"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind subpath=traverse_subpath
7##parameters=etype
8##title=
9##
10
11template_id = etype.lower()+'_item'
12template = getattr(context, template_id, None)
13if template:
14    return template.macros['item']
15else:
16    return context.default_item.macros['item']
Note: See TracBrowser for help on using the repository browser.