 |
Home
° Why Us?
° Get Started
° FAQs
Register, It's Free!
° User Login
Password
|
photo album xml (axml)
Want to build your OWN photo album application?!?!?!
Some more advanced users may want to build their own Flash or other photo album for a specific purpose! Below, find an example of an XML structure delivered by our XML Album (aXML) system. You can retrieve a link from within the administration panel to get any of your albums delivered in this exact format. Source nodes are the location of the files at DynamPics.com.
|
|
A couple node explanations.
- aXML always has the root node of <album>
- The album/provider node should be displayed on any album using aXML to comply with use licenses if you are feeding the data into a proprietary album
- All node content is encoded with the following map
- & = &
- < = <
- > = >
- " = "
- All <source> nodes contain fully qualified URLs
- album/meta/size = no. of images in the album
- album/status = one of the following
- success = the document was retrieved, authenticated anf there are images present
- inactive = the document exists but is turned off by its owner
- unauthorized = the document exists and is on but you didn't send the correct authentication string, use standard basic authentication tokens in your request header as per the HTTP protocol
- empty = the document exists, is on and you have authenticated but there are no images
Example Photo Album XML
<?xml version="1.0" encoding="iso-8859-1" ?>
<album>
<status>success</status>
<provider><a href="...">DynamPics.com</a></provider>
<advertisement>
<image></image>
<link></link>
</advertisement>
<meta>
<title>sfdfasfds</title>
<description>sfdadfsdafsdsdf</description>
<created>2006-01-25 12:18:03</created>
<size>4</size>
</meta>
<image>
<source>http://www.dynampics.com...</source>
<meta>
<title>Photo27</title>
<description></description>
<created>2006-01-26 11:55:42</created>
<width>336</width>
<height>288</height>
</meta>
<thumbnail>
<source>http://www.dynampics.com...</source>
<meta>
<width>96</width>
<height>72</height>
</meta>
</thumbnail>
</image>
<image>
<source>http://www.dynampics.com...</source>
<meta>
<title>sfdafsdaafsd</title>
<description>sdfsfdfdf</description>
<created>2006-01-25 12:32:12</created>
<width>176</width>
<height>144</height>
</meta>
<thumbnail>
<source>http://www.dynampics.com...</source>
<meta>
<width>88</width>
<height>72</height>
</meta>
</thumbnail>
</image>
<image>
<source>http://www.dynampics.com...</source>
<meta>
<title>asdsadsadsad</title>
<description>asddassdads</description>
<created>2006-01-25 12:16:38</created>
<width>336</width>
<height>252</height>
</meta>
<thumbnail>
<source>http://www.dynampics.com...</source>
<meta>
<width>96</width>
<height>72</height>
</meta>
</thumbnail>
</image>
<image>
<source>http://www.dynampics.com...</source>
<meta>
<title>dwADFSDFSF</title>
<description>FSADFDFADS</description>
<created>2006-01-25 12:11:37</created>
<width>336</width>
<height>224</height>
</meta>
<thumbnail>
<source>http://www.dynampics.com...</source>
<meta>
<width>96</width>
<height>64</height>
</meta>
</thumbnail>
</image>
</album>
|
|
 |