<?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>Love2Trade&#039;s Blog &#187; Technical</title>
	<atom:link href="http://blog.love2trade.com/category/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.love2trade.com</link>
	<description>Love2Trade Plans, Ideas &#38; Vision</description>
	<lastBuildDate>Fri, 06 Jan 2012 14:53:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='blog.love2trade.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Love2Trade&#039;s Blog &#187; Technical</title>
		<link>http://blog.love2trade.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://blog.love2trade.com/osd.xml" title="Love2Trade&#039;s Blog" />
	<atom:link rel='hub' href='http://blog.love2trade.com/?pushpress=hub'/>
		<item>
		<title>Oodle Json serialization Error converting value &#8220;j&#8221;</title>
		<link>http://blog.love2trade.com/2010/12/18/oodle-json-serialization-error-converting-value-j/</link>
		<comments>http://blog.love2trade.com/2010/12/18/oodle-json-serialization-error-converting-value-j/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 18:00:11 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[oodle .net api rpc restapi]]></category>

		<guid isPermaLink="false">http://blog.love2trade.com/?p=135</guid>
		<description><![CDATA[If you are using the Oodle .NET API library – OodleRestApi then you may have encountered an exception that looks like this: First Exception: Error converting value "j" to type 'Love2Trade.OodleRestApi.Json.OodleResult+ImageData+ImageSizeData'. Newtonsoft.Json.JsonSerializationException: Error converting value "j" to type 'Love2Trade.OodleRestApi.Json.OodleResult+ImageData+ImageSizeData'. ---&#62; System.Exception: Could not cast or convert from System.String to Love2Trade.OodleRestApi.Json.OodleResult+ImageData+ImageSizeData. at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value, Type initialType, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=135&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are using the <a title="Oodle .NET API library – OodleRestApi" href="http://blog.love2trade.com/2010/09/13/oodleapi/">Oodle .NET API library – OodleRestApi</a> then you may have encountered an exception that looks like this:</p>
<p><code>First Exception:<strong> Error converting value "j" to type 'Love2Trade.OodleRestApi.Json.OodleResult+ImageData+ImageSizeData'.</strong><br />
Newtonsoft.Json.JsonSerializationException: Error converting value "j" to type 'Love2Trade.OodleRestApi.Json.OodleResult+ImageData+ImageSizeData'. ---&gt; System.Exception: Could not cast or convert from System.String to Love2Trade.OodleRestApi.Json.OodleResult+ImageData+ImageSizeData.<br />
at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value, Type initialType, Type targetType) in d:\Development\Releases\Json\Working\Src\Newtonsoft.Json\Utilities\ConvertUtils.cs:line 460<br />
at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue, CultureInfo culture, Type targetType) in d:\Development\Releases\Json\Working\Src\Newtonsoft.Json\Utilities\ConvertUtils.cs:line 385<br />
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(Object value, Type targetType) in d:\Development\Releases\Json\Working\Src\Newtonsoft.Json\Serialization\JsonSerializerInternalReader.cs:line 464<br />
</code></p>
<p>I have updated the library and it&#8217;s now fixed. You can <a title="Oodle .NET API library" href="http://www.love2trade.com/Love2Trade.OodleRestApi.zip">download it here </a></p>
<br />Filed under: <a href='http://blog.love2trade.com/category/technical/'>Technical</a> Tagged: <a href='http://blog.love2trade.com/tag/oodle-net-api-rpc-restapi/'>oodle .net api rpc restapi</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/love2trade.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/love2trade.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/love2trade.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/love2trade.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/love2trade.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/love2trade.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/love2trade.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/love2trade.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/love2trade.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/love2trade.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/love2trade.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/love2trade.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/love2trade.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/love2trade.wordpress.com/135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=135&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.love2trade.com/2010/12/18/oodle-json-serialization-error-converting-value-j/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5ee1d5183135a3e9ef2a32c7690ca2e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ash</media:title>
		</media:content>
	</item>
		<item>
		<title>Oodle .NET API library &#8211; OodleRestApi</title>
		<link>http://blog.love2trade.com/2010/09/13/oodleapi/</link>
		<comments>http://blog.love2trade.com/2010/09/13/oodleapi/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 04:20:32 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[classifieds]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[free code]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[oodle]]></category>
		<category><![CDATA[oodle api]]></category>
		<category><![CDATA[parser]]></category>
		<category><![CDATA[rest]]></category>

		<guid isPermaLink="false">http://blog.love2trade.com/?p=110</guid>
		<description><![CDATA[So I recently started to focus my effort to switch over from the legacy xml interface with oodle to their new REST-based web service for love2trade.com since it promises to be 20 times faster!   I spent several hours trying to put this library together which should help others as well. Many thanks for Steve [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=110&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So I recently started to focus my effort to switch over from the legacy xml interface with oodle to their new REST-based web service for love2trade.com since it promises to be 20 times faster!  <em> </em>I spent several hours trying to put this library together which should help others as well. Many thanks for <a title="Steven Baker from Oodle" href="http://www.stevenbaker.com/about/" target="_blank">Steve Baker</a> from oodle in helping me get some issues sorted out.</p>
<p>We will make this library open source at some point in the near future. For now you are free to use the library &amp; if you really want the code, shoot me an email!</p>
<div id="_mcePaste">OodleRestApi.NET is a free library that I have developed in my personal time. I would really appreciate your feedback and support for OodleRestApi and its future development.</div>
<div>Getting Started:</div>
<div>1. <a title="OodleRestApi.NET library" href="http://www.love2trade.com/Love2Trade.OodleRestApi.zip" target="_blank">Download OodleRestApi dll from </a><strong><a title="OodleRestApi.NET library" href="http://www.love2trade.com/Love2Trade.OodleRestApi.zip" target="_blank">here</a> (library is compiled in .NET 4.0)<br />
Or get the <a title="Oodle Rest .NET api 2.0" href="http://love2trade.com/Love2Trade.OodleRestApi20.zip" target="_blank">OodleRestApi .NET 2.0 build from here</a> </strong></div>
<div>2.  In your project, add reference to the OodleRestApi library Love2Trade.OodleRestApi.dll</div>
<div><a href="http://love2trade.files.wordpress.com/2010/09/reference.png"><img class="alignnone size-full wp-image-113" title="reference" src="http://love2trade.files.wordpress.com/2010/09/reference.png?w=468" alt=""   /></a></div>
<div>3. OodleRestApi uses  JSON.NET for deserializing oodle&#8217;s response. You will need to download the latests from <a href="http://json.codeplex.com/releases/view/50552">http://json.codeplex.com/</a>. After that you will need to add reference to Newtonsoft.Json.dll in your project</div>
<div>4. Now you are ready to roll!! The quickest way to learn is to show you a sample client.</div>
<p><pre class="brush: csharp;">

//Create the OodleRequest object that will be serialized to the server
OodleRequest oodleRequest = new OodleRequest(&quot;TEST&quot;);
oodleRequest.Filter.location.Region = Regions.RegionTypes._usa;
oodleRequest.Paging.Start = 1;
oodleRequest.Paging.Num = 50;
oodleRequest.Filter.refinements = Filter.refinementsTypes.none;
oodleRequest.Paging.Sort = Paging.SortKey.ctime;
oodleRequest.Filter.attributes.AddPriceRange(5000, 6000);
oodleRequest.category = &quot;vehicle&quot;;
oodleRequest.q = &quot;honda civic&quot;;

//Creating the webrequest object - Notice that the oodleRequest is simply a string representation of your query which you can print to the screen for troubleshooting
WebRequest webRequest = WebRequest.Create(oodleRequest.ToString());
using (WebResponse response = webRequest.GetResponse())
{
    using (StreamReader reader = new StreamReader(response.GetResponseStream()))
    {
        //this will get the JSON result back from oodle
        string output = reader.ReadToEnd();
        //We do a minor alteration in the json string due to a problem oodle is facing with php's representation of objects as arrays
        output = output.Replace(&quot;\&quot;location\&quot;:[]&quot;, &quot;\&quot;location\&quot;:{}&quot;).Replace(&quot;\&quot;user\&quot;:[]&quot;, &quot;\&quot;user\&quot;:{}&quot;);
        OodleResult Result = JsonConvert.DeserializeObject&lt;OodleResult&gt;(output);
        //Now you can whatever you want with the results, you can start by iterating through Result.Listings to view all the listings your query returned
    }
}
</pre></p>
<p>You will notice that both the OodleRequest &amp; OodleResponse objects represents a very similar structure to the structure defined by oodle in <a title="Oodle Api parameters" href="http://developer.oodle.com/listings" target="_blank">Oodle Api parameters</a></p>
<p>The Oodle Response is broken down to 5 main parts</p>
<ul>
<li><strong>Current</strong> &#8211; This contains information about the query that is returned, (ex. Region, Category, Start item #, Num or items returned).</li>
<li><strong>Listings</strong> &#8211; This is a strong typed array of Listings. The maximum you will ever find is 50 items <a href="http://developer.oodle.com/listings#num" target="_blank">as defined by oodle</a></li>
<li><strong>Meta</strong> &#8211; Metadata details on the results available. How many total items available for your search query&#8230;etc. This is very important if you are implementing paging in your result set.</li>
<li><strong>Refinements</strong> &#8211; by default this is null unless you have requested refinements in your oodle request (ex. <span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;line-height:18px;font-size:12px;white-space:pre;">oodleRequest.Filter.refinements=none | simple | full)</span><span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;font-size:small;"><span style="line-height:18px;white-space:pre;"> </span></span></li>
<li><strong>Stat</strong> &#8211; should always be &#8220;ok&#8221; if everything runs good.</li>
</ul>
<p>Everything else is really self explanatory and you can depend on your IDE&#8217;s intellisense to guide you. Feel free to comment on this post if you have any Qs.</p>
<p>Let me know your feedback!! :)</p>
<div>
<dl class="wp-caption alignnone">
<dt class="wp-caption-dt"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=X3VY4SLFQN25Q"><img class="size-full wp-image-111" title="Donate" src="http://love2trade.files.wordpress.com/2010/09/btn_donatecc_lg.gif?w=468" alt="Support OodleRestApi"   /></a></dt>
<dd class="wp-caption-dd">We appreciate your support for OodleRestApi</dd>
</dl>
</div>
<br />Filed under: <a href='http://blog.love2trade.com/category/technical/'>Technical</a> Tagged: <a href='http://blog.love2trade.com/tag/classifieds/'>classifieds</a>, <a href='http://blog.love2trade.com/tag/feed/'>feed</a>, <a href='http://blog.love2trade.com/tag/free-code/'>free code</a>, <a href='http://blog.love2trade.com/tag/json/'>json</a>, <a href='http://blog.love2trade.com/tag/oodle/'>oodle</a>, <a href='http://blog.love2trade.com/tag/oodle-api/'>oodle api</a>, <a href='http://blog.love2trade.com/tag/parser/'>parser</a>, <a href='http://blog.love2trade.com/tag/rest/'>rest</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/love2trade.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/love2trade.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/love2trade.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/love2trade.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/love2trade.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/love2trade.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/love2trade.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/love2trade.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/love2trade.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/love2trade.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/love2trade.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/love2trade.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/love2trade.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/love2trade.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=110&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.love2trade.com/2010/09/13/oodleapi/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5ee1d5183135a3e9ef2a32c7690ca2e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ash</media:title>
		</media:content>

		<media:content url="http://love2trade.files.wordpress.com/2010/09/reference.png" medium="image">
			<media:title type="html">reference</media:title>
		</media:content>

		<media:content url="http://love2trade.files.wordpress.com/2010/09/btn_donatecc_lg.gif" medium="image">
			<media:title type="html">Donate</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple Regex to Remove Html tags</title>
		<link>http://blog.love2trade.com/2008/09/30/simple-regex-to-remove-html-tags/</link>
		<comments>http://blog.love2trade.com/2008/09/30/simple-regex-to-remove-html-tags/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 04:20:27 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://love2trade.wordpress.com/?p=71</guid>
		<description><![CDATA[This is one of the simplest regex to remove html tags from some html text. I know its not the best but i&#8217;d argue that it&#8217;s one of the simplest. ;) Posted in Technical Tagged: .net, html, regex, tags, xml<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=71&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is one of the simplest regex to remove html tags from some html text. I know its not the best but i&#8217;d argue that it&#8217;s one of the simplest. ;)</p>
<p><pre class="brush: csharp;">

public static string RemoveHtml(string txt)
{
    return Regex.Replace(txt, @&quot;&lt;[^&gt;]*&gt;&quot;, &quot;&quot;);
}

</pre></p>
<br />Posted in Technical Tagged: .net, html, regex, tags, xml <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/love2trade.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/love2trade.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/love2trade.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/love2trade.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/love2trade.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/love2trade.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/love2trade.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/love2trade.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/love2trade.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/love2trade.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/love2trade.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/love2trade.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/love2trade.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/love2trade.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=71&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.love2trade.com/2008/09/30/simple-regex-to-remove-html-tags/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5ee1d5183135a3e9ef2a32c7690ca2e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ash</media:title>
		</media:content>
	</item>
		<item>
		<title>Formatting .NET DateTime to display Day suffix (st, nd ,rd , th)</title>
		<link>http://blog.love2trade.com/2008/03/04/formatting-net-datetime-to-display-day-suffix-st-nd-rd-th/</link>
		<comments>http://blog.love2trade.com/2008/03/04/formatting-net-datetime-to-display-day-suffix-st-nd-rd-th/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 21:50:41 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://love2trade.wordpress.com/?p=34</guid>
		<description><![CDATA[I find it intersting that the MS did not have this by default as part of the Standard DateTime Format Strings for .NET. So I did my own thing.. You can download a good pdf  reference for .NET DateTime formats from http://john-sheehan.com/blog/wp-content/uploads/msnet-formatting-strings.pdf<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=34&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I find it intersting that the MS did not have this by default as part of the Standard DateTime Format Strings for .NET.</p>
<p>So I did my own thing..<br />
<span id="more-34"></span></p>
<p><pre class="brush: csharp;">
public static string FormatDateTime(DateTime date)
    {
        return String.Format(&quot;{0:dddd}, {1} {0:MMMM} {0:yyyy}&quot;, date, AppendDaySuffix(date.Day) );
    }
public static string AppendDaySuffix(int day)
    {
        string daySuffix = &quot;&quot;;
        if (day == 1 || day == 21 || day == 31)
            daySuffix = &quot;st&quot;;
        else if (day == 2 || day == 22)
            daySuffix = &quot;nd&quot;;
        else if (day == 3 || day == 23)
            daySuffix = &quot;rd&quot;;
        else
            daySuffix = &quot;th&quot;;
        return (day + daySuffix);
    }

</pre><br />
You can download a good pdf  reference for .NET DateTime formats from<br />
<a href="http://john-sheehan.com/blog/wp-content/uploads/msnet-formatting-strings.pdf">http://john-sheehan.com/blog/wp-content/uploads/msnet-formatting-strings.pdf</a></p>
<pre></pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/love2trade.wordpress.com/34/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/love2trade.wordpress.com/34/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/love2trade.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/love2trade.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/love2trade.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/love2trade.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/love2trade.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/love2trade.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/love2trade.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/love2trade.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/love2trade.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/love2trade.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/love2trade.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/love2trade.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/love2trade.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/love2trade.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=34&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.love2trade.com/2008/03/04/formatting-net-datetime-to-display-day-suffix-st-nd-rd-th/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5ee1d5183135a3e9ef2a32c7690ca2e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ash</media:title>
		</media:content>
	</item>
		<item>
		<title>Backing-up www.love2trade.com SQLServer DB 2005 from ASP.NET</title>
		<link>http://blog.love2trade.com/2008/01/17/backing-up-sqlserver-db-2005-from-aspnet/</link>
		<comments>http://blog.love2trade.com/2008/01/17/backing-up-sqlserver-db-2005-from-aspnet/#comments</comments>
		<pubDate>Thu, 17 Jan 2008 21:28:28 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://love2trade.wordpress.com/2008/01/17/backing-up-sqlserver-db-2005-from-aspnet/</guid>
		<description><![CDATA[Hi guys, This is the code you would use to trigger a full sql 2005 backup to a .BK file from a ASPX page, i use that on www.Love2Trade.com  ****You want to put this code somethere in the website that only YOU have access to (Admin page or something)**** //ASPX File //Code Behind   Ash www.love2trade.com<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=13&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi guys,</p>
<p>This is the code you would use to trigger a full sql 2005 backup to a .BK file from a ASPX page, i use that on <a href="http://www.love2trade.com/">www.Love2Trade.com</a> <br />
<span id="more-13"></span><br />
<strong>****You want to put this code somethere in the website that only YOU have access to (Admin page or something)****</strong></p>
<p>//<strong>ASPX File</strong></p>
<p><pre class="brush: xml;">&lt;br /&gt;
&lt;fieldset style=&quot;padding:5px&quot;&gt;&lt;legend&gt;Database Backup&lt;/legend&gt;&lt;br /&gt;
Server: &lt;asp:TextBox CssClass=&quot;box&quot; ID=&quot;txtServer&quot; Text=&quot;ServerName\Instance&quot; runat=&quot;server&quot; Width=&quot;150px&quot;/&gt;&lt;br /&gt;&lt;br /&gt;
Database: &lt;asp:TextBox CssClass=&quot;box&quot; ID=&quot;txtDatabase&quot; Text=&quot;DBName&quot; runat=&quot;server&quot; Width=&quot;150px&quot;/&gt;&lt;br /&gt;&lt;br /&gt;
User: &lt;asp:TextBox CssClass=&quot;box&quot; ID=&quot;txtUser&quot; Text=&quot;user&quot; runat=&quot;server&quot; Width=&quot;70px&quot;/&gt;&lt;br /&gt;&lt;br /&gt;
Pass: &lt;asp:TextBox CssClass=&quot;box&quot; ID=&quot;txtPass&quot; Text=&quot;&quot; TextMode=&quot;Password&quot; runat=&quot;server&quot; Width=&quot;70px&quot;/&gt;&lt;br /&gt; Backup to: &lt;asp:TextBox CssClass=&quot;box&quot; ID=&quot;txtBKLocation&quot; Text=&quot;&quot; runat=&quot;server&quot; Width=&quot;250px&quot;/&gt;&lt;br /&gt;&lt;asp:Button CssClass=&quot;box&quot; ID=&quot;btnBackup&quot; runat=&quot;server&quot; Text=&quot;Start Backup&quot; OnClick=&quot;btnBackup_Clicked&quot; /&gt; &lt;br /&gt;&lt;asp:Literal ID=&quot;lblErr&quot; runat=&quot;server&quot; /&gt;&lt;/fieldset&gt;&lt;br /&gt;
</pre><br />
<strong>//Code Behind</strong><code><font size="2"><font size="2"></font></font></code><code><font size="2"><font size="2"></font></font></code><code><font size="2"><font size="2"></font></font></code><code><font size="2"><font size="2"></font></font></code><code><font size="2"><font size="2"></font></font></code><code><font size="2"><font size="2"> </font></font></code><code><font size="2"><font size="2"></p>
<div style="font-size:10pt;background:white;color:black;font-family:Courier New;">
<p style="margin:0;"> </p>
<p><pre class="brush: csharp;">&lt;br /&gt;
protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        txtBKLocation.Text =Request.MapPath(DateTime.Now.Ticks+&quot;.bk&quot;) ;&lt;br /&gt;
    }&lt;/p&gt;
&lt;p&gt;&lt;p style=&quot;margin:0;&quot;&gt;    protected void btnBackup_Clicked(object sender, EventArgs e)&lt;br /&gt;
    {&lt;br /&gt;
        try&lt;br /&gt;
        {&lt;br /&gt;
            ServerConnection sc=new ServerConnection(txtServer.Text,txtUser.Text,txtPass.Text);&lt;br /&gt;
            Server svr = new Server(sc);&lt;br /&gt;
            Backup bkp = new Backup();&lt;br /&gt;
            bkp.Devices.AddDevice(txtBKLocation.Text, DeviceType.File);&lt;br /&gt;
            bkp.Database = txtDatabase.Text;&lt;br /&gt;
            bkp.Action = BackupActionType.Database;&lt;br /&gt;
            bkp.Initialize = true;&lt;br /&gt;
            bkp.PercentCompleteNotification = 10;&lt;br /&gt;
            //        bkp.PercentComplete += new PercentCompleteEventHandler(bkp_PercentComplete);&lt;br /&gt;
            bkp.SqlBackup(svr);&lt;br /&gt;
            lblErr.Text = &quot;&lt;span style='color:#0F0'&gt;Done!&lt;/span&gt;&quot;;&lt;br /&gt;
        }catch(Exception ee)&lt;br /&gt;
        {&lt;br /&gt;
            lblErr.Text = ee.Message + &quot;&lt;br/&gt;&quot; + ee.StackTrace + &quot;&lt;br/&gt;&quot; + ee.InnerException.Message + &quot;&lt;br/&gt;&quot; + ee.InnerException.StackTrace;&lt;br /&gt;
        }&lt;br /&gt;
    }</pre></p>
</div>
<p><font size="2"><font size="2">Ash</font></font></p>
<p><font size="2"><font size="2"><a href="http://www.love2trade.com/">www.love2trade.com</a></font></font></p>
<p></font></font></code><br />
<fieldset></fieldset></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/love2trade.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/love2trade.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/love2trade.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/love2trade.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/love2trade.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/love2trade.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/love2trade.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/love2trade.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/love2trade.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/love2trade.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/love2trade.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/love2trade.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/love2trade.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/love2trade.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/love2trade.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/love2trade.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=13&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.love2trade.com/2008/01/17/backing-up-sqlserver-db-2005-from-aspnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5ee1d5183135a3e9ef2a32c7690ca2e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ash</media:title>
		</media:content>
	</item>
		<item>
		<title>Get notified when your website throws an exception.</title>
		<link>http://blog.love2trade.com/2007/11/05/get-notified-when-your-website-throws-an-exception/</link>
		<comments>http://blog.love2trade.com/2007/11/05/get-notified-when-your-website-throws-an-exception/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 22:42:54 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://love2trade.wordpress.com/2007/11/05/get-notified-when-your-website-throws-an-exception/</guid>
		<description><![CDATA[I used this code below in my website www.love2trade.com. This will send an email whenever an exception is thrown in your asp.net website, there is a 15 minutes throttle on the frequency of emails. In Application Start Class In Global.asax Hope some will find this useful.-Ash<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=11&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I used this code below in my website www.love2trade.com.</p>
<p>This will send an email whenever an exception is thrown in your asp.net website, there is a 15 minutes throttle on the frequency of emails.</p>
<p><strong>In Application Start Class</strong></p>
<p><pre class="brush: csharp;">
private static int _exceptionCount;
private static DateTime _timeofLastException;
private static object _timeofLastExceptionLock = new object();
private static object _exceptionCountLock = new object();public static DateTime TimeofLastException
{
get { return _timeofLastException; }set { lock(_timeofLastExceptionLock){_timeofLastException = value;} }
}public static int ExceptionCount
{
get { return _exceptionCount; }set { lock(_exceptionCountLock){_exceptionCount = value;} }
}

</pre><br />
<strong>In Global.asax</strong><br />
<pre class="brush: csharp;">
void Application_Error(object sender, EventArgs e){
Love2TradeHttpApplication.ExceptionCount++;
if(DateTime.Now &gt; Love2TradeHttpApplication.TimeofLastException.Add(new TimeSpan(0,15,0)))
{
try
{
MailMessage mail = new MailMessage(&quot;errors@love2trade.com&quot;, &quot;test@example.com&quot;);
string ErrorMessage = Love2TradeHttpApplication.ExceptionCount+
 &quot; Exceptions were thrown since the last error email.rnThe error description is as follows : &quot; + Server.GetLastError();
mail.Subject = &quot;Exception thrown in love2trade.com&quot;;
mail.Priority = MailPriority.High;
mail.BodyEncoding = Encoding.ASCII;
mail.Body = ErrorMessage;
SmtpClient client = new SmtpClient();// Add credentials if the SMTP server requires them.
client.Credentials = CredentialCache.DefaultNetworkCredentials;client.Send(mail);
Love2TradeHttpApplication.TimeofLastException=DateTime.Now;
Love2TradeHttpApplication.ExceptionCount=0;
}
catch (Exception){
//donothing
}
}
}</pre><br />
Hope some will find this useful.-Ash</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/love2trade.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/love2trade.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/love2trade.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/love2trade.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/love2trade.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/love2trade.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/love2trade.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/love2trade.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/love2trade.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/love2trade.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/love2trade.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/love2trade.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/love2trade.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/love2trade.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/love2trade.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/love2trade.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=11&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.love2trade.com/2007/11/05/get-notified-when-your-website-throws-an-exception/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5ee1d5183135a3e9ef2a32c7690ca2e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ash</media:title>
		</media:content>
	</item>
		<item>
		<title>Finding Distance between two points using longitude and latitude</title>
		<link>http://blog.love2trade.com/2007/11/02/finding-distance-between-two-points-using-longitude-and-latitude/</link>
		<comments>http://blog.love2trade.com/2007/11/02/finding-distance-between-two-points-using-longitude-and-latitude/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 00:24:06 +0000</pubDate>
		<dc:creator>ash</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[ash]]></category>
		<category><![CDATA[Distance]]></category>

		<guid isPermaLink="false">http://love2trade.wordpress.com/2007/11/02/finding-distance-between-two-points-using-longitude-and-latitude/</guid>
		<description><![CDATA[This is a method that calulates a distance between two points. Let me know if you have a more acurate formula. public static bool ZipDistance(double Lat1, double Lon1, double Lat2, double Lon2, ref double result)     {         double LatRad1;         double LonRad1;         double LatRad2;         double LonRad2;         double [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=10&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="margin:0;">This is a method that calulates a distance between two points. Let me know if you have a more acurate formula.<span id="more-10"></span></p>
<p style="margin:0;"><span style="color:blue;">public</span> <span style="color:blue;">static</span> <span style="color:blue;">bool</span> ZipDistance(<span style="color:blue;">double</span> Lat1, <span style="color:blue;">double</span> Lon1, <span style="color:blue;">double</span> Lat2, <span style="color:blue;">double</span> Lon2, <span style="color:blue;">ref</span> <span style="color:blue;">double</span> result)</p>
<p style="margin:0;">    {</p>
<p style="margin:0;">        <span style="color:blue;">double</span> LatRad1;</p>
<p style="margin:0;">        <span style="color:blue;">double</span> LonRad1;</p>
<p style="margin:0;">        <span style="color:blue;">double</span> LatRad2;</p>
<p style="margin:0;">        <span style="color:blue;">double</span> LonRad2;</p>
<p style="margin:0;">        <span style="color:blue;">double</span> LonRadDif;</p>
<p style="margin:0;">        <span style="color:blue;">double</span> RadDist;</p>
<p style="margin:0;">        <span style="color:blue;">double</span> X;</p>
<p style="margin:0;">        <span style="color:blue;">double</span> PI;</p>
<p style="margin:0;">        <span style="color:blue;">double</span> DistMI;</p>
<p style="margin:0;">        PI = 3.141592654;</p>
<p style="margin:0;">        <span style="color:blue;">if</span> (Lat1 == 0 | Lon1 == 0 | Lat2 == 0 | Lon2 == 0)</p>
<p style="margin:0;">        {</p>
<p style="margin:0;">            <span style="color:blue;">return</span> <span style="color:blue;">false</span>;</p>
<p style="margin:0;">        }</p>
<p style="margin:0;">        <span style="color:blue;">else</span> <span style="color:blue;">if</span> (Lat1 == Lat2 &amp; Lon1 == Lon2)</p>
<p style="margin:0;">        {</p>
<p style="margin:0;">            <span style="color:blue;">return</span> <span style="color:blue;">false</span>;</p>
<p style="margin:0;">        }</p>
<p style="margin:0;">        LatRad1 = Lat1 * PI / 180;</p>
<p style="margin:0;">        LonRad1 = Lon1 * PI / 180;</p>
<p style="margin:0;">        LatRad2 = Lat2 * PI / 180;</p>
<p style="margin:0;">        LonRad2 = Lon2 * PI / 180;</p>
<p style="margin:0;">        <span style="color:blue;">try</span></p>
<p style="margin:0;">        {</p>
<p style="margin:0;">            LonRadDif = <span style="color:#2b91af;">Math</span>.Abs(LonRad1 &#8211; LonRad2);</p>
<p style="margin:0;">            X = <span style="color:#2b91af;">Math</span>.Sin(LatRad1)*<span style="color:#2b91af;">Math</span>.Sin(LatRad2) + <span style="color:#2b91af;">Math</span>.Cos(LatRad1)*<span style="color:#2b91af;">Math</span>.Cos(LatRad2)*<span style="color:#2b91af;">Math</span>.Cos(LonRadDif);</p>
<p style="margin:0;">            RadDist = <span style="color:#2b91af;">Math</span>.Atan(-X/<span style="color:#2b91af;">Math</span>.Sqrt(-X*X + 1)) + 2*<span style="color:#2b91af;">Math</span>.Atan(1);</p>
<p style="margin:0;">            DistMI = RadDist*3958.754;</p>
<p style="margin:0;">            result = DistMI;</p>
<p style="margin:0;">        }<span style="color:blue;">catch</span>(<span style="color:#2b91af;">Exception</span>)</p>
<p style="margin:0;">        {</p>
<p style="margin:0;">            <span style="color:blue;">return</span> <span style="color:blue;">false</span>;</p>
<p style="margin:0;">        }</p>
<p style="margin:0;">        <span style="color:blue;">return</span> <span style="color:blue;">true</span>;</p>
<p style="margin:0;">    }</p>
<p><!--EndFragment--></p>
<p><!--EndFragment--></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/love2trade.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/love2trade.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/love2trade.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/love2trade.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/love2trade.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/love2trade.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/love2trade.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/love2trade.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/love2trade.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/love2trade.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/love2trade.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/love2trade.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/love2trade.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/love2trade.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/love2trade.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/love2trade.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=blog.love2trade.com&amp;blog=1998526&amp;post=10&amp;subd=love2trade&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://blog.love2trade.com/2007/11/02/finding-distance-between-two-points-using-longitude-and-latitude/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5ee1d5183135a3e9ef2a32c7690ca2e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ash</media:title>
		</media:content>
	</item>
	</channel>
</rss>
