FeedAPI + Emfield perfectly imports Youtube videos. The question is how to get rid of "Ratings" "Views" ... that appears in the Body of Feed Items (in addition to Description ) ?
options->raw->description field contains the Description. As a solution, I dropped the Body field from the Feed Item Content Type and added a CCK Text field to map options->raw->description field. Mapping is done fine except the Description appears Gibberish as mapping an html description to text field doesnt work (my guess)
My question is: Is there a solution to display the Description field somehow and get rid of other additional data ? Looked through CCK field add on modules, I didn't see any solution,
Thanks for any feedback
Comments
Comment #1
alex_b commented"Mapping is done fine except the Description appears Gibberish as mapping an html description to text field doesnt work (my guess)"
You will have to use a filtered text field (see settings on the CCK field).
Comment #2
sbydrupal commentedHi Alex, thanks for your feedback, filtering choice removes the gibberish.
Yet, the real issue seems now that Youtube Descriptions include "Ratings" "Views" ...,
In order to remove these, looks like I have to write a php code to eliminate these entries in node.tpl.php
At this moment, I dont see any other solution. May be there is another way to do it, somebody faced this before ?
Thanks