From rory.nugent at nyu.edu Sat Jul 4 06:14:12 2009 From: rory.nugent at nyu.edu (Rory Nugent) Date: Fri, 3 Jul 2009 16:14:12 -0400 Subject: Displaying embedded content, i.e. YouTube Message-ID: <33092EDC-A8E7-4DC3-BE42-7B60D8F4328D@nyu.edu> Has anyone had any luck displaying embedded content in their syndicated feed? I have some users who simple have a blog entry with nothing but a youtube video and it doesn't display the video after it has been syndicated by Planet Venus. Any help would be appreciated! -Rory From rubys at intertwingly.net Sat Jul 4 20:48:42 2009 From: rubys at intertwingly.net (Sam Ruby) Date: Sat, 04 Jul 2009 06:48:42 -0400 Subject: Displaying embedded content, i.e. YouTube In-Reply-To: <33092EDC-A8E7-4DC3-BE42-7B60D8F4328D@nyu.edu> References: <33092EDC-A8E7-4DC3-BE42-7B60D8F4328D@nyu.edu> Message-ID: <4A4F338A.40800@intertwingly.net> Rory Nugent wrote: > Has anyone had any luck displaying embedded content in their > syndicated feed? I have some users who simple have a blog entry with > nothing but a youtube video and it doesn't display the video after it > has been syndicated by Planet Venus. > > Any help would be appreciated! Venus is based on the Universal Feed Parser, and the latter strips object and embed tags and the like before Venus even "sees" the feed. In an ideal world, the parser would be aware of the parameters specified in the config.ini file. Perhaps object and embed could be stripped unless the content came from YouTube, where the choice of what sources to trust was made by the person who runs the planet. I started down an experiment along those lines, and called the result mars. It seemed promising at the time, but I have not gotten back to complete it, and nobody else has picked up on the work and run with it: http://github.com/rubys/mars/tree/master > -Rory - Sam Ruby