<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Against All Odds - Flickr</title>
			<link>http://www.ppshein.net/index.cfm</link>
			<description>A blog for ColdFusion, Android, jQuery, jQueryMobile, Oracle, HL7 and other Web-based programming languages, Web Server like IIS7 and RDMS like Oracle, Microsoft SQL and MySQL.</description>
			<language>en-us</language>
			<pubDate>Sun, 26 May 2013 01:42:55 -0700</pubDate>
			<lastBuildDate>Sun, 28 Nov 2010 23:12:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>pyaephyoeshein@gmail.com</managingEditor>
			<webMaster>pyaephyoeshein@gmail.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>pyaephyoeshein@gmail.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>Coldfusion Flickr JSON</title>
				<link>http://www.ppshein.net/index.cfm/2010/11/28/Coldfusion-Flickr-JSON</link>
				<description>
				
				Last weekday, I&apos;ve read &lt;a href=&quot;http://www.flickr.com/services/api/&quot; target=&quot;_blank&quot;&gt;Flickr API&lt;/a&gt; developers section. As we all know, there is already &lt;a href=&quot;http://chris.m0nk3y.net/projects/CFlickr/&quot; target=&quot;_blank&quot;&gt;CFlickr&lt;/a&gt; which support us to integrate CF and Flickr for uploading photos, retrieving photos and so on. But, I&apos;m getting sick of installing this &lt;b&gt;CFlickr&lt;/b&gt; in my blog because I only need to display my photography in my blog and don&apos;t want to upload and edit anymore. 

To display Flickr in our blog, we can also use with RSS feed. If we use RSS feed by retrieving data from Flickr, Flickr will product small images. I&apos;ve already posted about it in my blog already. &lt;a href=&quot;http://www.ppshein.net/index.cfm/2010/11/19/Simple-Flickr-Integration&quot; target=&quot;_blank&quot;&gt;Simple Flickr Integration&lt;/a&gt; But I don&apos;t like those small thumbnail. What I gonna do if I want to display medium thumbail? Answer is very simple. &quot;Use Flickr API&quot;

Usage of Flickr API

&lt;code&gt;
url : http://www.flickr.com/services/rest/
&lt;!--- 
	I need to use this method.
	Because it&apos;s only for display.
---&gt;
method : flickr.photos.search
&lt;!--- 
	There are 3 types of format.
    1.  REST (JSON)
    2. XML-RPC
    3. SOAP
	But I only need to use JSON.
 ---&gt;
format : json
&lt;!--- 
	I only retrieve data. 
	That&apos;s why nojsoncallback is 1 (Yes). 
---&gt;
nojsoncallback : 1
&lt;!--- Your API ---&gt;
api_key : [YOUR_API_KEY]
&lt;!--- Your Flickr Account ---&gt;
user_id : [YOUR_USER_ID]
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>Flickr</category>
				
				<category>Coldfusion</category>
				
				<pubDate>Sun, 28 Nov 2010 23:12:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/11/28/Coldfusion-Flickr-JSON</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Simple Flickr Integration</title>
				<link>http://www.ppshein.net/index.cfm/2010/11/19/Simple-Flickr-Integration</link>
				<description>
				
				Today, I&apos;ve developed Simple Flickr Integration with Coldfusion. It&apos;s just simple and no thing to be surprised what I&apos;ve done. As we all, Flickr support us to give API features for integrate with them. But, it&apos;s not right time for me to use this Flickr API because I don&apos;t want to upload any photo to Flickr via my blog or website because of bandwidth limitation at my hosting.

Here is coding which fetch photograph from Flickr.

&lt;code&gt;
&lt;!--- Get Flickr RSS ---&gt;
&lt;cfhttp url=&quot;[your_rss_feed_from_flickr]&quot; method=&quot;GET&quot;&gt;&lt;/cfhttp&gt;
&lt;cfscript&gt;
	FlickrContent = trim(cfhttp.filecontent);
	FlickrContent = XMLParse(FlickrContent);
&lt;/cfscript&gt;
&lt;table border=&quot;0&quot; width=&quot;100%&quot; cellpadding=&quot;5&quot; cellspacing=&quot;5&quot;&gt;
&lt;tr&gt;
&lt;cfloop from=&quot;1&quot; to=&quot;#ArrayLen(FlickrContent.rss.channel.item)#&quot; index=&quot;i&quot;&gt;
	&lt;td align=&quot;center&quot; style=&quot;border:1px ##999999 solid;&quot;&gt;
		&lt;a href=&quot;#FlickrContent.rss.channel.item[i].link.xmlText#&quot;&gt;
			#FlickrContent.rss.channel.item[i].title.xmlText#
		&lt;/a&gt;&lt;BR&gt;&lt;BR&gt;
		&lt;a href=&quot;#FlickrContent.rss.channel.item[i].link.xmlText#&quot;&gt;
			&lt;img src=&quot;#FlickrContent.rss.channel.item[i][&apos;media:thumbnail&apos;].xmlattributes.url#&quot; border=&quot;0&quot;&gt;
		&lt;/a&gt;&lt;BR&gt;&lt;BR&gt;
		&lt;small&gt;&lt;strong&gt;Uploaded on :&lt;/strong&gt; #Dateformat(FlickrContent.rss.channel.item[i].pubDate.xmlText, &quot;dd-mmm-yyyy&quot;)#&lt;/small&gt;
	&lt;/td&gt;
	&lt;!--- I want to display only 5 photo per line ---&gt;
	&lt;cfif i MOD 5 EQ 0&gt;&lt;/tr&gt;&lt;tr&gt;&lt;/cfif&gt;
&lt;/cfloop&gt;
&lt;/table&gt;	
&lt;/code&gt;

&lt;a href=&quot;http://www.ppshein.net/photography.cfm&quot;&gt;Here is my photography on &lt;span style=&quot;color:#0063C8&quot;&gt;Flick&lt;/span&gt;&lt;span style=&quot;color:#FE0084&quot;&gt;r&lt;/a&gt;
				
				</description>
				
				
				<category>Flickr</category>
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Fri, 19 Nov 2010 20:50:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2010/11/19/Simple-Flickr-Integration</guid>
				
				
			</item>
			
		 	
			</channel></rss>