<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jay Li &#187; Gallery</title>
	<atom:link href="http://www.jayli.me/tag/gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jayli.me</link>
	<description>Web Apps, SEO, Graphic Design</description>
	<lastBuildDate>Mon, 12 Oct 2009 10:14:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flickr JSON API</title>
		<link>http://www.jayli.me/2008/06/flickr-json-api/</link>
		<comments>http://www.jayli.me/2008/06/flickr-json-api/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 16:50:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web App]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Gallery]]></category>
		<category><![CDATA[Image processing]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://gmlee.co.uk/Jay-Li/2008/06/24/web-app/flickr-json-api/</guid>
		<description><![CDATA[I have played around a few popular APIs recently. Figure it out the Flickr API is the best for the generating the image contents. It may have a bit more controls and interesting features rather than Piscasa &#8212; but I am still a big fan of Goolge  
Personally I prefer using the JSON API [...]]]></description>
			<content:encoded><![CDATA[<p>I have played around a few popular APIs recently. Figure it out the <a title="Flickr API" href="http://www.flickr.com/services/api/" target="_blank">Flickr API</a> is the best for the generating the image contents. It may have a bit more controls and interesting features rather than <a title="Piscasa API" href="http://code.google.com/apis/picasaweb/overview.html" target="_blank">Piscasa</a> &#8212; but I am still a big fan of Goolge <img src='http://www.jayli.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Personally I prefer using the <a title="What is JSON" href="http://www.json.org/" target="_blank">JSON</a> API rather than the others (Rest, Soap). JSON is working perfectly well with Javascript, and I can easily integrate with some cool Ajax interfaces.</p>
<p>Here is a image app I built. It simply pass a request to the Flickr API, and get the most recent uploaded photos,  then return the data as JSON. Finally I just use <a title="Jquery" href="http://jquery.com/" target="_blank">Jquery</a> to make some fade in, fade out effects.</p>
<p>Feel free to view the page source to find out how it works. It&#8217;s a pretty useful skill, and you can start building your own APIs once you get used to it. With the same techniques, I built the <a title="LEWIS Imagebank widget generator" href="http://api.lewisimagebank.com/widget/" target="_blank">image widget</a> for <a title="LEWIS Imagebank" href="http://www.lewisimagebank.com" target="_blank">LEWIS imagebank</a>.</p>
<p><a title="gmlee_imagebox" href="http://code.gmlee.co.uk/imagebox"><img src="http://www.jayli.me/wp-content/uploads/2008/06/picture-2.png" alt="gmlee_imagebox" width="586" height="376" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jayli.me/2008/06/flickr-json-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
