1
1
Fork 0
friendica_2019-12_sharedHos.../view/poco_xml.tpl

19 lines
629 B
Smarty
Raw Normal View History

2011-10-27 09:57:19 +02:00
<?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 }}
2011-10-27 13:38:33 +02:00
<startIndex>$response.startIndex</startIndex>
<itemsPerPage>$response.itemsPerPage</itemsPerPage>
<totalResults>$response.totalResults</totalResults>
2011-10-27 09:57:19 +02:00
2011-10-27 13:38:33 +02:00
{{ if $response.totalResults }}
2012-12-22 20:57:29 +01:00
{{ for $response.entry as $ent }}
{{ inc $poco_entry_xml with $entry=$ent }}{{ endinc }}
2011-10-27 09:57:19 +02:00
{{ endfor }}
2011-10-27 13:38:33 +02:00
{{ else }}
<entry></entry>
{{ endif }}
2011-10-27 09:57:19 +02:00
</response>