aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/xml
diff options
context:
space:
mode:
authorvdigital <vdigital@piwigo.org>2006-12-19 07:32:50 +0000
committervdigital <vdigital@piwigo.org>2006-12-19 07:32:50 +0000
commita65dbaa784ebcda9a807226e5739ba02e1a2123c (patch)
tree70ca874b3ebcfcaeadd751f29e20b9f220e5df76 /template/yoga/xml
parent37032d453c850225119c293c59150ab8c97387dc (diff)
WEB Service: Some corrections again but still an incomplete version.
git-svn-id: http://piwigo.org/svn/trunk@1675 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/xml')
-rw-r--r--template/yoga/xml/default.tpl25
1 files changed, 25 insertions, 0 deletions
diff --git a/template/yoga/xml/default.tpl b/template/yoga/xml/default.tpl
new file mode 100644
index 000000000..618780c71
--- /dev/null
+++ b/template/yoga/xml/default.tpl
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!-- Just a sample right now -->
+
+<group>
+ <title>PhpWebGallery - Web Service</title>
+ <text>default.tpl: To be customized.</text>
+
+ <!-- BEGIN row -->
+ <picture id="{row.ID}">
+ <caption>{row.CAPTION}</caption>
+ <date>{row.DATE}</date>
+ <text>{row.COMMENT}</text>
+ <!-- BEGIN High -->
+ <full-image width="{row.High.WIDTH}" height="{row.High.HEIGHT}">{row.High.URL}</full-image>
+ <!-- END High -->
+ <!-- BEGIN Normal -->
+ <image width="{row.Normal.WIDTH}" height="{row.Normal.HEIGHT}">{row.Normal.URL}</image>
+ <!-- END Normal -->
+ <!-- BEGIN Thumbnail -->
+ <small-image width="{row.Thumbnail.WIDTH}" height="{row.Thumbnail.HEIGHT}">{row.Thumbnail.URL}</small-image>
+ <!-- END Thumbnail -->
+ </picture>
+ <!-- END row -->
+<group>