I am trying to use FeedAPI to import a feed which includes a big long embed code for a video player in the body of each feed. Here is the structure of the entire feed item:

<item>
      <title>Philips SHE9850 In ear Headphones</title>
      <link>http://media.digitaltrends.com/digital-trends/philips-she9850-in-ear-headphones/</link>
      <description><![CDATA[<script src="http://www.ooyala.com/player.js?width=608&height=342&embedCode=c0MjgyOm_i6G3OPhabx3HtFBOuYaEJyq&autoplay=1&playerId=dtooyalap"></script>
<noscript>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="ooyalaPlayer_4jgem_fk4ilkah" width="608" height="342" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
        <param name="movie" value="http://www.ooyala.com/player.swf" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#000000" /><param name="allowScriptAccess" value="always" />
        <param name="allowFullScreen" value="true" /><param name="flashvars" value="embedCode=c0MjgyOm_i6G3OPhabx3HtFBOuYaEJyq&autoplay=1" />
        <embed src="http://www.ooyala.com/player.swf" quality="high" bgcolor="#000000" width="608" height="342" name="ooyalaPlayer_4jgem_fk4ilkah" align="middle" play="true" loop="false" quality="high" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" flashvars="embedCode=c0MjgyOm_i6G3OPhabx3HtFBOuYaEJyq&autoplay=1" pluginspage="http://www.adobe.com/go/getflashplayer"></embed>
    </object>
</noscript>
The Philips SHE9850 In-ear headphones might have a pricey price tag, but they sound much better than your stock earbuds that come with your portable media player.]]></description>
      <pubDate>Mon, 21 Apr 2008 15:49:38 -0700</pubDate>
      <guid>http://media.digitaltrends.com/digital-trends/philips-she9850-in-ear-headphones/</guid>

    </item>

FeedAPI completely ignores this section of the < description > tag:

<script src="http://www.ooyala.com/player.js?width=608&height=342&embedCode=c0MjgyOm_i6G3OPhabx3HtFBOuYaEJyq&autoplay=1&playerId=dtooyalap"></script>
<noscript>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="ooyalaPlayer_4jgem_fk4ilkah" width="608" height="342" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
        <param name="movie" value="http://www.ooyala.com/player.swf" />
        <param name="quality" value="high" />
        <param name="bgcolor" value="#000000" /><param name="allowScriptAccess" value="always" />
        <param name="allowFullScreen" value="true" /><param name="flashvars" value="embedCode=c0MjgyOm_i6G3OPhabx3HtFBOuYaEJyq&autoplay=1" />
        <embed src="http://www.ooyala.com/player.swf" quality="high" bgcolor="#000000" width="608" height="342" name="ooyalaPlayer_4jgem_fk4ilkah" align="middle" play="true" loop="false" quality="high" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" flashvars="embedCode=c0MjgyOm_i6G3OPhabx3HtFBOuYaEJyq&autoplay=1" pluginspage="http://www.adobe.com/go/getflashplayer"></embed>
    </object>
</noscript>

I've been trying everything to make this work. I have selected use full HTML in FeedAPI settings. I have tried to switch been the common syndication parser and the simplePie parser. I have downloaded and installed FeedAPI Exhaustive Parser. Nothing seems to have any effect on this issue. How can I get FeedAPI to not ignore this embed code?

The most frustrating part about this is that the default RSS aggregator built into Drupal works perfectly to import all the Feed items from the feed complete with embed code. It just doesn't create individual nodes of the items. I need individual nodes.

Comments

alex_b’s picture

Which parser are you using?

mattheweigand’s picture

Status: Active » Fixed

At the time I was using Simplepie parser. I eventually found out that using Common Syndication Parser worked, although I was unable to see the embed code until I had published the node, as it didn't show up in Feed Element Mapper except as a blank line. I'd say this issue is resolved.

Status: Fixed » Closed (fixed)

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