Posted by atomicbop on November 18, 2009 at 9:19pm
I'm wondering if it's possible to make some sort of rule which alters an xml file when a filefield file has been uploaded.
For example, I have a flash player fed by an xml file. I would like to be able to upload a set of mp3s through cck, and have the system then add those files to the list in the xml document.
I'm not all that familiar with xml, or media players in general, and the modules available are more for community applications. I just need one standalone player to be fed by one document, and the files all coming from one node. Any help would be much appreciated.
Comments
Something like this is
Something like this is probably not possible with rules alone. You'd want to build a custom module.
The Boise Drupal Guy!
That's what I was thinking.
That's what I was thinking. Unfortunately I don't have any module development experience, although the logic seems straight forward enough. Guess I'll dust off the pro drupal development book. I knew it would come in handy.
XML Feed
You may be able to get creative if you change your XML document to be generated by Views RSS. Then you could build the XML dynamically from the CCK filefield contents.
Agreed - views RSS should do
Agreed - views RSS should do that with no or very little code.
Actually, I use Views Node
Actually, I use Views Node Feed. I just realized they're not the same...
http://drupal.org/project/views_node_feed
It's VERY flexible