diff options
author | friendica <info@friendica.com> | 2011-12-18 00:39:15 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-12-18 00:39:15 -0800 |
commit | c4a5fcaf278947782e4d600a3d6bdfe14eeb7fab (patch) | |
tree | 25d38de8acae4f4c72eda3b7e0af9c6c10fb7cb0 | |
parent | 3aab1c714000a1b420d0bdcc25635593c27e3a04 (diff) | |
download | volse-hubzilla-c4a5fcaf278947782e4d600a3d6bdfe14eeb7fab.tar.gz volse-hubzilla-c4a5fcaf278947782e4d600a3d6bdfe14eeb7fab.tar.bz2 volse-hubzilla-c4a5fcaf278947782e4d600a3d6bdfe14eeb7fab.zip |
fix xml poco for arrays
-rw-r--r-- | view/poco_entry_xml.tpl | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/view/poco_entry_xml.tpl b/view/poco_entry_xml.tpl index c3db9f2b2..4d84cee41 100644 --- a/view/poco_entry_xml.tpl +++ b/view/poco_entry_xml.tpl @@ -2,10 +2,6 @@ {{ if $entry.id }}<id>$entry.id</id>{{ endif }} {{ if $entry.displayName }}<displayName>$entry.displayName</displayName>{{ endif }} {{ if $entry.preferredUsername }}<preferredUsername>$entry.preferredUsername</preferredUsername>{{ endif }} -{{ if $entry.urls }} -{{for $entry.urls as $url }} -<urls><value>$url.value</value><type>$url.type</type></urls> -{{endfor}} -{{ endif }} -{{ if $entry.photos }}<photos><value>$entry.photos.value</value><type>$entry.photos.type</type></photos>{{ endif }} +{{ if $entry.urls }}{{ for $entry.urls as $url }}<urls><value>$url.value</value><type>$url.type</type></urls>{{ endfor }}{{ endif }} +{{ if $entry.photos }}{{ for $entry.photos as $photo }}<photos><value>$photo.value</value><type>$photo.type</type></photos>{{ endfor }}{{ endif }} </entry> |