ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Using Magpie RSS/Atom Parser to pull in YouTube Feed

November 01, 2010 6:32pm

Subscribe [3]
  • #1 / Nov 01, 2010 6:32pm

    jtree

    255 posts

    I’m using the Magpie RSS/Atom Parser plugin on an EE site.  I’m pulling in a YouTube channel feed.  I can get the titles and links to pull in fine but when I try to use image_title, image_url, or image_link nothing pulls in.  When I open the RSS feed in a browser I see the image and other things like ratings, views, length, etc.  Here is my code:

    {exp:magpie url="http://gdata.youtube.com/feeds/base/users/IndyHubInc/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile" limit="4" refresh="720"}
    <ul>
    {items}
        <li>{image_url}<a href="http://{link}">{title} {image_url}</a></li>
    {/items}
    </ul>
    {/exp:magpie}

    I’ve tried moving the {image_url} outside of the {items} pair but then it just pulls in the YouTube logo.  Any ideas?  Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases