![]() ![]() Our first step is to find the RSS feed for our Flickr page. You’ll also need a server that supports PHP 5. I’m assuming for the purposes of this tutorial that you have a Flickr account, a basic understanding of PHP 5, and a good grasp on XHTML and CSS. When we’re done, it should look like this demo Flickr module. In this tutorial, we’ll build a PHP class to load and parse a Flickr RSS feed, isolate the pieces of information we need, and output formatted XHTML to the browser. We simply need to grab the content from our account, figure out how to read it right into our website, and then display it in such a way that it will mesh with the rest of our site’s design. This way, we don’t have to create any content at all. One solution is to use RSS feeds to grab the content off of our various social media sites (in this example, we’ll use Flickr). So, what we’re hoping for is a way to get the best of both worlds: how can we utilize the power of Flickr on our own website without needing to dedicate a great deal of time to solving the problem? The Solution Besides, doesn’t it seem a little silly to reinvent the wheel? The learning experience of building such tools is great, but we don’t always have hundreds of hours to dedicate to rebuilding Flickr’s robust photo management. On the flipside, you could reverse engineer all of these tools and create your own versions of them for use on your personal website, creating the same immersive user experience you get from using social tools, but that’s a good deal of time and effort. This is great, but it limits your creativity, and it also requires your readers to remember multiple separate URLs. With sites like Myspace, Flickr, YouTube, and Twitter, you can essentially create a full-on interactive web experience for free and with no knowledge of web design.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |