Filefield and XML

Events happening in the community are now at Drupal community events on www.drupal.org.
atomicbop's picture

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

Garrett Albright's picture

Something like this is probably not possible with rules alone. You'd want to build a custom module.

That's what I was thinking.

atomicbop's picture

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

Grayside's picture

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

criznach's picture

Agreed - views RSS should do that with no or very little code.

Actually, I use Views Node

criznach's picture

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

Content Construction Kit (CCK)

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: