You want to use Flash or other dynamic elements in your Drupal site, you want these elements to reference dynamic XML (or minimally XML you can quickly change). You want a simple solution not overkill. You can code PHP and provide any of the data from your site but need to display an XML file.
Following are quick and dirty instructions to provide XML directly or generated by PHP in the body of a node. We do this by creating a new Content Type for XML, simplifying the templates, using PHP to create XML content and then the Path module to display the .xml extension to the node.
Call it what you will. Try This:
Comments
BeatnikDude
Mon, 11/09/2009 - 21:55
Permalink
what about?
Nobody (not verified)
Sun, 12/06/2009 - 21:50
Permalink
Simply Simple
I had gone for much more elaborate solutions for Drupal XML before, thanks this makes perfect sense. Though a little more detail in the example would be nice for the laymen.
Nobody (not verified)
Sun, 05/02/2010 - 03:42
Permalink
Euh...
Could you give more details please???
Where are page-node-4.tpl.php??
Nobody (not verified)
Sun, 05/02/2010 - 03:43
Permalink
Euh... (part 2)
Thanks!!!
BeatnikDude
Sun, 05/02/2010 - 11:55
Permalink
Yes, these notes are lean and mean
Or, these notes are quick and dirty. :)
I assume you understand these are .tpl files for your theme. And the specific .tpl you asked about was for specifically node/4 in this example.