diff options
Diffstat (limited to 'view/tpl/poco_entry_xml.tpl')
-rwxr-xr-x | view/tpl/poco_entry_xml.tpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/view/tpl/poco_entry_xml.tpl b/view/tpl/poco_entry_xml.tpl new file mode 100755 index 000000000..30b6268dc --- /dev/null +++ b/view/tpl/poco_entry_xml.tpl @@ -0,0 +1,8 @@ +<entry> +{{if $entry.id}}<id>{{$entry.id}}</id>{{/if}} +{{if $entry.displayName}}<displayName>{{$entry.displayName}}</displayName>{{/if}} +{{if $entry.preferredUsername}}<preferredUsername>{{$entry.preferredUsername}}</preferredUsername>{{/if}} +{{if $entry.rating}}<rating>{{$entry.rating}}</rating>{{/if}} +{{if $entry.urls}}{{foreach $entry.urls as $url}}<urls><value>{{$url.value}}</value><type>{{$url.type}}</type></urls>{{/foreach}}{{/if}} +{{if $entry.photos}}{{foreach $entry.photos as $photo}}<photos><value>{{$photo.value}}</value><type>{{$photo.type}}</type></photos>{{/foreach}}{{/if}} +</entry> |