Hi,
I am looking into using Drupal for a podcast. I see that you can upload a file to the Drupal server and have the first attachment be an enclosure in an RSS feed. However, our audio files are hosted on a different server and so I cannot use the upload feature to get an enclosure tag to come up. Is there any way to specify an attachment manually (that is to say, can I specify some path like "http://audio.somewhere.com/shows/01012007.mp3")?
Does anyone have any suggestions or advice, aside from writing my own module to take an enclosure value when editing a node? (I suppose I could look at the upload module to try to figure out how it pins an enclosure tag to the RSS feed...right? Of course, I'd really really rather not have to do this :-D).
Thanks for your help!
Armando
Comments
Solution
Well, I just wrote my own module to solve this problem. I suppose it would conflict with the upload module (since the upload module automatically makes the first file uploaded the RSS enclosure), so I just commented the RSS part out of the upload.module file. This comes with no warranty, but is a pretty simple module so it can't imagine there could be too much wrong with it (I've tested it, but not *extensively*).
If you have any questions, feel free to email me at armando (dot) leon (at) gmail (dot) com .
Since the hook_install function seems to not be working, you'll need to manually apply the following SQL to your database:
Here is the enclosure.info file:
And here is the enclosure.module file: