--- ffpc_plugin_row_podcast.inc.old 2009-04-16 06:26:49.000000000 -0500 +++ ffpc_plugin_row_podcast.inc 2009-04-16 06:34:55.000000000 -0500 @@ -5,6 +5,8 @@ class ffpc_plugin_row_podcast extends vi // For the most part, this code is taken from node_feed() in node.module global $base_url; + $clean_urls = variable_get('clean_url', 0); + $item_length = $this->options['item_length']; if ($item_length == 'default') { $item_length = variable_get('feed_item_length', 'teaser'); @@ -89,7 +91,7 @@ class ffpc_plugin_row_podcast extends vi $extra[] = array( 'key' => 'enclosure', 'attributes' => array( - 'url' => url( $file['filepath'], array('absolute'=>TRUE) ), + 'url' => $clean_urls ? url( $file['filepath'], array('absolute'=>TRUE) ) : $base_url . '/' . $file['filepath'], 'length' => $file['filesize'], 'type' => $file['filemime'], ), @@ -114,7 +116,7 @@ class ffpc_plugin_row_podcast extends vi $extra[] = array('key' => 'pubDate', 'value' => gmdate('r', $item->created)); $extra[] = array( 'key' => 'guid', - 'value' => url($file['filepath'], array('absolute'=>TRUE)), + 'value' => $clean_urls ? url($file['filepath'], array('absolute'=>TRUE)) : $base_url . '/' . $file['filepath'], ); /* * The following function takes title, link, description and then