Index: ffpc.info
===================================================================
--- ffpc.info	(revision 773)
+++ ffpc.info	(working copy)
@@ -1,5 +1,5 @@
 ; $Id: ffpc.info,v 1.4 2008/09/24 15:33:25 suydam Exp $
-name = FieldField Podcast
+name = FileField Podcast
 description = Plug-in for views that turns a list of CCK FileFields into a Podcast
 package = Views
 core = 6.x
Index: ffpc.module
===================================================================
--- ffpc.module	(revision 773)
+++ ffpc.module	(working copy)
@@ -54,7 +54,7 @@
 
     $vars['link'] = check_url(url($path, $url_options));
   }
-
+  
   // This is where we add additional elements to the podcast.
   $args = array(
     'itunes:owner' => array(
@@ -62,8 +62,20 @@
     ),
   );
   
+  // Prepare parameters
+  $params['title'] = $title;
+  $params['link'] = $vars['link'];
+  $params['description'] = $description;
+  $params['items'] = $items;
+  $params['language'] = $language->language;
+  $params['args'] = $args;
+
+  // Allow modules to modify/add extra information via hooks
+  $hooks_params = module_invoke_all('ffpc_channel', $params);
+  $params = array_merge($params, $hooks_params);
+  
   $vars['namespaces'] = drupal_attributes($style->namespaces);
-  $vars['channel'] = format_rss_channel($title, $vars['link'], $description, $items, $language->language, $args);
+  $vars['channel'] = format_rss_channel($params['title'], $params['link'], $params['description'], $params['items'], $params['language'], $params['args']);
 
   drupal_set_header('Content-Type: application/rss+xml; charset=utf-8');
 }
\ No newline at end of file
Index: ffpc_plugin_row_podcast.inc
===================================================================
--- ffpc_plugin_row_podcast.inc	(revision 773)
+++ ffpc_plugin_row_podcast.inc	(working copy)
@@ -71,7 +71,7 @@
     
     $stripped_item_text = strip_tags($item_text);
     
-    if (strlen($stripped_item_tex) > 255) {
+    if (strlen($stripped_item_text) > 255) {
       $item_subtitle = substr($stripped_item_text, 0, 252) .'...';
     }
     else {
@@ -116,6 +116,11 @@
           'key' => 'guid',
           'value' => url( $file['filepath'], array('absolute'=>TRUE) ),
         );
+        
+        // Allow modules to add extra information
+        $extra_from_hooks = module_invoke_all('ffpc_item', $item, $extra);
+       	$extra = array_merge($extra, $extra_from_hooks);
+       	        
         /*
          * The following function takes title, link, description and then
          * all additional XML elements.  For the title we'll use the node
