friendica_2021.01_tupambae_.../view/poco_xml.tpl
2012-12-22 12:57:29 -07:00

19 lines
629 B
Smarty

<?xml version="1.0" encoding="utf-8"?>
<response>
{{ if $response.sorted }}<sorted>$response.sorted</sorted>{{ endif }}
{{ if $response.filtered }}<filtered>$response.filtered</filtered>{{ endif }}
{{ if $response.updatedSince }}<updatedSince>$response.updatedSince</updatedSince>{{ endif }}
<startIndex>$response.startIndex</startIndex>
<itemsPerPage>$response.itemsPerPage</itemsPerPage>
<totalResults>$response.totalResults</totalResults>
{{ if $response.totalResults }}
{{ for $response.entry as $ent }}
{{ inc $poco_entry_xml with $entry=$ent }}{{ endinc }}
{{ endfor }}
{{ else }}
<entry></entry>
{{ endif }}
</response>