mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
fix xml poco for arrays
This commit is contained in:
parent
3aab1c7140
commit
c4a5fcaf27
1 changed files with 2 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue