Amelioration of 'file listing' feature
Posted: Thu Dec 31, 2009 9:39 am
Hello Pierre,
The feature of 'file listing' is now powerfull but I think a new option can be helpfull.
Using a FlashObject in a Web Page ( object whichs display photos & thumbnails ) needs an XML configuration file structured like follow:
Header-File
Header-Photo+ filename-of-the-photo1.jpg + Footer-Photo
Header-Photo+ filename-of-the-photo2.jpg + Footer-Photo
Footer-File
For a first exemple, with ImageRotator object, the file XML is like what:
<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<title>01</title>
<location>image01.jpg</location>
</track>
<track>
<title>01</title>
<location>image02.jpg</location>
</track>
</playlist>
For a second exemple, with a CoolIris object, the XML file is like that:
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<item>
<title>titre1</title>
<media:content url="image1.jpg"/>
</item>
<item>
<title>titre2</title>
<media:content url="image2.jpg"/>
</item>
</channel>
</rss>
With the classic XNV list generated by 'file listing', a lot of operations Paste/cut with notepad.exe are needed to obtain the final XML file.
It's very fastidius.
So I ask to myself if can U add a possibility to include a text just before the name of the photo and include a text just after the name of the photo.
In my first exemple, the first text file/string will countains:
<track><title>01</title><location>
and the second text file/string will countains :
</location></track>
In my second exemple, the first text file/string will countains:
<item><title>titre2</title><media:content url="
and the second text file/string will be:
"/></item>
Have a nice réveillon
MUS
The feature of 'file listing' is now powerfull but I think a new option can be helpfull.
Using a FlashObject in a Web Page ( object whichs display photos & thumbnails ) needs an XML configuration file structured like follow:
Header-File
Header-Photo+ filename-of-the-photo1.jpg + Footer-Photo
Header-Photo+ filename-of-the-photo2.jpg + Footer-Photo
Footer-File
For a first exemple, with ImageRotator object, the file XML is like what:
<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<title>01</title>
<location>image01.jpg</location>
</track>
<track>
<title>01</title>
<location>image02.jpg</location>
</track>
</playlist>
For a second exemple, with a CoolIris object, the XML file is like that:
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<item>
<title>titre1</title>
<media:content url="image1.jpg"/>
</item>
<item>
<title>titre2</title>
<media:content url="image2.jpg"/>
</item>
</channel>
</rss>
With the classic XNV list generated by 'file listing', a lot of operations Paste/cut with notepad.exe are needed to obtain the final XML file.
It's very fastidius.
So I ask to myself if can U add a possibility to include a text just before the name of the photo and include a text just after the name of the photo.
In my first exemple, the first text file/string will countains:
<track><title>01</title><location>
and the second text file/string will countains :
</location></track>
In my second exemple, the first text file/string will countains:
<item><title>titre2</title><media:content url="
and the second text file/string will be:
"/></item>
Have a nice réveillon
MUS