Just as in the previous version it seems that the 6.x releases are having problems creating legitimate media rss feeds.

The URL does not appear to reference a valid XML file. We encountered the following problem: Error on line 1: Element type "rss" must be followed by either attribute specifications, ">" or "/>".

Any ideas on what could be causing this?

Thanks!

Comments

glen201’s picture

Status: Active » Needs review

Not too familiar with the RSS nodeapi, I kinda hacked my way through to at least get some more normal looking RSS feed code out of the video.module.

Find the line with $mrss['namespace'] and replace it with:

          $mrss['namespace'] = array('xmlns:media' => 'http://video.search.yahoo.com/mrss');

See if this helps you. There's still some crud at the end of the RSS feed, but this may be some drupal strangeness...

-- glen

zcferres’s picture

Thanks Glen, I will confirm that this fix works for FeedBurner validity check. :)

Thanks a ton.

Zach Ferres

sharadaprasad’s picture

Even I had the same problem. The fix worked. Thanks a ton.
Can this issue be fixed in the code rather than doing this kind of hacking?

glen201’s picture

Version: 6.x-2.2-beta1 » 6.x-2.5-beta1
Assigned: Unassigned » glen201
Category: support » bug
Status: Needs review » Fixed

I was waiting for someone to tell me it fixed their problem. It's now committed to the CVS, and it will be in the next release after the one indicated in the version, above.

Thanks for your help!
--glen

Status: Fixed » Closed (fixed)

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