Index: itunes_plugin_style_rss.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/itunes/itunes_plugin_style_rss.inc,v
retrieving revision 1.5
diff -u -r1.5 itunes_plugin_style_rss.inc
--- itunes_plugin_style_rss.inc	1 Aug 2009 16:20:08 -0000	1.5
+++ itunes_plugin_style_rss.inc	27 Apr 2010 03:49:21 -0000
@@ -26,6 +26,7 @@
     $options['owner_email'] = array('default' => '', 'translatable' => FALSE);
     $options['categories'] = array('default' => array('', '', ''), 'translatable' => FALSE);
     $options['keywords'] = array('default' => '', 'translatable' => TRUE);
+    $options['new_feed_url'] = array('default' => '', 'translatable' => FALSE);
 
     return $options;
   }
@@ -67,6 +68,13 @@
       '#maxlength' => 255,
       '#description' => t('This specifies the artwork for your podcast. iTunes prefers square .jpg images that are at least 300 x 300 pixels, which is different than what is specified for the standard RSS image tag. iTunes supports images in JPEG and PNG formats. The URL must end in ".jpg" or ".png". If you change your podcast’s image, also change the file’s name. iTunes may not change the image if it checks your feed and the image URL is the same.'),
     );
+    $form['new_feed_url'] = array(
+      '#type' => 'textfield',
+      '#title' => t('New Feed URL'),
+      '#default_value' => $this->options['new_feed_url'],
+      '#maxlength' => 255,
+      '#description' => t('Podcasters occasionally need to move their feed from one location to another. To do so without losing subscribers, you must convey the change directly to all users who are subscribed to your feed. Specify the <a href="http://www.apple.com/itunes/podcasts/specs.html#changing">new feed url tag</a> here if desired.'),
+    );
     $form['explicit'] = array(
       '#type' => 'select', '#title' => t('Explicit'),
       '#options' => array(0 => 'Unspecified', ITUNES_EXPLICIT_YES => 'Yes', ITUNES_EXPLICIT_CLEAN => 'Clean'),
@@ -190,6 +198,12 @@
         'value' => NULL,
       );
     }
+    if ($this->options['new_feed_url']) {
+      $extra[] = array(
+        'key' => 'itunes:new-feed-url',
+        'value' => $this->options['new_feed_url'],
+      );
+    }
     if ($this->options['subtitle']) {
       $extra[] = array(
         'key' => 'itunes:subtitle',
