
Converting Audio to a CCK FileField content type for Drupal 6
Hold on Cowboy
This blog post is pretty old. Be careful with the information you find in here. It's likely dead, dying, or wildly inaccurate.
This is the script I used to convert our Audio content type to CCK FileField content type.
- I created a content type called podcast
- Copy the following script to a file convert.php and place it in your website’s DocumentRoot
- https://gist.github.com/1335420
- Run the script by going to your website
http://example.com/convert.php
- Done… now the audio nodes show be podcast nodes and will work.
For extra fun, I've added [SWFTools](http://drupal.org/project/swftools)
Resources
This was of limited help http://geeksandgod.com/tutorials/computers/cms/drupal/drupal-converting-audio-module-filefield-module