Converting Audio to a CCK FileField content type for Drupal 6

This is the script I used to convert our Audio content type to CCK FileField content type.

 

  1. I created a content type called podcast
  2. Copy the following script to a file convert.php and place it in your website’s DocumentRoot
  3. https://gist.github.com/1335420
  4. Run the script by going to your website http://example.com/convert.php
  5. Done… now the audio nodes show be podcast nodes and will work.
For extra fun, I’ve added SWFTools

Resources

This was of limited help
http://geeksandgod.com/tutorials/computers/cms/drupal/drupal-converting-audio-module-filefield-module

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">