Jump to content

[SOLVED] Media RSS feed validation errors


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 :)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.