<?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>Technology made easy</title>
	<atom:link href="http://arunchouthri.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://arunchouthri.wordpress.com</link>
	<description>my learnings and experiences</description>
	<lastBuildDate>Mon, 12 Jan 2009 10:38:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='arunchouthri.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Technology made easy</title>
		<link>http://arunchouthri.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://arunchouthri.wordpress.com/osd.xml" title="Technology made easy" />
	<atom:link rel='hub' href='http://arunchouthri.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Singleton implementation in c# with lock</title>
		<link>http://arunchouthri.wordpress.com/2009/01/12/singleton-implementation-in-c-lock/</link>
		<comments>http://arunchouthri.wordpress.com/2009/01/12/singleton-implementation-in-c-lock/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 10:30:10 +0000</pubDate>
		<dc:creator>arun</dc:creator>
				<category><![CDATA[Design Patterns]]></category>

		<guid isPermaLink="false">http://arunchouthri.wordpress.com/?p=22</guid>
		<description><![CDATA[Sometimes we just want to have one and only instance of a class. Like a class used for logging or a class used for modifying registry settings or some configuration files. If we have more than one instance of this class we could run into a mess and confusion. To solve this we have the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunchouthri.wordpress.com&amp;blog=4375770&amp;post=22&amp;subd=arunchouthri&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>
Sometimes we just want to have one and only instance of a class. Like a class used for logging or a class used for modifying registry settings or some configuration files. If we have more than one instance of this class we could run into a mess and confusion. To solve this we have the singleton class.</p>
<p>Singleton class is class which has only one instance and cannot be intantiated more than once.</p>
<p>Singleton classes need to be implemented as shown below.
</p>
<p>
using System;</p>
<p>namespace LearnCs<br />
{<br />
public class Singleton<br />
{<br />
/// &lt;summary&gt;<br />
/// We have a static variable to hold a instance of this class.<br />
/// &lt;/summary&gt;<br />
private static Singleton SingletonInstance;<br />
private static object dummyObject = new object(); </span><br />
// Why do we need this dummyObject?? U will learn later<br />
/// &lt;summary&gt;<br />
/// A private constructor ensures that no one can instantiate this class<br />
/// by using new keyword outside this class<br />
/// &lt;/summary&gt;<br />
private Singleton()<br />
{</p>
<p>}</p>
<p>/// &lt;summary&gt;<br />
///  Get Instance method returns the one and only instance of Singleton class.<br />
/// &lt;/summary&gt;<br />
/// &lt;returns&gt;One and only instance of Singleton&lt;/returns&gt;<br />
public static Singleton getSingletonInstance()<br />
{<br />
if(SingletonInstance == null)<br />
SingletonInstance = new Singleton();</p>
<p>return SingletonInstance;<br />
}</p>
<p>//Other methods corresponding to this class here<br />
}<br />
}
</p>
<p>
Please note that this could run into problem if multiple threads call getSingletonInstance() method for first time.</p>
<p>If we know that multiple threads could call this getSingletonInstance() method, then use the lock keyword in the following manner inside that function.
</p>
<p>
public static Singleton getSingletonInstance()<br />
{<br />
if (SingletonInstance == null)<br />
{<br />
//SingletonInstance = new Singleton();<br />
// The above line should not be used if multiple threads<br />
// are going to access this method simultaneously.<br />
// lock makes sure that the access to this portion of code<br />
// is synchronized by various threads.<br />
lock (dummyObject)<br />
{<br />
if (SingletonInstance == null)<br />
SingletonInstance = new Singleton();<br />
}<br />
}<br />
return SingletonInstance;<br />
}
</p>
<p>
But remember, using lock might decrease the performance of your code upto 100 times.  So better avoid it, if not needed. Rather try to initialize <span style="color:#0000ff;">SingletonInstance <span style="color:#000000;">variable in the beginning itself !!</span><br />
</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunchouthri.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunchouthri.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunchouthri.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunchouthri.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunchouthri.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunchouthri.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunchouthri.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunchouthri.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunchouthri.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunchouthri.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunchouthri.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunchouthri.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunchouthri.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunchouthri.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunchouthri.wordpress.com&amp;blog=4375770&amp;post=22&amp;subd=arunchouthri&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunchouthri.wordpress.com/2009/01/12/singleton-implementation-in-c-lock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/728138ea9bf5680d91b9111450e316d0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arun</media:title>
		</media:content>
	</item>
		<item>
		<title>Manipulating options of a listbox or a dropdown listbox at client side using Javascript</title>
		<link>http://arunchouthri.wordpress.com/2008/08/11/manipulating-options-of-a-listbox-or-a-dropdown-listbox-at-client-side-using-javascript/</link>
		<comments>http://arunchouthri.wordpress.com/2008/08/11/manipulating-options-of-a-listbox-or-a-dropdown-listbox-at-client-side-using-javascript/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 12:27:52 +0000</pubDate>
		<dc:creator>arun</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://arunchouthri.wordpress.com/?p=18</guid>
		<description><![CDATA[ASP.NET Listbox or DropDown Listbox is basically a HTML select control. We can use Javascript to manipulate the listbox at client side. Following is the code snippet for doing that To remove all options from a listbox: function clearListBox(listboxID) { // returns 1 if all items are sucessfully removed var mylistbox = document.getElementById(listboxID); if(mylistbox == [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunchouthri.wordpress.com&amp;blog=4375770&amp;post=18&amp;subd=arunchouthri&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ASP.NET Listbox or DropDown Listbox is basically a HTML select control.<br />
We can use Javascript to manipulate the listbox at client side.</p>
<p>Following is the code snippet for doing that</p>
<p>To remove all options from a listbox:</p>
<p><code></p>
<pre class="code">
 function clearListBox(listboxID)
 {
 	// returns 1 if all items are sucessfully removed
	var mylistbox = document.getElementById(listboxID);
	if(mylistbox == null)
	  return 1;
	while(mylistbox.length &gt; 0)
	{
	  mylistbox.remove(0);
	}
	  return 1;
 }
</pre>
<p></code></p>
<p>To add an options to a listbox:</p>
<p><code></p>
<pre class="code">
 function AddOptions(listboxID,text,value)
 {
	var mylistbox = document.getElementById(listboxID);
	var myOption = new Option(text, value);
	mylistbox.options[mylistbox.options.length] = myOption;
 }
</pre>
<p></code></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/arunchouthri.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/arunchouthri.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunchouthri.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunchouthri.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunchouthri.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunchouthri.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunchouthri.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunchouthri.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunchouthri.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunchouthri.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunchouthri.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunchouthri.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunchouthri.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunchouthri.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunchouthri.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunchouthri.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunchouthri.wordpress.com&amp;blog=4375770&amp;post=18&amp;subd=arunchouthri&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunchouthri.wordpress.com/2008/08/11/manipulating-options-of-a-listbox-or-a-dropdown-listbox-at-client-side-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/728138ea9bf5680d91b9111450e316d0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arun</media:title>
		</media:content>
	</item>
		<item>
		<title>Abstract or Virtual Method &#124; New or Override Method &#124; What are the differences?</title>
		<link>http://arunchouthri.wordpress.com/2008/08/07/abstract-or-virtual-method-new-or-override-method-what-are-the-differences/</link>
		<comments>http://arunchouthri.wordpress.com/2008/08/07/abstract-or-virtual-method-new-or-override-method-what-are-the-differences/#comments</comments>
		<pubDate>Thu, 07 Aug 2008 11:35:37 +0000</pubDate>
		<dc:creator>arun</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://arunchouthri.wordpress.com/?p=13</guid>
		<description><![CDATA[This is a basic thing but can be quite confusing also!! Let me give a try to explain this&#8230;. Methods without definitions in base class (are basically abstract methods) and must be implemented in derived class with &#8220;override&#8221; keyword. The &#8220;new&#8221; keyword cannot be used here. A method with definition in base class is normal [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunchouthri.wordpress.com&amp;blog=4375770&amp;post=13&amp;subd=arunchouthri&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a basic thing but can be quite confusing also!! Let me give a try to explain this&#8230;.</p>
<p>Methods without definitions in base class (are basically abstract methods) and<br />
must be implemented in derived class with &#8220;override&#8221; keyword. The &#8220;new&#8221; keyword cannot be used here.</p>
<p>A method with definition in base class is normal (which doesn&#8217;t have &#8220;virtual&#8221; keyword)<br />
There is no need to override/hide it in the derived class.<br />
But it &#8220;can&#8221; be hidden in derived class with &#8220;new&#8221; keyword </p>
<p>Consider a method with definition in base class which has &#8220;virtual&#8221; keyword, this &#8220;can&#8221; be overridden in derived class with &#8220;override&#8221; or hidden using &#8220;new&#8221; keyword.</p>
<p>Overriding Vs Hiding</p>
<p>When an reference of abstract class contains instance of the derived class<br />
and an method found in both classes is called, then here we can note a difference in it.</p>
<p>New keyword simply hides the method in base class.<br />
So its actually present and can be called from a reference of the base class.</p>
<p>But override overwrites the method in base class.<br />
So a overridden method in base class is not called when called from a reference of a base class.</p>
<p>Note this example:</p>
<pre>

using System;

namespace aruns_code
{
abstract class abs
{

	// A method without definition in base class is abstract
	// and should be implemented in derived class
	// with "override" keyword
	public abstract void absMethod();

	public void nonAbs()
	{
		Console.Write("inside nonAbs of abs\n");
	}

	public virtual void nonAbs2()
	{
		Console.Write("inside nonAbs2 of abs\n");
	}
}

class der : abs
{
	public override void absMethod()
	{
		Console.Write("inside absMethod of der\n");
	}

	// A method with definition in base class is normal one
	// and can be overridden in derived class with new keyword
	public new void nonAbs()
	{
		Console.Write("inside nonAbs of der\n");
	}

	// A method with definition in base class is normal
	// but has virtual keyword
	// and "may" be overridden in derived class
	//with "override" or "new" keyword
	public override void nonAbs2()
	{
		Console.Write("inside nonAbs2 of der\n");
	}
}

class testHiding
{
	[STAThread]
	static void Main(string[] args)
	{
		abs absObj = new der();
		absObj.absMethod();
		absObj.nonAbs();
		absObj.nonAbs2();
	}
}
}

/*

OUTPUT IS :

inside absMethod of der
inside nonAbs of abs
inside nonAbs2 of der
Press any key to continue 

 */
</pre>
<p>So you got it. If you still did not get it, then please put a comment below. I will get back to you !!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/arunchouthri.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/arunchouthri.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunchouthri.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunchouthri.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunchouthri.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunchouthri.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunchouthri.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunchouthri.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunchouthri.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunchouthri.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunchouthri.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunchouthri.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunchouthri.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunchouthri.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunchouthri.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunchouthri.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunchouthri.wordpress.com&amp;blog=4375770&amp;post=13&amp;subd=arunchouthri&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunchouthri.wordpress.com/2008/08/07/abstract-or-virtual-method-new-or-override-method-what-are-the-differences/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/728138ea9bf5680d91b9111450e316d0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arun</media:title>
		</media:content>
	</item>
		<item>
		<title>Reference of Abstract class containing instance of derived class</title>
		<link>http://arunchouthri.wordpress.com/2008/07/31/reference-of-abstract-class-containing-instance-of-derived-class/</link>
		<comments>http://arunchouthri.wordpress.com/2008/07/31/reference-of-abstract-class-containing-instance-of-derived-class/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 06:17:12 +0000</pubDate>
		<dc:creator>arun</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://arunchouthri.wordpress.com/?p=3</guid>
		<description><![CDATA[You could have seen a object initialization like this A a = new B(); where B is a derived class of A. But we cannot do the other way around. B b = new A(); // because A is an abstract class Take a look into the below example and its output.You can understand how [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunchouthri.wordpress.com&amp;blog=4375770&amp;post=3&amp;subd=arunchouthri&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You could have seen a object initialization like this<br />
<br />
A a = new B();<br />
<br />
where B is a derived class of A. But we cannot do the other way around.<br />
<br />
B b = new A();	// because A is an abstract class<br />
<br />
Take a look into the below example and its output.You can understand how it works.</p>
<p><pre>
using System;
using System.Text;

namespace aruns_code
{
	class testAbstract
	{
		[STAThread]
		static void Main(string[] args)
		{
			der derObj = new der();
			derObj.nonAbs();

			Console.WriteLine("\n\n");

			abs absObj = new der();
			absObj.nonAbs();
			absObj.absMethod();
		}
	}

	class der : abs
	{
		public der()
		{
			Console.Write("initialized der\n");
		}

		public override void absMethod()
		{
			Console.Write("inside der\n");
		}

		public new void nonAbs()
		{
			Console.Write("inside nonAbs of der\n");
		}
	}

	abstract class abs
	{
		public abs()
		{
			Console.Write("initialized abs\n");
		}

		public abstract void absMethod();

		public void nonAbs()
		{
			Console.Write("inside nonAbs of abs\n");
		}
	}

}
</pre>
<p>The following is the output.<br />
<font color="Blue"><br />
initialized abs<br />
initialized der<br />
inside nonAbs of der</p>
<p>initialized abs<br />
initialized der<br />
inside nonAbs of abs<br />
inside der<br />
Press any key to continue<br />
</font>
</p>
<p>See that, when an instance of derived class is created, it&#8217;s initializing the base class also. This explains why it happened so!! Also note the selection of methods done here (whether from derived or base class).</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/arunchouthri.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/arunchouthri.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/arunchouthri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/arunchouthri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/arunchouthri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/arunchouthri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/arunchouthri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/arunchouthri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/arunchouthri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/arunchouthri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/arunchouthri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/arunchouthri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/arunchouthri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/arunchouthri.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/arunchouthri.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/arunchouthri.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=arunchouthri.wordpress.com&amp;blog=4375770&amp;post=3&amp;subd=arunchouthri&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://arunchouthri.wordpress.com/2008/07/31/reference-of-abstract-class-containing-instance-of-derived-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/728138ea9bf5680d91b9111450e316d0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">arun</media:title>
		</media:content>
	</item>
	</channel>
</rss>
