]> git.mxchange.org Git - friendica.git/blob - view/poco_xml.tpl
394f6afcf815dda20099845cc82ed1a68ff78110
[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.tpl with $entry=$ent }}{{ endinc }}
14 {{ endfor }}
15 {{ else }}
16 <entry></entry>
17 {{ endif }}
18 </response>