You are here: Documentation
Search
You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate button.
Results
embed(): 49 Hits
rue
));
}
}</code>
===== See Also =====
* [[reference:SimplePie:start]]
* [[reference:SimplePie_Item:start]]
* [[reference:SimplePie_Enclosure:start]]
* [[reference:SimplePie_Enclosure:native_embed
native_embed(): 48 Hits
rue
));
}
}</code>
===== See Also =====
* [[reference:SimplePie:start]]
* [[reference:SimplePie_Item:start]]
* [[reference:SimplePie_Enclosure:start]]
* [[reference:SimplePie_Enclosure:embed]]
How do I get a thumbnail from a YouTube feed?: 21 Hits
t's simplify this with the shorter syntax. http://simplepie.org/wiki/reference/simplepie/start
$feed = new SimplePie('http://youtube.com/rss/global/top_favorites.rss');
// Make sure the content is being serve... ($feed->get_items() as $item)
{
// As long as an enclosure exists...
if ($enclosure = $item->get_enclosure(... '" title="' . $item->get_title() . '"><img src="' . $enclosure->get_thumbnail() . '" /></a>';
}
}
?></code>