aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/tpl/poco_entry_xml.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/redbasic/tpl/poco_entry_xml.tpl')
-rwxr-xr-xview/theme/redbasic/tpl/poco_entry_xml.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/view/theme/redbasic/tpl/poco_entry_xml.tpl b/view/theme/redbasic/tpl/poco_entry_xml.tpl
new file mode 100755
index 000000000..30b6268dc
--- /dev/null
+++ b/view/theme/redbasic/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>