that's not a swfobject issue so much as a general web development issue.  i
suggest checking sites like kirupa.com (
http://www.kirupa.com/web/xml_php_parse_beginner.htm) and php.net (
http://us2.php.net/manual/en/ref.xml.php)

- philip


On Fri, Mar 20, 2009 at 7:22 AM, babyewok <[email protected]> wrote:

>
> Hi,
>
> I use SlideShowPro.  It reads an xml file to dynamically update the
> flash photo gallery with images and their titles and captions.
>
> For the purposes of SEO, I would like to show a simple list of albums,
> images, titles and captions in the alternative content.  Now I could
> just write this in by hand, but since the whole point of having the
> xml is to save time when updating the image gallery, it would be good
> to use a php script to pull this information from the xml file for me
> (search engines read the contents php includes, so surely they would
> read the RESULTS of this script??)
>
> Anyway , the xml is like this:
> -----------------
> <?xml version="1.0" encoding="UTF-8"?>
> <gallery>
> <album id="chairs" title="Chairs" lgPath="gallery/chairs/lg/"
> tnPath="gallery/chairs/tn/">
> <img src="01.jpg" title="First Photo Title" caption="This where your
> photo caption would be" />
> <img src="02.jpg" title="Second Photo Title"  caption="This where your
> photo caption would be" />
> </album>
> <album id="tables" title="Tables" lgPath="gallery/tables/lg/"
> tnPath="gallery/tables/tn/">
> <img src="03.jpg" title="First Table Photo Title"  caption="This where
> your photo caption would be" />
> </album>
> </gallery>
> -------------------
>
> I would like to display this info in the alternate content section of
> the html for swfobject as:
>
> <h2>Chairs</h2>
> <ul>
> <li>First Photo Title: This is where your caption would be</li>
> <li>Second Photo Title: This is where your caption would be</li>
> </ul>
> <h2>Tables</h2>
> <ul>
> <li>First Table Photo Title: This is where your caption would be</li>
> </ul>
>
> etc.....
>
> Any ideas how I could use PHP to get from a to b?
>
> Thanks in advance.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to