<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Programming Ideas, Logics, Tips and Tricks &#187; development</title>
	<atom:link href="http://www.sajithmr.me/tag/development/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sajithmr.me</link>
	<description></description>
	<lastBuildDate>Sat, 07 Apr 2012 16:30:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Facebook application development &#8211; Quick note</title>
		<link>http://www.sajithmr.me/facebook-application-development-quick-note</link>
		<comments>http://www.sajithmr.me/facebook-application-development-quick-note#comments</comments>
		<pubDate>Wed, 05 May 2010 23:37:54 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[public key]]></category>
		<category><![CDATA[publish]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[wall]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=675</guid>
		<description><![CDATA[This is a quick note for myself to remember some tricks while we develop a Facebook application. If you are a beginner in Facebook application development, go here first. If  you an expert in Facebook development, go here. The steps in creating a facebook app. 1) Register an application in facebook 2) Add Canvas URL [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-676" title="facebook_f" src="http://www.sajithmr.me/wp-content/uploads/2010/05/facebook_f.jpg" alt="facebook_f" width="187" height="187" /></p>
<p>This is a quick note for myself to remember some tricks while we develop a Facebook application.</p>
<p>If you are a beginner in Facebook application development, go <a href="http://developers.facebook.com/docs/guides/canvas/" target="_blank">here</a> first.</p>
<p>If  you an expert in Facebook development, go <a href="http://gizmodo.com/5530178/top-ten-reasons-you-should-quit-facebook" target="_blank">here</a>. <img src='http://www.sajithmr.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The steps in creating a facebook app.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">1) Register an application in facebook</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">2) Add Canvas URL</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">3) Add Canvas Callback url</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">4) Test the canvas is working or not</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">To execute FBML inside your code (for iframe), you must add FBConnect URL</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">You need to set xd_receiver.htm in your webroot folder</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Download facebook php api</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">If you are using iframe, remember to use facebook-canvas url for links and forms , not your local url.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">If you are using canvas mode, you cannot use body tag in your html. You dont need to keep the basic html layout</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">like head, title, body etc</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">An example page in the canvas_callback looks like this:</div>
<p>The steps in creating a facebook app.</p>
<p><span style="color: #800000;"><strong>1) Register an application in facebook</strong></span></p>
<p><span style="color: #800000;"><strong>2) Add Canvas URL</strong></span></p>
<p><span style="color: #800000;"><strong>3) Add Canvas Callback url</strong></span></p>
<p><span style="color: #800000;"><strong>4) Test the canvas is working or not</strong></span></p>
<p>To execute FBML inside your code (for iframe), you must add <a href="http://developers.facebook.com.iproxy.saverpigeeks.com//docs/guides/web" target="_blank">FBConnect</a> URL</p>
<p>You need to set <a href="http://wiki.developers.facebook.com/index.php/Cross_Domain_Communication_Channel" target="_blank">xd_receiver.htm</a> in your webroot folder</p>
<p>Download facebook <a href="http://github.com/facebook/php-sdk" target="_blank">php api</a></p>
<p>If you are using iframe, remember to use facebook-canvas url for links and forms , not your local url.</p>
<p>If you are using canvas mode, you cannot use body tag in your html. You dont need to keep the basic html layout</p>
<p>like head, title, body etc</p>
<p>An example page in the canvas_callback looks like this:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d">&lt;?php</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #2832cf"><span style="color: #bf2e9d">require_once</span><span style="color: #000000">(</span><span style="font: 11.0px Menlo">&#8216;facebook.php&#8217;</span><span style="color: #000000">);</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #008326">//ini_set (&#8216;display_errors&#8217;, 1);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2832cf"><span style="font: 12.0px Menlo; color: #000000">$appapikey = </span>&#8217;0d7c64e9a387eXXXXXXXXXXXXXXXXXXX&#8217;<span style="font: 12.0px Menlo; color: #000000">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2832cf"><span style="font: 12.0px Menlo; color: #000000">$appsecret = </span>&#8217;9fc9eef6dXXXXXXXXXXXXXXXXXXXXXXX&#8217;<span style="font: 12.0px Menlo; color: #000000">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">$facebook = <span style="color: #bf2e9d">new</span> Facebook($appapikey, $appsecret);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d">?&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d">
<p style="font: normal normal normal 12px/normal Menlo; margin: 0px;"><span style="color: #000000;"><br />
</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d">
<p style="font: normal normal normal 12px/normal Menlo; margin: 0px;"><span style="color: #000000;">Sometimes , in IE and Safari, infinite redirect loop will happen. It is due to session problem</span></p>
<p style="font: normal normal normal 12px/normal Menlo; margin: 0px;"><span style="color: #000000;">add the below code to solve this!</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">&lt;?php</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">$prefix = ($_REQUEST[<span style="font: 11.0px Menlo; color: #2832cf;">'fb_sig_user'</span>]) ? <span style="font: 11.0px Menlo; color: #2832cf;">&#8216;fb_sig&#8217;</span> : $appapikey;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="color: #bf2e9d;">if</span>( <span style="color: #bf2e9d;">isset</span>($_REQUEST[$prefix<span style="color: #bf2e9d;">.</span><span style="font: 11.0px Menlo; color: #2832cf;">'_session_key'</span>]) ){</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">session_name( $_REQUEST[$prefix<span style="color: #bf2e9d;">.</span><span style="font: 11.0px Menlo; color: #2832cf;">'_session_key'</span>] );</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">session_start();</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">$_SESSION[<span style="font: 11.0px Menlo; color: #2832cf;">'fb_user'</span>]        = $_REQUEST[$prefix<span style="color: #bf2e9d;">.</span><span style="font: 11.0px Menlo; color: #2832cf;">'_user'</span>];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">$_SESSION[<span style="font: 11.0px Menlo; color: #2832cf;">'fb_session_key'</span>] = $_REQUEST[$prefix<span style="color: #bf2e9d;">.</span><span style="font: 11.0px Menlo; color: #2832cf;">'_session_key'</span>];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">$_SESSION[<span style="font: 11.0px Menlo; color: #2832cf;">'fb_expires'</span>]     = $_REQUEST[$prefix<span style="color: #bf2e9d;">.</span><span style="font: 11.0px Menlo; color: #2832cf;">'_expires'</span>];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">$_SESSION[<span style="font: 11.0px Menlo; color: #2832cf;">'fb_in_canvas'</span>]   = $_REQUEST[$prefix<span style="color: #bf2e9d;">.</span><span style="font: 11.0px Menlo; color: #2832cf;">'_in_canvas'</span>];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">$_SESSION[<span style="font: 11.0px Menlo; color: #2832cf;">'fb_time'</span>]        = $_REQUEST[$prefix<span style="color: #bf2e9d;">.</span><span style="font: 11.0px Menlo; color: #2832cf;">'_time'</span>];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2832cf;"><span style="font: 12.0px Menlo; color: #000000;"> $_SESSION[</span>'fb_profile_update_time'<span style="font: 12.0px Menlo; color: #000000;">] = $_REQUEST[$prefix</span><span style="font: 12.0px Menlo; color: #bf2e9d;">.</span>'_profile_update_time'<span style="font: 12.0px Menlo; color: #000000;">];</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">$_SESSION[<span style="font: 11.0px Menlo; color: #2832cf;">'fb_api_key'</span>]     = $_REQUEST[$prefix<span style="color: #bf2e9d;">.</span><span style="font: 11.0px Menlo; color: #2832cf;">'_api_key'</span>];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">} <span style="color: #bf2e9d;">else</span> {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #008326;"><span style="color: #000000;"> </span>// Just so there *is* a session for times when there is no fb session</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">session_start();</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">}</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">?&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;"><span style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">If you use iframe, remember to use this funcion as well</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;"><span style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"><br />
</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;"><span style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;"> </span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d">&lt;?php</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo"><span style="white-space: pre;"> </span>$facebook-&gt;require_frame();</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d">?&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d"><span style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px;">Also use the following function if you need authentication</span></p>
<p>$user_id = $facebook-&gt;require_login();</p>
<p>Don&#8217;t forget to add this in html tag (for iframe users)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d62b24"><span style="font: 12.0px Menlo; color: #000000;">&lt;html xmlns=</span>&#8220;http://www.w3.org/1999/xhtml&#8221;<span style="font: 12.0px Menlo; color: #000000;"> xmlns:fb=</span>&#8220;http://www.facebook.com/2008/fbml&#8221;<span style="font: 12.0px Menlo; color: #000000;">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d62b24">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d62b24"><span style="font: 12.0px Menlo; color: #000000;"> </span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">For facebook client side api (Javascript), include this line</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #1440f5"><span style="font: 12.0px Menlo; color: #bf2e9d;">&lt;script </span><span style="color: #977d40;">type</span><span style="font: 12.0px Menlo; color: #bf2e9d;">=</span><span style="color: #d62b24;">&#8220;text/javascript&#8221;</span><span style="font: 12.0px Menlo; color: #bf2e9d;"> </span><span style="color: #977d40;">src</span><span style="font: 12.0px Menlo; color: #bf2e9d;">=</span><span style="color: #d62b24;">&#8220;<a href="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"><span style="color: #1440f5;">http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php</span></a>&#8220;</span><span style="font: 12.0px Menlo; color: #bf2e9d;">&gt;&lt;/script&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">For example, if you need to open a add to bookmark dialog on button click, use:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">onclick=&#8221;FB.Connect.showBookmarkDialog();&#8221;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">Add this line very bottom of the page, to avoid javascript error in some browsers (IE6 or 7 not sure)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d62b24"><span style="font: 12.0px Menlo; color: #bf2e9d;">&lt;div </span><span style="color: #977d40;">id</span><span style="font: 12.0px Menlo; color: #bf2e9d;">=</span>&#8220;FB_HiddenIFrameContainer&#8221;<span style="font: 12.0px Menlo; color: #bf2e9d;"> </span><span style="color: #977d40;">style</span><span style="font: 12.0px Menlo; color: #bf2e9d;">=</span>&#8220;display:none; position:absolute; left:-100px; top:-100px; width:0px; height: 0px;&#8221;<span style="font: 12.0px Menlo; color: #bf2e9d;">&gt;&lt;/div&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">Sometimes, your application inside iframe shows scroll bar. It is due to dynamically increasing height or width of the content</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">use the below script at the bottom of the page.</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d62b24"><span style="font: 12.0px Menlo; color: #bf2e9d;">&lt;script </span><span style="color: #977d40;">type</span><span style="font: 12.0px Menlo; color: #bf2e9d;">=</span>&#8220;text/javascript&#8221;<span style="font: 12.0px Menlo; color: #bf2e9d;">&gt;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">window.onload = <span style="color: #bf2e9d;">function</span>() {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">FB_RequireFeatures([<span style="font: 11.0px Menlo; color: #d62b24;">"XFBML"</span>, <span style="font: 11.0px Menlo; color: #d62b24;">"Connect"</span>], <span style="color: #bf2e9d;">function</span>() {</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #d62b24"><span style="font: 12.0px Menlo; color: #000000;"> FB.init(</span>&#8220;0d7c64e9a387XXXXXXXXXXXX&#8221;<span style="font: 12.0px Menlo; color: #000000;">, </span><span style="color: #2832cf;">&#8216;xd_receiver.htm&#8217;</span><span style="font: 12.0px Menlo; color: #000000;">);</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">FB.CanvasClient.startTimerToSizeToContent();</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">FB.CanvasClient.syncUrl();</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">});</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">};</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d"><span style="color: #000000;"> </span>&lt;/script&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">Look  inside the facebook api php file to know more about the functions. For example to get friends info</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;"><span style="line-height: 19px;"> </span></span></p>
<p><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: small;"> </span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d">&lt;?php</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo"><span style="white-space: pre;"> </span>$friends = $facebook-&gt;api_client-&gt;friends_get(<span style="font: 11.0px Menlo; color: #2832cf;">&#8221;</span>,$user_id);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px"><span style="white-space: pre;"> </span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo"><span style="white-space: pre;"> </span>$friends_info = $facebook-&gt;api_client-&gt;users_getInfo(implode(<span style="font: 11.0px Menlo; color: #2832cf;">&#8216;,&#8217;</span>, $friends), <span style="font: 11.0px Menlo; color: #2832cf;">&#8216;first_name,last_name,pic_square &#8216;</span> );</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d">?&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d"><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; color: #000000; font-size: small;"><span style="line-height: 19px;"><span style="font-family: Menlo, 'Times New Roman', 'Bitstream Charter', Times, serif; color: #bf2e9d; font-size: small;"><span style="line-height: normal;"><br />
</span></span></span></span></p>
<p>For ajax call inside your iframe, to avoid redirect loop, pass the full server query url along with your file.</p>
<p>&lt;?=$_SERVER['QUERY_STRING']?&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">eg:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2832cf;"><span style="font: 12.0px Menlo; color: #000000;">$(</span>&#8216;#browse_ajax&#8217;<span style="font: 12.0px Menlo; color: #000000;">).load(</span>&#8216;&lt;?=$root_path?&gt;browse_ajax.php?&lt;?=$_SERVER['<span style="font: 12.0px Menlo; color: #000000;">QUERY_STRING</span>']?&gt;&#8217;<span style="font: 12.0px Menlo; color: #000000;">);</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">When you pass Query <span style="color: #bf2e9d;">string</span>, remember to replace your parameters passing via get method<span style="color: #bf2e9d;">.</span> Otherwise</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">you cannot pass yourown custom values</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">&lt;?php</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="white-space: pre;"> </span><span style="color: #bf2e9d;">function</span> get_query_string()</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="white-space: pre;"> </span>{</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="white-space: pre;"> </span>$serverQuery = $_SERVER[<span style="font: 11.0px Menlo; color: #2832cf;">'QUERY_STRING'</span>];</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="white-space: pre;"> </span>$serverQuery=  str_replace(<span style="font: 11.0px Menlo; color: #2832cf;">&#8216;page=&#8217;</span>, <span style="font: 11.0px Menlo; color: #2832cf;">&#8216;page_=&#8217;</span>, $serverQuery);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="white-space: pre;"> </span>$serverQuery = str_replace(<span style="font: 11.0px Menlo; color: #2832cf;">&#8216;fan=&#8217;</span>, <span style="font: 11.0px Menlo; color: #2832cf;">&#8216;fan_=&#8217;</span>, $serverQuery);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="white-space: pre;"> </span>$serverQuery = str_replace(<span style="font: 11.0px Menlo; color: #2832cf;">&#8216;uid=&#8217;</span>, <span style="font: 11.0px Menlo; color: #2832cf;">&#8216;uid_=&#8217;</span>, $serverQuery);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;"><span style="white-space: pre;"> </span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="white-space: pre;"> </span><span style="color: #bf2e9d;">return</span> $serverQuery;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="white-space: pre;"> </span>}</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;"><span style="white-space: pre;"> </span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">?&gt;</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">&lt;?php</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;"><span style="color: #008326;">Use the below function for publish to wall option:</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;"><span style="white-space: pre;"> </span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="color: #bf2e9d;">function</span> publishWall()</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;"><span style="white-space: pre;"> </span>{</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2832cf;"><span style="font: 12.0px Menlo; color: #000000;"><span style="white-space: pre;"> </span></span><span style="font: 12.0px Menlo; color: #bf2e9d;">var</span><span style="font: 12.0px Menlo; color: #000000;"> message = </span>&#8216;type your message here&#8217;<span style="font: 12.0px Menlo; color: #000000;">;</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2832cf;"><span style="font: 12.0px Menlo; color: #000000;"><span style="white-space: pre;"> </span></span><span style="font: 12.0px Menlo; color: #bf2e9d;">var</span><span style="font: 12.0px Menlo; color: #000000;"> attachment = { </span>&#8216;name&#8217;<span style="font: 12.0px Menlo; color: #000000;">: </span>&#8216;your text here&#8217;<span style="font: 12.0px Menlo; color: #000000;">, </span>&#8216;href&#8217;<span style="font: 12.0px Menlo; color: #000000;">: </span>&#8216;http://urlhere.com/&#8217;<span style="font: 12.0px Menlo; color: #000000;">, </span>&#8216;description&#8217;<span style="font: 12.0px Menlo; color: #000000;">: </span>&#8216;Your message here&#8217;<span style="font: 12.0px Menlo; color: #000000;">, </span>&#8216;media&#8217;<span style="font: 12.0px Menlo; color: #000000;">: [{ </span>'type'<span style="font: 12.0px Menlo; color: #000000;">: </span>'image'<span style="font: 12.0px Menlo; color: #000000;">, </span>'src'<span style="font: 12.0px Menlo; color: #000000;">: </span>'urlhere.com', '<span style="font: 12.0px Menlo; color: #000000;">href</span>': '<span style="font: 12.0px Menlo; color: #008326;"><span style="color: #2832cf; font-size: 11px;">urlhere.com</span>'}] };</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #2832cf;"><span style="font: 12.0px Menlo; color: #bf2e9d;">var</span><span style="font: 12.0px Menlo; color: #000000;"> action_links = [{</span>'text'<span style="font: 12.0px Menlo; color: #000000;">:</span>'More like this'<span style="font: 12.0px Menlo; color: #000000;">, </span>'href'<span style="font: 12.0px Menlo; color: #000000;">:</span>'urlhere.com'<span style="font: 12.0px Menlo; color: #000000;">}];</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">FB.Connect.streamPublish(message, attachment, action_links);</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo;">}</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;">
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; min-height: 14.0px;"><span style="white-space: pre;"> </span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #bf2e9d;">?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/facebook-application-development-quick-note/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQtouch &#8211; amazing jQuery for iPhone</title>
		<link>http://www.sajithmr.me/jqtouch-amazing-jquery-for-iphone</link>
		<comments>http://www.sajithmr.me/jqtouch-amazing-jquery-for-iphone#comments</comments>
		<pubDate>Sun, 25 Apr 2010 20:24:40 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[itouch]]></category>
		<category><![CDATA[jqtouch]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[phonegap]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.sajithmr.me/?p=635</guid>
		<description><![CDATA[I think, i am becoming jQuery fan day by day. If you have an iPhone or iPod Touch or iPad, try this url in your browser: http://sajithmr.me/jqtouch/demos/main/ You will wonder for some minutes. Yes, it is not a application, it is a website and every action is created by our dearest jQuery using jQTouch library [...]]]></description>
			<content:encoded><![CDATA[<p>I think, i am becoming jQuery fan day by day. If you have an iPhone or iPod Touch or iPad, try this url in your browser:</p>
<p><a href="http://sajithmr.me/jqtouch/demos/main/" target="_blank">http://sajithmr.me/jqtouch/demos/main/</a></p>
<p>You will wonder for some minutes. Yes, it is not a application, it is a website and every action is created by our dearest jQuery using jQTouch library</p>
<p>This is the official site of jQTouch: <a href="http://www.jqtouch.com/" target="_blank">http://www.jqtouch.com/</a></p>
<p><img class="alignnone size-full wp-image-636" title="jqtouch" src="http://www.sajithmr.me/wp-content/uploads/2010/04/jqtouch.jpg" alt="jqtouch" width="270" height="500" /></p>
<p>Wait for my post about integrating jQtouch in <a href="http://www.phonegap.com/" target="_blank">PhoneGap</a> to create iPhone applications within minutes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/jqtouch-amazing-jquery-for-iphone/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symfony V/S Codeigniter</title>
		<link>http://www.sajithmr.me/symfony-vs-codeigniter</link>
		<comments>http://www.sajithmr.me/symfony-vs-codeigniter#comments</comments>
		<pubDate>Tue, 02 Jun 2009 12:55:58 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[webworld]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[controller]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[model]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[view]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/?p=409</guid>
		<description><![CDATA[     V/S     I have developed more than 7 web projects using Symfony framework. Mobshare.in, Amvizone.com, Campaignmanger.in , Movieonline.in etc are some of the websites. But for the past 5 months my developement is in Codeigniter. It is very very lighter than Symfony and has almost all the features of Symfony. Both are MVC [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.symfony-project.org/images/symfony_logo.gif" alt="symfony Web PHP framework" />     V/S     <img src="http://codeigniter.com/images/design/ci_logo2.gif" alt="CodeIgniter" width="170" height="73" /></p>
<p>I have developed more than 7 web projects using <a href="http://www.symfony-project.org/" target="_blank">Symfony</a> framework. Mobshare.in, Amvizone.com, Campaignmanger.in , Movieonline.in etc are some of the websites. But for the past 5 months my developement is in <a href="http://codeigniter.com/" target="_blank">Codeigniter</a>. It is very very lighter than Symfony and has almost all the features of Symfony. Both are MVC framework. But symfony has 4 layer while the latter has only two. Symfony uses modules (extra layer) for Controllers. But Codeigniter eleminates  that layer. It is similer to Ruby on Rails. </p>
<p>Symfony uses naming convention to map controller and view. For example controller index need indexSuccess.php file as view or indexError.php as error. But in Codeigniter, we have to specify the view manually from the controller</p>
<p>$this-&gt;load-&gt;view(&#8216;myview.php&#8217;); </p>
<p>Symfony has command line tool to develop all the model classes. One thing you have to do is specify the scheme.yml file. But in Codeigniter, you have to make model classes from the scratch. However a lot of database operation libraries are available with it to make the coding life easier. Since we have to load each libraries manually, Codeigniter gaurantee the speed of execution. (Autoloading option is there, but in most of the case we can eliminate unwanted libraries from autoloading &#8211; just like execute on the fly)</p>
<p>There is no built in ajax and javascript function in codeigniter. But you can add it as plugin. Like Symfony it also has cache management, logs, testing, helpers, url rules, documentator, scaffolding etc</p>
<p>Codeigniter has a simple folder hierachy that everybody can understand and very less learning curve than Symfony. </p>
<p> </p>
<p>Go through this link if you wanna know about all the features of codeigniter : <a href="http://codeigniter.com/user_guide/toc.html">http://codeigniter.com/user_guide/toc.html</a></p>
<p>I found another interesting comparison of these two in : <a href="http://www.devtrench.com/codeigniter-vs-symfony/">http://www.devtrench.com/codeigniter-vs-symfony/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/symfony-vs-codeigniter/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Simple steps to create a wordpress theme</title>
		<link>http://www.sajithmr.me/simple-steps-to-create-a-wordpress-theme</link>
		<comments>http://www.sajithmr.me/simple-steps-to-create-a-wordpress-theme#comments</comments>
		<pubDate>Thu, 03 Apr 2008 04:53:01 +0000</pubDate>
		<dc:creator>Mr Me</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[php source code]]></category>
		<category><![CDATA[webworld]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.sajithmr.com/simple-steps-to-create-a-wordpress-theme/</guid>
		<description><![CDATA[WordPress theme is merely a folder which is to be placed in wp-content folder of wordpress hierarchy . The basic files needed in that theme folder is index.php and style.css In this style.css the following lines are very essential. /* Theme Name: Theme Namet Theme URI: http://www.sajithmr.com/ Description: Details of your theme Author: Author name [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.sajithmr.com/wp-content/uploads/2008/04/wordpress-logo.png" alt="Wordpress Theme Development" /></p>
<p>WordPress theme is merely a folder which is to be placed in wp-content folder of wordpress hierarchy .</p>
<p>The basic files needed in that theme folder is <font color="#008000"><strong>index.php</strong></font> and <strong><font color="#008000">style.css</font></strong></p>
<p>In this style.css the following lines are very essential.<br />
<font color="#999999">/*</font></p>
<p><font color="#999999">Theme Name: Theme Namet</font></p>
<p><font color="#999999">Theme URI: http://www.sajithmr.com/</font></p>
<p><font color="#999999">Description: Details of your theme<a href="http://www.sajithmr.com/"></a></font></p>
<p><font color="#999999">Author: Author name<br />
</font></p>
<p><font color="#999999">Author URI: http://www.sajithmr.com/</font></p>
<p><font color="#999999">This theme was designed and built by Sajith</font></p>
<p><font color="#999999">The CSS, XHTML and design is released under GPL</font></p>
<p><font color="#999999">http://www.opensource.org/licenses/gpl-license.php</font></p>
<p><font color="#999999">*/</font><br />
Design your theme (static page) and put this as index.php in theme folder. Go to wordpress admin panel and set the current theme as the theme you created now. Then you can see the static design created by you.</p>
<p>Next step is make each part dynamic.  For example if you want to make your blog title dynamic , replace your static code with</p>
<p><strong><font color="#ff0000">&lt;?php</font></strong> wp_title(); <strong><font color="#ff0000">?&gt;</font></strong></p>
<p>Make your style sheet path also dynamic by : <font color="#339966">&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;&lt;?php bloginfo(&#8216;stylesheet_url&#8217;); ?&gt;&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt;</font></p>
<p>Like this , there is a lot of built in dynamic functions in wordpress.I will give you some  links at the end of this post .</p>
<p>Another , very special , feature of wordpress theme is its hierarchy. You can sub divide the index.php files into a lot of sub files. See the below picture</p>
<p><a href="http://www.sajithmr.com/wp-content/uploads/2008/04/wordpress-template-hierarchy.png" title="Wordpress theme hierarchy" target="_blank"><img src="http://www.sajithmr.com/wp-content/uploads/2008/04/wordpress-template-hierarchy.png" alt="Wordpress theme hierarchy" height="406" width="546" /></a></p>
<p>(Click on the picture to see full size)</p>
<p>This picture shows the control flow whenever a particular url request arrives.  For example you can write all the code for footer in <font color="#339966">footer.php</font> and can include this file in your<font color="#339966"> </font><font color="#339966">index.php</font> file as</p>
<p><strong><font color="#ff0000">&lt;?php</font></strong> get_footer(); <font color="#ff0000"><strong>?&gt; </strong></font></p>
<p>Some important wordpress dynamic functions:</p>
<p>Function for showing posts:</p>
<p><font color="#808080">&lt;?php if (have_posts()) : ?&gt;</font></p>
<p><font color="#808080">&lt;?php while (have_posts()) : the_post(); ?&gt;</font></p>
<p><font color="#808080">&lt;?php the_content(&#8216;Read More  »&#8217;); ?&gt;</font></p>
<p><font color="#808080">&lt;?php break;?&gt;</font></p>
<p><font color="#808080">&lt;?php endwhile; ?&gt;<br />
&lt;?php endif; ?&gt;</font></p>
<p>See this link for further development:<a href="http://codex.wordpress.org/Theme_Development" target="_blank"> http://codex.wordpress.org/Theme_Development</a></p>
<p><img src="http://www.sajithmr.com/wp-content/uploads/2008/04/wordpress-logo1.jpg" alt="Wordpress Theme Development" /> <img src="http://www.sajithmr.com/wp-content/uploads/2008/04/wordpress-logo-cristalminiatura.jpg" alt="Wordpress Theme Development" height="143" width="143" /></p>
<p><u>Some useful functions:</u></p>
<p><font color="#ff0000"><strong>&lt;?php  </strong></font>wp_list_categories(&#8216;title_li=&#8217;); <font color="#ff0000"><strong>?&gt;</strong></font>  <font color="#999999">/* Listing categories */</font></p>
<p><font color="#ff0000"><strong>&lt;?php</strong></font> edit_post_link(&#8216;Edit this entry.&#8217;,&#8221;,&#8221;);<font color="#ff0000"><strong> ?&gt;</strong></font><font color="#999999">   /* Post edit link*/</font></p>
<p><font color="#ff0000"><strong>&lt;?php</strong></font> the_category() <font color="#ff0000"><strong>?&gt;  </strong></font><font color="#999999">/* Shows current category*/</font></p>
<p><font color="#ff0000"><strong>&lt;?php</strong></font> wp_list_pages(&#8216;sort_column=menu_order&amp;depth=1&amp;title_li=&#8217;);<font color="#ff0000"><strong>?&gt;</strong></font>  <font color="#999999">/*  Page Links*/</font></p>
<p><font color="#ff0000"><strong>&lt;?php</strong></font> wp_head(); <strong><font color="#ff0000">?&gt;</font></strong><font color="#999999">  /* Head information */</font></p>
<p><font color="#ff0000"><strong>&lt;?php</strong></font> wp_loginout(); <strong><font color="#ff0000">?&gt;</font></strong>  <font color="#999999">/* Login / logout links*/</font></p>
<p><font color="#ff0000"><strong>&lt;?php</strong></font> the_permalink() <strong><font color="#ff0000">?&gt;</font></strong> <font color="#999999">/* Get the permalink */</font></p>
<p><font color="#ff0000"><strong>&lt;?php</strong></font> the_excerpt(); <strong><font color="#ff0000">?&gt;</font></strong> <font color="#999999">/* Get the short description of a post*/</font></p>
<p><font color="#ff0000"><strong>&lt;?php</strong></font> posts_nav_link(&#8216; — &#8216;, __(&#8216;« Older Posts&#8217;), __(&#8216;Newer Posts »&#8217;)); <strong><font color="#ff0000">?&gt;</font></strong><font color="#999999"> /*Page navigation*/</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sajithmr.me/simple-steps-to-create-a-wordpress-theme/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

