1
0
Fork 0
friendica_2020-09-1_sharedH.../view/smarty3/poco_xml.tpl
2012-12-22 12:57:29 -07:00

18 lines
629 B
Smarty

<?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}}
{{include file="file:{{$poco_entry_xml}}" entry=$ent}}
{{/foreach}}
{{else}}
<entry></entry>
{{/if}}
</response>