dir/view/poco_entry_xml.tpl

8 lines
537 B
Smarty
Raw Normal View History

2011-10-27 10:54:52 +02:00
<entry>
{{ if $entry.id }}<id>$entry.id</id>{{ endif }}
{{ if $entry.displayName }}<displayName>$entry.displayName</displayName>{{ endif }}
2011-10-27 13:38:33 +02:00
{{ if $entry.preferredUsername }}<preferredUsername>$entry.preferredUsername</preferredUsername>{{ endif }}
2011-12-18 09:39:15 +01:00
{{ 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 }}
2011-10-27 10:54:52 +02:00
</entry>