iframes from XPath fetched pages

For some reason, iframes seem to be omitted when I use XPatch on a page I've fetched. If I uncheck the "Emit items as a string" option, I can see the iframe text so it's definitely being fetched. Is there a way to avoid this problem?

12 Replies
  • Bumping this in case it was missed the first time.

  • What you see in the editor is not necessarily the same as the real output.

    Somebody (hint, hint) who knows all the details should come into this thread and tell you.

  • I have no intention of considering this without a link to the original pipe (so much for stickies).

  • Sorry, I thought it was a generic problem rather than something to do my pipe so I didn't include a link.

    The places I've noticed it most are either of the following that use Gawker sites. http://pipes.yahoo.com/pipes/pipe.info?_id=60789ce98d18de7f2f9a63d03a36c60a or http://pipes.yahoo.com/pipes/pipe.info?_id=5be9b28057f1e98024cdad1bcc77b862

    Often the main header image is a YouTube video which is omitted when the page is fetched. They'll also often have video within the main body text as well which disappears.

    These other two feeds also lose iframed videos etc http://pipes.yahoo.com/pipes/pipe.info?_id=c10e034b7783d8ffc2e90c18a1fe1be7 http://pipes.yahoo.com/pipes/pipe.info?_id=c86ad382d1f45d5dabf59c21dbb6c630

    Thanks for the help.

  • I have no intention of considering this without a link...

    It matters?

    As I sort of understand it - if xpath fetch is used - all frames or iframes are stripped out (even though they (might) appear in the editor.

    (so much for stickies).

    Heh. Which sticky would that be?

  • That's really annoying that they're stripped out - is there any reason why? Do people from Yahoo monitor these forums or is there a way to get this functionality added?

  • hapdaniel - a heads up - your posts in here are now invisible to me.

    is there any reason why?

    I'm an end-users so I can't say.

    I remember the word "security" was mentioned in the old forum. But you can't read any of the posts. The forum and all its posts were deleted.

    Do people from Yahoo monitor these forums...

    They do but it's hit or miss. Sometimes they pop in and answer questions but other times they are gone for weeks (or longer) at a time.

    is there a way to get this functionality added?

    I have no idea. But I doubt it.

  • Interestingly though, in the FAQs, it states:

    We sanitize feeds due to potential malicious objects (re: activeX and others) and push those tags into an iframe. This is done for safety of our users who view the output. Feeds that have enclosure nodes will have the video embedded in various readers.

    So this seems to suggest iframes are fine so they shouldn't be stripped out...

  • Hi Antlane

    I ve the same problem

    When i use fetch page or xpath fetch page module, yahoo pipes get the content the text but not the iframe (the iframe of youtube players) iframe tag disappear/is removed.

    Do you find a solution to get all the content text and iframe youtube player?

  • Somebody know how to stop Yahoo pipes to removing the


    iframe> tag when he fetch pages/Xpatch Fetch pages.

  • I have the same problem as well. I have been trying for a while now, with no success.

  • hello guys,

    I encountered the same kind of problem before, and I don't think it happens only for iframes. Basically, I think it's not filtered out, but just interpreted, as formatting or whatever, and thus disappear from the content.

    In his first message, Antlane says he does succeed in fetching the iframe content while not checking the string output option: thus the html markup is stored as tree branches and not actual html markup which could be interpreted.

    Hence my answer to your problem would be (if I'm not mistaken so far): work with your content as a tree of data instead of trying to work with it as a big fat string.




Recent Posts

in Pipes