Index: emfield.rss.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/emfield/Attic/emfield.rss.inc,v
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.2 emfield.rss.inc
--- emfield.rss.inc	25 Jul 2008 11:45:51 -0000	1.1.2.2
+++ emfield.rss.inc	13 Sep 2008 15:01:44 -0000
@@ -37,6 +37,14 @@ function _emfield_nodeapi_rss(&$node, $o
 
   $enclosure = array();
   $rss = array();
+  
+  // Workaround for http://drupal.org/node/157709.
+  static $been_here = FALSE;
+  if (! $been_here) {
+    //$rss[] = array('namespace' => array('xmlns:media', 'http://search.yahoo.com/mrss/'));
+    $rss[] = array('namespace' => array('xmlns:media' => 'http://search.yahoo.com/mrss/'));
+    $been_here = TRUE;
+  }
 
   foreach ($files as $file) {
     // RRS2 enclosure http://cyber.law.harvard.edu/rss/rss.html#ltenclosuregtSubelementOfLtitemgt
@@ -117,13 +125,6 @@ function _emfield_nodeapi_rss(&$node, $o
     }
   }
 
-  // Workaround for http://drupal.org/node/157709.
-  static $been_here = FALSE;
-  if (! $been_here) {
-    $rss[] = array('namespace' => array('xmlns:media="http://search.yahoo.com/mrss/"'));
-    $been_here = TRUE;
-  }
-
   $rss[] = $enclosure;
 
   return $rss;
