]> git.mxchange.org Git - friendica.git/blob - view/poco_xml.tpl
e115c706aa9afcd12ada52de375748942c1b0755
[friendica.git] / view / poco_xml.tpl
1 <?xml version="1.0" encoding="utf-8"?>
2 <response>
3 {{ if $response.sorted }}<sorted>$response.sorted</sorted>{{ endif }}
4 {{ if $response.filtered }}<filtered>$response.filtered</filtered>{{ endif }}
5 {{ if $response.updatedSince }}<updatedSince>$response.updatedSince</updatedSince>{{ endif }}
6 <startIndex>$response.startIndex</startIndex>
7 <itemsPerPage>$response.itemsPerPage</itemsPerPage>
8 <totalResults>$response.totalResults</totalResults>
9
10
11 {{ if $response.totalResults }}
12 {{ for $response.entry as $ent }}
13 {{ inc $poco_entry_xml with $entry=$ent }}{{ endinc }}
14 {{ endfor }}
15 {{ else }}
16 <entry></entry>
17 {{ endif }}
18 </response>