I want to embed youtube video player in the "description" of rss.
I tried to use "iframe" tag but it didn't work.
The content of iframe tag disappeared when using debugger pane to preview.
Is iframe tag disable in yahoo pipes?
How to generate the feed correctly for rss reader(feedly, NewsBlur etc.) that can show the embedded youtube player?
I don't think the 'description' field is the more suited for such a use. I think it's more a 'media' field, though I'm not sure. I would advise you to find a rss feed with media in it that suit what you want, and open the url using a text editor (I use kate, but I'm sure other text editors can open urls). You'll get an XML file (that's what a rss feed is!). find a <item> [...] </item> data structure and look at how the media is embedded (probably a <media> [url] </media> markup).
I have checked a feed generated by FC2 blog.
This feed uses iframe tag with CDATA section, and the embedded player can work in Feedly reader.
However, I can't use CDATA section to block the code in yahoo pipes......
check the faq: <http://pipes.yahoo.com/pipes/docs?doc=troubleshooting#q13>
and this thread: <http://developer.yahoo.com/forum/Pipes/iframes-from-XPath-fetched-pages/1373013106797-06012758-e178-4d46-a9ad-157c370c0f04>
I don't use feedly or such, and when I tried inputing those links in my netvibes, it didn't give mem uch to work on.
However, it's just my thoughts on this, as I'm just a user like you, but I think CDATA is internal markup, so when you try to use it, there is some processing on it and it's not on the output.
regarding first link, you may want to put your content in an embed or object tag, it will convert it to iframe ;)
I had another go at it: http://pipes.yahoo.com/luneart/4ed2bfecf8f6ef3c86f04e1d48259247
First I tried the same way you did, but with more details/control on content, but with no success. (the loop/string builder blocks.) That way, if you look at the source of your item.description which looks like it's working, you'll see that you're missing code.
Afterwards, I thought a little and opened the feed in text editor. I had <<media:content> url=... which had me remember that the items and sub items are an xml strucutre.
Meaning, if you want something like <embed src="<http://www.youtube.com/v/>[video Id]?version=3" type="application/x-shockwave-flash" allowscriptaccess="always" width="640" height="360"></embed>, then it will be produced of a tree called embed, with subtrees (or parameters) called src with value [video url], type with value application/x-shockwave-flash, etc.
When opening the resulting feed in a text editor, I do have the <embed src="<http://...>, but not in every sub-items I'd like. I managed to put everything in the subitem " ", but "description" filter all except text it would seem.
As I told you I don't have feedly, but maybe it can read the mark-up. Can you try and give me a feedback? If it works, there is a lot of tiding to do in this pipe ;)
btw, I checked the 2nd 2013-11-02 entry of your second feed in my text editor, and in description I get something of the form <iframe allowfullscreen="" frameborder="0" height="360" src="//<http://www.youtube.com/embed/T4B17AyvHsw"> width="640"></iframe>, ie with the html tags to be interpreted. You can try this way instead, you'll probably get it through even in the description sub item!
ok, also you should have fetched the RSS instead of the JSON through the youtube api.
That way, only a rename to do: http://pipes.yahoo.com/luneart/5c781a770c44a84d6a0747dfb2f19eed
(notice the disparity between description, and : either pipes' limitation, pipes' formatting for xml standard (eg, you cannot use description that way), or pre-output.
I think that's it this time... (sorry for the flood)