The only thing that prevents the iTunes module from being a generic podcasting solution is that it doesn't output filefields as enclosures. The attached patch adds settings to specify which (if any) filefield for each node type should should be used for the enclosure.

CommentFileSizeAuthor
#4 itunes_438856.patch858 bytesdrewish
itunes_enclosures.patch7.63 KBdrewish

Comments

drewish’s picture

Status: Needs review » Fixed

committed to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

guillaumeduveau’s picture

Category: feature » support
Status: Closed (fixed) » Active

Hi Drewish,

With itunes 6.x-1.2 I can't make it output the filefield files as enclosures.

Steps :
- install itunes
- create a new content type
- add a filefield field to this content type
- go to /admin/settings/itunes and enable the itunes field for this content type, choose the filefield field
- add a node of this content type and upload a file as filefield
- activate the itunes view and go to /itunes/feed, there's no enclosure

(With file_upload the files are correclty in enclosures though.)

drewish’s picture

Category: support » bug
Status: Active » Fixed
StatusFileSize
new858 bytes

You're absolutely right. I'd changed the variable name at some point and not updated all the instances. It work on my machine because I'd had the old variable set.

drewish’s picture

just created a new release with this bug fix. it should be available here in a couple of minutes: http://drupal.org/node/479984

guillaumeduveau’s picture

Great, thanks ! I'll test tomorrow.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.