<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Its My Life</title>
	<atom:link href="http://mtpamir.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mtpamir.wordpress.com</link>
	<description>I do whatever I like... its my life</description>
	<lastBuildDate>Mon, 08 Nov 2010 06:17:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mtpamir.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/d61b586793985f49b28d77140846369d?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Its My Life</title>
		<link>http://mtpamir.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mtpamir.wordpress.com/osd.xml" title="Its My Life" />
	<atom:link rel='hub' href='http://mtpamir.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Hide Notice and Warning in CodeIgniter</title>
		<link>http://mtpamir.wordpress.com/2010/11/08/hide-notice-warning-codeigniter/</link>
		<comments>http://mtpamir.wordpress.com/2010/11/08/hide-notice-warning-codeigniter/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 06:17:36 +0000</pubDate>
		<dc:creator>mtpamir</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mtpamir.wordpress.com/?p=32</guid>
		<description><![CDATA[What I should Say&#8230; its not special for CodeIgniter to hide notice or warning. rather its a PHP thing. I used the following code in my controller. error_reporting(E_ALL ^ (E_NOTICE &#124; E_WARNING)); so my controller looked like: function MyController() { parent::Controller();    error_reporting(E_ALL ^ (E_NOTICE &#124; E_WARNING)); } you can also do this from your PHP [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=32&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>What I should Say&#8230; its not special for CodeIgniter to hide notice or warning. rather its a PHP thing. I used the following code in my controller.</p>
<pre><em><span style="color:#008000;">error_reporting(E_ALL ^ (E_NOTICE | E_WARNING));</span></em>
so my controller looked like:
<span style="color:#000000;"><span style="color:#0000ff;">function</span> MyController<span style="color:#0000ff;">()</span></span>
<span style="color:#0000ff;"> {</span>
<span style="color:#000000;"><span style="color:#008000;"> parent</span>::<span style="color:#0000ff;">Controller()</span>;    </span>
<span style="color:#000000;"><em><span style="color:#0000ff;"> error_reporting(</span>E_ALL ^ <span style="color:#0000ff;">(</span>E_NOTICE <span style="color:#0000ff;">|</span> E_WARNING<span style="color:#0000ff;">))</span>;</em></span>
<span style="color:#0000ff;"> }</span></pre>
<p>you can also do this from your PHP settings. But as I was working on my local machine, I had several works in my PC. and obviously some had different settings. So, I used this technique.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mtpamir.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mtpamir.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mtpamir.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mtpamir.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mtpamir.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mtpamir.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mtpamir.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mtpamir.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mtpamir.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mtpamir.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mtpamir.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mtpamir.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mtpamir.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mtpamir.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=32&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mtpamir.wordpress.com/2010/11/08/hide-notice-warning-codeigniter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/841ce59ffb59dfc0ff006741d9b94b2a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">mtpamir</media:title>
		</media:content>
	</item>
		<item>
		<title>I started to work with MVC pattern with CodeIgniter</title>
		<link>http://mtpamir.wordpress.com/2010/11/08/i-started-to-work-with-mvc-pattern-with-codeigniter/</link>
		<comments>http://mtpamir.wordpress.com/2010/11/08/i-started-to-work-with-mvc-pattern-with-codeigniter/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 05:59:07 +0000</pubDate>
		<dc:creator>mtpamir</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mtpamir.wordpress.com/?p=29</guid>
		<description><![CDATA[Usually I work with Joomla and WordPress for creating websites. But these CMSs are not that handy to create new a fully customized web-based system. Few weeks back I had to give a quick internal release for our company. So, I had to choose a MVC framework. I searched for the suitable framework which was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=29&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Usually I work with <a href="http://joomla.org" target="_blank">Joomla</a> and <a href="http://wordpress.org" target="_blank">WordPress</a> for creating websites. But these CMSs are not that handy to create new a fully customized web-based system. Few weeks back I had to give a quick internal release for our company. So, I had to choose a <a href="http://en.wikipedia.org/wiki/Model%E2%80%93View%E2%80%93Controller" target="_blank">MVC framework</a>.</p>
<p>I searched for the suitable framework which was easy to learn and provide fast development time. among the popular frameworks like Zend, CakePHP, CodeIgniter, Symphony I chose CodeIgniter. It looked easy to me to start with. and also its faster. Though its not fully Object Oriented, but its well documented with was very important for me.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mtpamir.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mtpamir.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mtpamir.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mtpamir.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mtpamir.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mtpamir.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mtpamir.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mtpamir.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mtpamir.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mtpamir.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mtpamir.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mtpamir.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mtpamir.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mtpamir.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=29&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mtpamir.wordpress.com/2010/11/08/i-started-to-work-with-mvc-pattern-with-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/841ce59ffb59dfc0ff006741d9b94b2a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">mtpamir</media:title>
		</media:content>
	</item>
		<item>
		<title>Bangla in Joomla</title>
		<link>http://mtpamir.wordpress.com/2010/06/26/bangla-in-joomla/</link>
		<comments>http://mtpamir.wordpress.com/2010/06/26/bangla-in-joomla/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 09:05:00 +0000</pubDate>
		<dc:creator>mtpamir</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mtpamir.wordpress.com/?p=24</guid>
		<description><![CDATA[Dear Friends&#8230; You can create Bangla site with Joomla. tinyBN is the tinyMCE plugin. get more information in http://ekushey.org/?page/Bangla-TinyMCE Google transliterate plugin informatics is here: http://amiworks.co.in/talk/akindicplugin-transliteration-in-indian-lanuguages-for-tinymce/ http://amiworks.co.in/talk/akindicplugin-for-tinymce-and-joomla/ thanks to http://ekushey.org/ and http://amiworks.co.in for their support<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=24&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dear Friends&#8230; You can create Bangla site with Joomla.</p>
<p>tinyBN is the tinyMCE plugin. get more information in http://ekushey.org/?page/Bangla-TinyMCE</p>
<p>Google transliterate plugin informatics is here:</p>
<p>http://amiworks.co.in/talk/akindicplugin-transliteration-in-indian-lanuguages-for-tinymce/</p>
<p>http://amiworks.co.in/talk/akindicplugin-for-tinymce-and-joomla/</p>
<p>thanks to http://ekushey.org/ and http://amiworks.co.in for their support <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mtpamir.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mtpamir.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mtpamir.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mtpamir.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mtpamir.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mtpamir.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mtpamir.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mtpamir.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mtpamir.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mtpamir.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mtpamir.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mtpamir.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mtpamir.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mtpamir.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=24&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mtpamir.wordpress.com/2010/06/26/bangla-in-joomla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/841ce59ffb59dfc0ff006741d9b94b2a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">mtpamir</media:title>
		</media:content>
	</item>
		<item>
		<title>How to pass Joomla 1.5 parameters to wrapper page</title>
		<link>http://mtpamir.wordpress.com/2009/07/21/how-to-pass-joomla-1-5-parameters-to-wrapper-page/</link>
		<comments>http://mtpamir.wordpress.com/2009/07/21/how-to-pass-joomla-1-5-parameters-to-wrapper-page/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 10:05:37 +0000</pubDate>
		<dc:creator>mtpamir</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://mtpamir.wordpress.com/?p=21</guid>
		<description><![CDATA[Wrapper is used in joomla to use some external page in Joomla site. Sometimes we need to pass some joomla variables to the wrapper page. We can do it by slightly editing the wrapper component&#8217;s default.php. It is found in:Your_joomla_root/components/com_wrapper/views/wrapper/tmpl/default.php around line 25 you will find the source of the wrapper. just pass your desired [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=21&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Wrapper is used in joomla to use some external page in Joomla site. Sometimes we need to pass some joomla variables to the wrapper page. We can do it by slightly editing the wrapper component&#8217;s default.php. It is found in:<span style="color:#008000;"><em>Your_joomla_root/components/com_wrapper/views/wrapper/tmpl/default.php</em></span></p>
<p>around line 25 you will find the source of the wrapper. just pass your desired variable in the source and easily you can retrive them using GET method. for example:</p>
<p>you will find near line 25</p>
<p><span style="color:#3366ff;">src=&#8221;&lt;?php echo $this-&gt;wrapper-&gt;url; ?&gt;&#8221; </span></p>
<p>you can change it like:</p>
<p><span style="color:#3366ff;">src=&#8221;&lt;?php echo $this-&gt;wrapper-&gt;url.&#8221;?username=&#8221;.$user.&#8221;&amp;email=&#8221;.$email ?&gt;&#8221;</span></p>
<p>you are done. enjoy coding <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><!--Session data--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mtpamir.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mtpamir.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mtpamir.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mtpamir.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mtpamir.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mtpamir.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mtpamir.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mtpamir.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mtpamir.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mtpamir.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mtpamir.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mtpamir.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mtpamir.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mtpamir.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=21&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mtpamir.wordpress.com/2009/07/21/how-to-pass-joomla-1-5-parameters-to-wrapper-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/841ce59ffb59dfc0ff006741d9b94b2a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">mtpamir</media:title>
		</media:content>
	</item>
		<item>
		<title>How to switch to PHP5 using .htaccess</title>
		<link>http://mtpamir.wordpress.com/2009/07/21/how-to-switch-to-php5-using-htaccess/</link>
		<comments>http://mtpamir.wordpress.com/2009/07/21/how-to-switch-to-php5-using-htaccess/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 06:10:38 +0000</pubDate>
		<dc:creator>mtpamir</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://mtpamir.wordpress.com/?p=18</guid>
		<description><![CDATA[I know its a old thing to php gigs but I&#8217;ve recently learned it. the PHP programmers [like me] learn to code with PHP5. Few days back I registered a domain and uploaded some works. I figured out something wrong in the live server but they were working fine in my localhost. I checked PHP [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=18&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I know its a old thing to php gigs but I&#8217;ve recently learned it. the PHP programmers [like me] learn to code with PHP5. Few days back I registered a domain and uploaded some works. I figured out something wrong in the live server but they were working fine in my localhost. I checked PHP version and found its PHP4. I searched in the google and found a solution to switch php version using .htaccess file.</p>
<p>Add [any]one of the three lines at the end of your current .htaccess file. actually you can test one after one to find which one works best for your host.</p>
<p>AddType x-mapp-php5 .php<br />
AddHandler application/x-httpd-php5 .php<br />
AddHandler cgi-php5 .php</p>
<p>For more info please visit the link below.</p>
<p>Source: <a href="http://forum.joomla.org/viewtopic.php?t=100045" target="_blank">http://forum.joomla.org/viewtopic.php?t=100045</a></p>
<p><!--Session data--></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mtpamir.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mtpamir.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mtpamir.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mtpamir.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mtpamir.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mtpamir.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mtpamir.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mtpamir.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mtpamir.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mtpamir.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mtpamir.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mtpamir.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mtpamir.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mtpamir.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=18&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mtpamir.wordpress.com/2009/07/21/how-to-switch-to-php5-using-htaccess/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/841ce59ffb59dfc0ff006741d9b94b2a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">mtpamir</media:title>
		</media:content>
	</item>
		<item>
		<title>Facebook Application Publish Feed Dialog</title>
		<link>http://mtpamir.wordpress.com/2009/06/09/facebook-application-publish-feed-dialog/</link>
		<comments>http://mtpamir.wordpress.com/2009/06/09/facebook-application-publish-feed-dialog/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 06:49:55 +0000</pubDate>
		<dc:creator>mtpamir</dc:creator>
				<category><![CDATA[Facebook]]></category>

		<guid isPermaLink="false">http://mtpamir.wordpress.com/?p=12</guid>
		<description><![CDATA[last couple of days I was trying to publish feed user actions in friends&#8217; news feed but failed. there is a FBJS function Facebook.showFeedDialog which is used to publish news. the example in the facebook developers&#8217; wiki says to use it like: var user_message_prompt = &#8220;What do you think of this book?&#8221;; var user_message = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=12&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>last couple of days I was trying to publish feed user actions in friends&#8217; news feed but failed. there is a FBJS function <strong>Facebook.showFeedDialog</strong> which is used to publish news. the example in the <a href="http://wiki.developers.facebook.com/index.php/Facebook.showFeedDialog" target="_blank">facebook developers&#8217; wiki</a> says to use it like:</p>
<p><span style="color:#008000;">var user_message_prompt = &#8220;What do you think of this book?&#8221;;<br />
var user_message = {value: &#8220;write your review here&#8221;};<br />
var continuation = function() {     //your code here&#8230; };</span></p>
<p><span style="color:#008000;">Facebook.showFeedDialog(template_bundle_id, template_data, body_general, 563683308, continuation, user_message_prompt, user_message);</span></p>
<p>but the problem I faced: I couldn&#8217;t use more than one (1) friends ID in the function and it only published to one friends wall.</p>
<p>I talked to a senior app developer [Junal vai] and he provided me a working example. then I found out what I was missing <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . Just put nothing in the target_id place[in the given example its: 563683308]. put a blank string[ '' ] and you are done. i mean its like:</p>
<p><span style="color:#008000;">Facebook.showFeedDialog(template_bundle_id, template_data, body_general, &#8221;, continuation, user_message_prompt, user_message);</span></p>
<p>Then it will publish in the user&#8217;s[actor] profile &amp; to his/her friends news feed. cheers <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mtpamir.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mtpamir.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mtpamir.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mtpamir.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mtpamir.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mtpamir.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mtpamir.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mtpamir.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mtpamir.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mtpamir.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mtpamir.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mtpamir.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mtpamir.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mtpamir.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mtpamir.wordpress.com&amp;blog=4272879&amp;post=12&amp;subd=mtpamir&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mtpamir.wordpress.com/2009/06/09/facebook-application-publish-feed-dialog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/841ce59ffb59dfc0ff006741d9b94b2a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">mtpamir</media:title>
		</media:content>
	</item>
	</channel>
</rss>
