friendica/view/smarty3/poco_xml.tpl

19 lines
623 B
Smarty
Raw Normal View History

2012-12-22 19:57:29 +00:00
<?xml version="1.0" encoding="utf-8"?>
<response>
{{if $response.sorted}}<sorted>{{$response.sorted}}</sorted>{{/if}}
{{if $response.filtered}}<filtered>{{$response.filtered}}</filtered>{{/if}}
{{if $response.updatedSince}}<updatedSince>{{$response.updatedSince}}</updatedSince>{{/if}}
<startIndex>{{$response.startIndex}}</startIndex>
<itemsPerPage>{{$response.itemsPerPage}}</itemsPerPage>
<totalResults>{{$response.totalResults}}</totalResults>
{{if $response.totalResults}}
{{foreach $response.entry as $ent}}
2012-12-25 19:05:46 +00:00
{{include file="poco_entry_xml.tpl" entry=$ent}}
2012-12-22 19:57:29 +00:00
{{/foreach}}
{{else}}
<entry></entry>
{{/if}}
</response>