friendica/view/poco_entry_xml.tpl
2011-12-18 00:14:34 -08:00

11 lines
507 B
Smarty

<entry>
{{ 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 }}
</entry>