diff options
author | Friendika <info@friendika.com> | 2011-10-27 01:54:52 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-10-27 01:54:52 -0700 |
commit | abe96155b42f0f824d05d08126d0ced0d3c5ab38 (patch) | |
tree | 895905f32e79c1a46e7f124b667458ea4d02dc14 /view/poco_xml.tpl | |
parent | 31502207bd8361a5fa27cb10ea037e4cca5a5678 (diff) | |
download | volse-hubzilla-abe96155b42f0f824d05d08126d0ced0d3c5ab38.tar.gz volse-hubzilla-abe96155b42f0f824d05d08126d0ced0d3c5ab38.tar.bz2 volse-hubzilla-abe96155b42f0f824d05d08126d0ced0d3c5ab38.zip |
hmmm - why won't poco xml work
Diffstat (limited to 'view/poco_xml.tpl')
-rw-r--r-- | view/poco_xml.tpl | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/view/poco_xml.tpl b/view/poco_xml.tpl index 59b8e8a95..218c97c5c 100644 --- a/view/poco_xml.tpl +++ b/view/poco_xml.tpl @@ -1,6 +1,5 @@ <?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 }} @@ -8,14 +7,8 @@ {{ if $response.itemsPerPage }}<itemsPerPage>$response.itemsPerPage</itemsPerPage>{{ endif }} {{ if $response.totalResults }}<totalResults>$response.totalResults</totalResults>{{ endif }} -{{ for $response.entry as $ent }} -<entry> -{{ if $ent.id }}<id>$ent.id</id>{{ endif }} -{{ if $ent.displayName }}<displayName>$ent.displayName</displayName>{{ endif }} -{{ if $ent.preferredName }}<preferredName>$ent.preferredName</preferredName>{{ endif }} -{{ if $ent.urls }}<urls><value>$ent.urls.value</value><type>$ent.urls.type</type></urls>{{ endif }} -{{ if $ent.photos }}<photos><value>$ent.photos.value</value><type><$ent.photos.type></type></photos>{{ endif }} -</entry> +{{ for $response.entry as $entry }} +{{ inc poco_entry_xml.tpl }}{{ endinc }} {{ endfor }} </response> |