News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

IBM developerWorks:
Accessing third-party content with oEmbed and PHP
March 14, 2011 @ 13:42:44

On IBM's developerWorks there's a recent article from Vikram Vaswani about using the oEmbed tool to pull content into your site from sources like YouTube, Twitter and Facebook.

If you have your photos in Flickr, your videos in YouTube, and your TV shows in Hulu, how do you bring them all into your blog posts on Blogger? Of course, you can do this by hyperlinking to the appropriate content, but wouldn't it be nicer if you could just embed them into your post at the appropriate place? Enter oEmbed.

He gives examples showing how to pull in content from a few different places - a video from YouTube, one from Revision3 and an image from deviantART. He also talks about using the oohEmbed service to access additional content on things like Wikipedia, Slideshare and Amazon. There's also a bit at the end looking at an alternative PHP library that could be used to do similar things, php-oembed.

0 comments voice your opinion now!
oembed content thirdparty remote oohembed


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: The PHP Content Management/Framework Upgrades in ExpressionEngine 2

Matthew Weier O'Phinney's Blog: From the inside-out: How to layer decorators

Matthew Weir O'Phinney's Blog: Using Zend_View Placeholders to Your Advantage

Jonathan Street's Blog: When scraping content from the web don't make it obvious

Chris Hartjes' Blog: How To HTTP-PUT A File Somewhere Using PHP


Community Events





Don't see your event here?
Let us know!


series community threedevsandamaybe interview developer testing symfony2 podcast framework refactor release code introduction language list install laravel opinion configure unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework