aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/poco_entry_xml.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-08 02:11:17 -0700
committerfriendica <info@friendica.com>2013-05-08 02:11:17 -0700
commitcdcbe9772423d5373f6d0d4aa33700446a989340 (patch)
tree2f1f1c7540c62c049dd314b0155380c6cb4526b5 /view/tpl/poco_entry_xml.tpl
parent51c27579ba79d32c26052c0d1f1218a16315234b (diff)
parent5e1980becf69a4c65489bed6f94fa730ec8ef4bf (diff)
downloadvolse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.tar.gz
volse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.tar.bz2
volse-hubzilla-cdcbe9772423d5373f6d0d4aa33700446a989340.zip
Merge pull request #50 from fabrixxm/newtemplatesystem
New template system
Diffstat (limited to 'view/tpl/poco_entry_xml.tpl')
-rwxr-xr-x[-rw-r--r--]view/tpl/poco_entry_xml.tpl15
1 files changed, 10 insertions, 5 deletions
diff --git a/view/tpl/poco_entry_xml.tpl b/view/tpl/poco_entry_xml.tpl
index 4d84cee41..d6e139cb5 100644..100755
--- a/view/tpl/poco_entry_xml.tpl
+++ b/view/tpl/poco_entry_xml.tpl
@@ -1,7 +1,12 @@
+{{*
+ * AUTOMATICALLY GENERATED TEMPLATE
+ * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
<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 }}{{ for $entry.photos as $photo }}<photos><value>$photo.value</value><type>$photo.type</type></photos>{{ endfor }}{{ endif }}
+{{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.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>