Mercurial > hg > MPIWGWeb
view zpt/feature/feature_index_xml.zpt @ 278:51c43df418fc
xml export for features.
author | casties |
---|---|
date | Thu, 05 Mar 2015 19:18:56 +0100 |
parents | |
children | 572fcceebde8 |
line wrap: on
line source
<?xml version="1.0"?> <feature xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal"> <title> <en tal:content="python:here.getFullTitle(lang='en')"/> <de tal:content="python:here.getFullTitle(lang='de')"/> </title> <author> <name tal:content="here/author|nothing"/> <id tal:content="here/author_id|nothing"/> </author> <date tal:content="python:here.getDateString(lang='iso')"/> <sort-weight tal:content="here/weight|string:0"/> <frontpage> <image tal:content="here/getFrontpageImgUrl"/> <teaser> <en tal:content="python:getattr(here.en.get('teaser.pt'), 'source.html')(request, request.response)"/> <de tal:content="python:getattr(here.de.get('teaser.pt'), 'source.html')(request, request.response)"/> </teaser> </frontpage> <mainpage> <main> <en tal:content="python:getattr(here.en.get('main.pt'), 'source.html')(request, request.response)"/> <de tal:content="python:getattr(here.de.get('main.pt'), 'source.html')(request, request.response)"/> </main> </mainpage> </feature>