]> git.mxchange.org Git - friendica.git/blobdiff - view/poco_xml.tpl
quattro: fix typos
[friendica.git] / view / poco_xml.tpl
old mode 100644 (file)
new mode 100755 (executable)
index 218c97c..9549b69
@@ -3,12 +3,16 @@
 {{ if $response.sorted }}<sorted>$response.sorted</sorted>{{ endif }}
 {{ if $response.filtered }}<filtered>$response.filtered</filtered>{{ endif }}
 {{ if $response.updatedSince }}<updatedSince>$response.updatedSince</updatedSince>{{ endif }}
-{{ if $response.startIndex }}<startIndex>$response.startIndex</startIndex>{{ endif }}
-{{ if $response.itemsPerPage }}<itemsPerPage>$response.itemsPerPage</itemsPerPage>{{ endif }}
-{{ if $response.totalResults }}<totalResults>$response.totalResults</totalResults>{{ endif }}
+<startIndex>$response.startIndex</startIndex>
+<itemsPerPage>$response.itemsPerPage</itemsPerPage>
+<totalResults>$response.totalResults</totalResults>
 
+
+{{ if $response.totalResults }}
 {{ for $response.entry as $entry }}
 {{ inc poco_entry_xml.tpl }}{{ endinc }}
 {{ endfor }}
-
+{{ else }}
+<entry></entry>
+{{ endif }}
 </response>