Jump to content

[SOLVED] Media RSS feed validation errors


nitromaster

Recommended Posts

Tearing my head out over this  :(

http://validator.w3.org/feed/check.cgi?url=www.mybebostuff.com%2Ffeeds%2Fthelonelyisland.xml

 

Basically seems like there's a problem with this line

<media:player url="http://www.youtube.com/watch?v=eh2ld_Vt_eQ><![CDATA[<embed src="http://www.youtube.com/v/eh2ld_Vt_eQ&autoplay=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed>]]></media:player>

 

Any idea why it's not valid?

In a much older media rss file I have

<media:player url="http://www.break.com/index/atv-jumps-into-tree.html"><![CDATA[<embed src="http://embed.break.com/NTc4NzA1" type="application/x-shockwave-flash" wmode="transparent" width="464" height="392" ></embed>]]></media:player>

And that's valid.

 

Any ideas?

 

 

Link to comment
https://forums.phpfreaks.com/topic/146298-solved-media-rss-feed-validation-errors/
Share on other sites

You have opened <![CDATA[ in <media:description>, that's never closed. Now it get's to <media:player> where there's another <![CDATA[ now with closing tag. So what the parser sees is

 

<media:description><![CDATA[ .... ]]></media:player>

 

obviously mismatched tag :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.