I've used the RSS feed technique where couch (in a PHP file) gathers data from a page and builds an "XML" RSS feed, I modified it
to store a list of video clips in the XML layout.
the point is to direct my html5 video player
to this xml file to pick out different properties
such as file name, file location, file type... But
it doesn't seem to work as it would with an
actual xml file. (I'm using PHP simplexml)
I assumed the video player isn't seeing
parsed XML content but instead raw cms code as it could be accessing the playlist directly as if opening it in notepad, as opposed to a browser where the code would be executed and delivered as flat HTML.
Is
there a way to have this template (playlist.php)
dynamically export itself as an ".xml" ??
(Overwriting itself every time)
to store a list of video clips in the XML layout.
the point is to direct my html5 video player
to this xml file to pick out different properties
such as file name, file location, file type... But
it doesn't seem to work as it would with an
actual xml file. (I'm using PHP simplexml)
I assumed the video player isn't seeing
parsed XML content but instead raw cms code as it could be accessing the playlist directly as if opening it in notepad, as opposed to a browser where the code would be executed and delivered as flat HTML.
Is
there a way to have this template (playlist.php)
dynamically export itself as an ".xml" ??
(Overwriting itself every time)