2c41205450564b9fdce6fcade79ea9b3ae70daea
[photoprint.git] / skins / order_printing_list_template_xml.pt
1 <?xml version="1.0"?>
2 <rdf:RDF
3 xmlns:tal="http://xml.zope.org/namespaces/tal"
4 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
5 xmlns:pp="http://luxia.fr/namespaces/pp/"
6 xmlns="http://purl.org/rss/1.0/">
7 <channel rdf:about="URL"
8 tal:define="channel_info options/channel_info"
9 tal:attributes="rdf:about channel_info/url">
10 <title tal:content="channel_info/title">TITLE</title>
11 <link tal:content="channel_info/url">URL</link>
12 <description
13 tal:content="channel_info/description">DESCRIPTION</description>
14 <image rdf:resource="logo.gif" />
15 <items>
16 <rdf:Seq>
17 <rdf:li resource="URL"
18 tal:repeat="item_info options/listItemInfos"
19 tal:attributes="resource item_info/url" />
20 </rdf:Seq>
21 </items>
22 </channel>
23 <item rdf:about="URL"
24 tal:repeat="item_info options/listItemInfos"
25 tal:attributes="rdf:about item_info/url">
26 <title tal:content="item_info/id">TITLE</title>
27 <link tal:content="string:${item_info/url}/photo_download">URL</link>
28 <pp:title tal:content="item_info/title">TITLE</pp:title>
29 <pp:description
30 tal:condition="item_info/description"
31 tal:content="item_info/description">DESCRIPTION</pp:description>
32 <pp:quantity tal:content="item_info/quantity">QUANTITY</pp:quantity>
33 </item>
34 </rdf:RDF>