friendica-github/view/poco_entry_xml.tpl

8 lines
537 B
Smarty
Raw Normal View History

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