I wanted to put a flash slideshow embeded on my website. The links and descriptions of the pictures get loaded from an xml file. For ease of use purposes, I was trying to find a way for couch to manage that xml file. I came up with some crazy ideas but I have not tested them yet. I do not know exactly how the flash file opens the xml file. like if it goes through the website, then i could possibly change the extension to php and use it to output the content in xml format, assuming it would work. My next idea was:
user visits site:
the flash content is included from another page
I have that page managed by couch. Before it loads the flash content, at the top it would be like this:
opening tag for couch:
open the xml file for writing:
getting the variables from couch and out in correct xml format:
overwrite the xml file with the new content:
close the file:
**flash content that loads the newly saved xml file**
I thought that would be a great idea, but the issue is if i get a large number of users at once, then that is alot of server intensive code.
So is there a way that I could have couch manage an xml page? even if it requires some serious craziness.
I also do not mind tempting to code my own php page that can read and edit an xml page, but id prefer not to. If this isn't already a function in couch then I think it would be a very nice thing to add.
Hopefully this makes sense. I got 2 hours of sleep last night so i dont know how much im actually thinking
user visits site:
the flash content is included from another page
I have that page managed by couch. Before it loads the flash content, at the top it would be like this:
opening tag for couch:
open the xml file for writing:
getting the variables from couch and out in correct xml format:
overwrite the xml file with the new content:
close the file:
**flash content that loads the newly saved xml file**
I thought that would be a great idea, but the issue is if i get a large number of users at once, then that is alot of server intensive code.
So is there a way that I could have couch manage an xml page? even if it requires some serious craziness.
I also do not mind tempting to code my own php page that can read and edit an xml page, but id prefer not to. If this isn't already a function in couch then I think it would be a very nice thing to add.
Hopefully this makes sense. I got 2 hours of sleep last night so i dont know how much im actually thinking