album list xml?

amyg Member
Hi all,
thanks to the developers of the Simpleviewer themes, I was able to attach a flash slideshow/gallery to my album pages.
Now, I'm trying to pull xml from the album list as well (and insert it into a flash menu)
I've been hacking away to no avail.
I understand how to change the xml variables to suit my needs - I just can't figure out how to create 2 seperate xml files.
- I hope this makes some sort of sense - my brain is numb at this point ;-)

Any thoughts, anyone? I'll be happy to share the final results - I think this would be something that others would appreciate.
Thanks in advance!

Comments

  • amyg Member
    I worked it out - sort of...
  • So, what did you do?
  • amyg Member
    I took a break! When I came back it was obvious.
    I just adjusted the theme index page to output the xml - just like the album page, but I changed the variables to suit the needs of the swf file I was trying to use.
    (found here http://www.kirupa.com/forum/showthread.php?t=266583)

    Now - it would be nice if I could add the gallery menu to the same page as the albums - but that's probably way beyond me.
    At this point, i just want to finish this!
  • amyg Member
    Oh - fyi - this is the code I changed:
    `<?php<br />
    } else {

    header ('Content-Type: application/xml');

    echo '<?xml version="1.0" encoding="UTF-8"?>

    '; ?>

    <?php while (next_album()): ?>



    <?php echo getAlbumThumb();?>

    <?php echo getAlbumTitle();?>

    <?php echo getAlbumLinkURL(); ?>



    <?php endwhile; ?>



    <?php <br />
    }

    ?>`

Sign In or Register to comment.