- Generate RSS 2.0 (XML file) format for iTunes
- Test the XML URL in iTunes (Files -> Subscribe to Podcast…)
- Submit the XML URL into iTunes: here
– A little bit in detail:
When you use Drupal, you can easily generate the XML file by following modules:
Assuming you already know
- How to install drupal modules
- About View Module
- How to Add new Content Type and the concept of Content in Drupal
2. Add a content with file field.
The first thing you need to do is to have proper content with the file field. Check this out.
In “Content Type”, you can either add New Content Type or Edit existing Content type. Anyway, what you have to do is to check if it has “Field type: File” or similar field type. If not, you need to add “Field type: File” to add attachment recognizable in Drupal.
- Add new field and set the “Type of data to store” as “File”
- Set “Label”, “File Extensions”, “File Directory”, and Maximum Upload Size.
- If allowed upload size is not enough, please refer to increase the upload size in php configuration. In general, upload_max_filesize and post_max_size should be modified to limit the file size. Note that upload_max_filesize is less than post_max_size in general.
3. Create a View
The next thing is adding a view for the RSS Feed (XML file).
Assuming you’ve installed above modules,
- Select Include an RSS feed and put the xml file name
- Click “Continue & Edit”
- Set the Format as “RSS Feed – Fields” and Add more Fields you want to show and make sure the MP3 Contents as File Field.
- In Format -> Settings, you need to follow Setting up core <channel> elements, Setting up core <item> elements, and Setting up iTunes podcast feed elements.
- Channel Elements: Core
- Language (EN, KO, etc)
- Item Elements: Core
- Enclosure: Put the “File” Field. (Important)
- Channel Elements: iTunes
- Item Elements: iTunes
- In the “Fields: Content: MP3”, Create a label and Set Formatter as “RSS <enclosure> element” (Important!)
- Rest of them, you can filter how you want to reveal the view to the iTunes. It’s up to you.
- Note that if you want to get all items having the MP3, you can specify it as (not null).
4. Check the xml with http://feedvalidator.org
It shouldn’t be perfect, but just check if you miss something else.
5. Test with iTunes
In iTunes, you can test your XML as put the XML URL in “File” -> “Subscribe to Podcast…”
6. Submit it into iTunes.
That’s it. You can submit it into iTunes here.