<?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/"
	>

<channel>
	<title>khatana.in - The Portfolio &#38; Blog of Pravesh khatana &#124; Independent Freelancer &#124; Silverlight/ Flash/ Web/ Graphic/ UI/ UX Designer, Developer &#38; Animator from New Delhi, India</title>
	<atom:link href="http://www.khatana.in/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.khatana.in</link>
	<description>think . design . share</description>
	<lastBuildDate>Mon, 05 Dec 2011 17:05:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Blakk Panda</title>
		<link>http://www.khatana.in/2011/10/blakk-panda/</link>
		<comments>http://www.khatana.in/2011/10/blakk-panda/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 19:16:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mybranding]]></category>

		<guid isPermaLink="false">http://www.khatana.in/?p=592</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[
]]></content:encoded>
			<wfw:commentRss>http://www.khatana.in/2011/10/blakk-panda/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Foxyit</title>
		<link>http://www.khatana.in/2011/10/foxyit/</link>
		<comments>http://www.khatana.in/2011/10/foxyit/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 19:09:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mybranding]]></category>

		<guid isPermaLink="false">http://www.khatana.in/?p=589</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.khatana.in/2011/10/foxyit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paypal NVP API example in C# (asp.net)</title>
		<link>http://www.khatana.in/2011/09/paypal-nvp-api-example-in-c-asp-net/</link>
		<comments>http://www.khatana.in/2011/09/paypal-nvp-api-example-in-c-asp-net/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 19:11:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Paypal]]></category>

		<guid isPermaLink="false">http://www.khatana.in/?p=569</guid>
		<description><![CDATA[This API is a very easy way to accept credit cards through your web app. Although , I don't think there are any simple examples available for ASP.Net 2.0. This beginner example will at least allow you to send a request to paypal and then get the response back from the API and display the [...]]]></description>
			<content:encoded><![CDATA[<p><img width="500" height="174" alt="paypal 1" src="/images/2011/09/paypal-1.jpg" /></p>
<p>This API is a very easy way to accept credit cards through your web app. Although , I don't think there are any simple examples available for ASP.Net 2.0. This beginner example will at least allow you to send a request to paypal and then get the response back from the API and display the error to a label.</p>
<p>Prereqs:<br />
- Paypal business account with paypal websites pro enabled<br />
- Paypal sandbox account (you must login and accept the agreement for websites pro from this account)<br />
- get an API username, password, &amp; signature from your sandbox account<span id="more-569"></span></p>
<p>Steps:</p>
<h3><strong>1- create an ASPX form with the following fields:</strong></h3>
<p><br />
cctypeDdl, ccnumberTextbox, expdateDropDown, yearDropDown, CVVcodeTextBox, amountTextBox, firstnameTextbox, lastnameTextbox, addressTextbox, cityTextbox, regionTextbox, countryDropDown, postalTextbox<br />
and these labels: successLabel, errLabel, errcodeLabel</p>
<h3><strong>2- Create a button control and button_click event handler</strong></h3>
<h3><strong>3- copy below code into your event handler</strong></h3>
<p><p>
								<pre class="Plum_Code_Box"><code class="csharp">//API Credentials (3-token)
string strUsername = &quot;brad_apiX.w3XXXXX.com&quot;;
string strPassword = &quot;XXXCCGUJP2EXXXX&quot;;
string strSignature = &quot;XXXXXXZLVYanEw944w0oPBsJXXXXXXX&quot;;
string strCredentials = &quot;USER=&quot; + strUsername + &quot;&amp;PWD=&quot; + strPassword + &quot;&amp;SIGNATURE=&quot; + strSignature;

string strNVPSandboxServer = &quot;https://api-3t.sandbox.paypal.com/nvp&quot;;
string strAPIVersion = &quot;2.3&quot;;

string strNVP = strCredentials + &quot;&amp;METHOD=DoDirectPayment&quot; +
&quot;&amp;CREDITCARDTYPE=&quot; + cctypeDdl.Text +
&quot;&amp;ACCT=&quot; + ccnumberTextbox.Text +
&quot;&amp;EXPDATE=&quot; + expdateDropDown.Text + yearDropDown.Text +
&quot;&amp;CVV2=&quot; + CVVcodeTextBox.Text +
&quot;&amp;AMT=&quot; + amountTextBox.Text +
&quot;&amp;FIRSTNAME=&quot; + firstnameTextbox.Text +
&quot;&amp;LASTNAME=&quot; + lastnameTextbox.Text +
&quot;&amp;IPADDRESS=255.55.167.002&quot; +
&quot;&amp;STREET=&quot; + addressTextbox.Text +
&quot;&amp;CITY=&quot; + cityTextbox.Text +
&quot;&amp;STATE=&quot; + regionTextbox.Text +
&quot;&amp;COUNTRY=&quot; + countryDropDown.Text +
&quot;&amp;ZIP=95110&quot; + postalTextbox.Text +
&quot;&amp;COUNTRYCODE=US&quot; +
&quot;&amp;PAYMENTACTION=Sale&quot; +
&quot;&amp;VERSION=&quot; + strAPIVersion;

try
{
//Create web request and web response objects, make sure you using the correct server (sandbox/live)
HttpWebRequest wrWebRequest = (HttpWebRequest)WebRequest.Create(strNVPSandboxServer);
wrWebRequest.Method = &quot;POST&quot;;
StreamWriter requestWriter = new StreamWriter(wrWebRequest.GetRequestStream());
requestWriter.Write(strNVP);
requestWriter.Close();

// Get the response.
HttpWebResponse hwrWebResponse = (HttpWebResponse)wrWebRequest.GetResponse();
StreamReader responseReader = new StreamReader(wrWebRequest.GetResponse().GetResponseStream());

//and read the response
string responseData = responseReader.ReadToEnd();
responseReader.Close();

string result = Server.UrlDecode(responseData);

string[] arrResult = result.Split('&amp;');
Hashtable htResponse = new Hashtable();
string[] responseItemArray;
foreach (string responseItem in arrResult)
{
responseItemArray = responseItem.Split('=');
htResponse.Add(responseItemArray[0], responseItemArray[1]);
}

string strAck = htResponse[&quot;ACK&quot;].ToString();

if (strAck == &quot;Success&quot; || strAck == &quot;SuccessWithWarning&quot;)
{
string strAmt = htResponse[&quot;AMT&quot;].ToString();
string strCcy = htResponse[&quot;CURRENCYCODE&quot;].ToString();
string strTransactionID = htResponse[&quot;TRANSACTIONID&quot;].ToString();
ordersDataSource.InsertParameters[&quot;TransactionID&quot;].DefaultValue = strTransactionID;

string strSuccess = &quot;Thank you, your order for: $&quot; + strAmt + &quot; &quot; + strCcy + &quot; has been processed.&quot;;
successLabel.Text = strSuccess;
}
else
{
string strErr = &quot;Error: &quot; + htResponse[&quot;L_LONGMESSAGE0&quot;].ToString();
string strErrcode = &quot;Error code: &quot; + htResponse[&quot;L_ERRORCODE0&quot;].ToString();
errLabel.Text = strErr;
errcodeLabel.Text = strErrcode;
return;
}
}
catch (Exception ex)
{
// do something to catch the error, like write to a log file.
Response.Write(&quot;error processing&quot;);
}</code>
									</pre>
							</p></p>
<p>Keep in mind that you'll need to serve this page via SSL for production use. Otherwise, someone could sniff all your customers credit card numbers. For a inexpensive SSL certs, try <a target="_blank" href="http://x.co/ZieH">godaddy.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.khatana.in/2011/09/paypal-nvp-api-example-in-c-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome Extensions for a Web Designer</title>
		<link>http://www.khatana.in/2011/09/google-chrome-extensions-for-a-web-designer/</link>
		<comments>http://www.khatana.in/2011/09/google-chrome-extensions-for-a-web-designer/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 19:18:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.khatana.in/?p=547</guid>
		<description><![CDATA[I’ve recently switched to Google Chrome. I’ve been reluctant to switch from Firefox for a long time purely because of my huge admiration for Firebug and the Web Developer Toolbar, however that’s all changed thanks to the Google Chrome Extensions in this post. Google Chrome Extensions colorPicker 0.9 This is very useful if you have [...]]]></description>
			<content:encoded><![CDATA[<p><img width="500" height="260" alt="Google Chrome Extensions" src="/images/2011/09/Google-Chrome-Extensions.jpg" /></p>
<p>I’ve recently switched to Google Chrome. I’ve been reluctant to switch from Firefox for a long time purely because of my huge admiration for Firebug and the Web Developer Toolbar, however that’s all changed thanks to the Google Chrome Extensions in this post.<span id="more-547"></span></p>
<blockquote>
<h2>Google Chrome Extensions</h2>
<h3><a href="https://chrome.google.com/webstore/detail/jegimleidpfmpepbfajjlielaheedkdo"><strong>colorPicker 0.9</strong></a></h3>
<p>This is very useful if you have to make decisions about some coloring on your freshly developed web page ("it's hard to read this text here,… what if the color would be a little darker or the background a little lighter…" well, here you can change and see it with an ease right away)</p>
<p>The use of this tool is quite intuitive if you are an experienced web developer... the DOM-Explorer works similar to the one in Chrome and the color picker/chooser like the one in Photoshop.</p>
<h3><a href="https://chrome.google.com/extensions/detail/bmagokdooijbeehmkpknfglimnifench"><strong>Firebug Lite</strong></a></h3>
<p>Firebug for Google Chrome isn’t quite up to a par with the Firefox version but the beta version isn’t that far off. I’ve also not found a way to see the line number in the CSS which would be really useful but it’s certainly not a reason for me to continue using Firefox anymore.</p>
<h3><a href="https://chrome.google.com/extensions/detail/gbkffbkamcejhkcaocmkdeiiccpmjfdi"><strong>Pendule</strong></a></h3>
<p>The Firefox Web Developer Toolbar was one of the first extensions I used for Firefox and was a great tool for debugging problems. I don’t use it as much since the release of Firebug but it still has some useful features. Pendule for Google Chrome does replicate some of these features and especially useful is the ability to switch off images and CSS so this is another must have tool for any web designer using Chrome.</p>
<h3><a href="https://chrome.google.com/extensions/detail/idhfcdbheobinplaamokffboaccidbal"><strong>Resolution Test</strong></a></h3>
<p>Unfortunately one of the things missing from Pendule is the ability to resize the browser window to a specific size at the click of a button. However, the Resolution Test extension makes that easy and also allows you to launch a number of browser window sizes in separate windows which is a pretty nice feature.</p>
<h3><a href="https://chrome.google.com/extensions/detail/ckibcdccnfeookdmbahgiakhnjcddpki"><strong>Webpage Screenshot</strong></a></h3>
<p>I was using Fireshot within Firefox to quickly take screenshots but the Webpage Screenshot extension provides the same functionality for Google Chrome and in my opinion is a little more usable.</p>
<h3><a href="https://chrome.google.com/extensions/detail/ajpgkpeckebdhofmmjfgcjjiiejpodla"><strong>Xmarks Bookmarks Sync</strong></a></h3>
<p>I previously used Xmarks within Firefox so having this available in Chrome was a bonus. Xmarks simply allows you to synchronise bookmarks across different computers and different browsers which is very useful if you want to bookmark something at work and then have it available on your home PC or laptop.</p>
<h3><a href="https://chrome.google.com/extensions/detail/encaiiljifbdbjlphpgpiimidegddhic"><strong>Chromed Bird</strong></a></h3>
<p>I’ve been using <a href="http://www.tweetdeck.com/">Tweet Deck</a> for most of my Twitter updates but having this available quickly and easily from within my web browser is extremely handy.</p>
<h3><a href="https://chrome.google.com/extensions/detail/chieodlkhimccchlojdmiondhiggkhmf"><strong>ChromeMilk</strong></a></h3>
<p>I use <a href="http://www.rememberthemilk.com">Remember the Milk</a> as a daily task list. I’ve previously been using the desktop app but having an extension within the browser itself is a little time saver. You’ll need to register for free on the Remember the Milk website but if managing your tasks across different PCs or mobile devices would be useful for you then this is definitely something to consider.</p>
<h3><a href="https://chrome.google.com/extensions/detail/hmdcmlfkchdmnmnmheododdhjedfccka"><strong>Eye Dropper</strong></a></h3>
<p>The Eye Dropper extension is a simple colour picker which allows you to select any area on a web page to see what colour is being used.</p>
<h3><a href="https://chrome.google.com/extensions/detail/dmpfoncmmihgkooacnplecaopcefceam"><strong>Lorem Ipsum</strong></a></h3>
<p>Most designers will use latin text within an initial design before the content has been written and this simple extension quickly launches a new tab containing latin text. You can specify number of words per paragraph and number of paragraphs very easily to quickly create that placeholder text.</p>
<h3><a href="https://chrome.google.com/extensions/detail/mihcahmgecmbnbcchbopgniflfhgnkff"><strong>Google Mail Checker</strong></a></h3>
<p>This extension adds a little icon to the toolbar which notifies you if you have any email in your gmail account. Clicking it will jump to your gmail tab if you already have gmail open or will launch a new tab if you don’t, simple but a little bit of a time saver for checking your email.</p>
<h3><a href="https://chrome.google.com/extensions/detail/oangcciaeihlfmhppegpdceadpfaoclj"><strong>Chrome SEO</strong></a></h3>
<p>Useful little tool for viewing number of pages indexed by the major search engines, number of backlinks, traffic, bookmarks on social media sites and few other useful snippets of information. Obviously it’s not the total solution to SEO but a nice summary of information.</p>
<h3><a href="https://chrome.google.com/extensions/detail/oeahddlmhbcabnnojadgimmiaaplfpfo"><strong>Mini Google Maps</strong></a></h3>
<p>This probably shouldn’t really make it onto a useful extension for web developers but I find it useful so thought I’d share it anyway. It’s basically just a mini version of Google Maps that pops up from your toolbar which you can use to look at a location or get directions from one place to another. Again it’s not a huge time saver but having a little icon that you can click to quickly launch Google Maps without even having to launch a new tab is pretty cool.</p>
<h3><a href="https://chrome.google.com/extensions/detail/pneoplpmnpjoioldpodoljacigkahohc"><strong>PageRank</strong></a></h3>
<p>Any good SEO expert will tell you that purely chasing PageRank isn’t a good SEO strategy but it’s still something that I like to have at hand. This extension simply provides a small bar that provides PageRank information.</p>
<h3>Summary</h3>
<p>I’m sure that there’s many more extensions that can provide value to web designers so please feel free to share any other ones that I’ve missed off the list in the comments below.</p>
<p>I’d also be interested to hear if you’ve switched to Google Chrome or your reasons for using your current browser?</p>
</blockquote>]]></content:encoded>
			<wfw:commentRss>http://www.khatana.in/2011/09/google-chrome-extensions-for-a-web-designer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rayura</title>
		<link>http://www.khatana.in/2011/03/rayura/</link>
		<comments>http://www.khatana.in/2011/03/rayura/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 19:49:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mybranding]]></category>

		<guid isPermaLink="false">http://www.khatana.in/?p=536</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.khatana.in/2011/03/rayura/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ifeedoo</title>
		<link>http://www.khatana.in/2010/07/ifeedoo/</link>
		<comments>http://www.khatana.in/2010/07/ifeedoo/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 20:54:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mydesign]]></category>

		<guid isPermaLink="false">http://www.khatana.in/?p=473</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.khatana.in/2010/07/ifeedoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Look Out Google &#8211; Facebook’s Search Engine is Official!</title>
		<link>http://www.khatana.in/2010/07/look-out-google-facebook%e2%80%99s-search-engine-is-official/</link>
		<comments>http://www.khatana.in/2010/07/look-out-google-facebook%e2%80%99s-search-engine-is-official/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 19:59:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Search Engine]]></category>

		<guid isPermaLink="false">http://www.khatana.in/?p=466</guid>
		<description><![CDATA[It would appear that Facebook is planning to give Google a run for its money through search. The AllFacebook blog has noted that Facebook has confirmed that an open graph search engine is in the works. While there was a lot of speculation about Facebook’s search strategy, the company has confirmed with us that “all [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-467" title="google-facebook" src="http://www.khatana.in/wp-content/uploads/2010/07/google-facebook.jpg" alt="" width="500" height="174" /></p>
<p>It would appear that Facebook is planning to give Google a run for  its money through search.<span id="more-466"></span></p>
<p>The <a onclick="javascript:pageTracker._trackPageview('/outbound/article/www.allfacebook.com');" href="http://www.allfacebook.com/2010/06/facebook-unleashes-open-graph-search-engine-declares-war-on-google/">AllFacebook  blog</a> has noted that Facebook has confirmed that an open graph  search engine is in the works.</p>
<blockquote><p>While there was a lot of speculation about Facebook’s search strategy,  the company has confirmed with us that “all Open Graph-enabled web pages  will show up in search when a user likes them”. Earlier this week we  published about the new Facebook SEO that’s possible via the Open Graph,  but now it’s clear that this is the beginning of Facebook’s internet  search strategy. The race is now on for publishers to optimize their  sites for Facebook’s search engine.
</p>
</blockquote>
<p><img class="alignnone size-full wp-image-471" title="annapolis-marriot-search" src="http://www.khatana.in/wp-content/uploads/2010/07/annapolis-marriot-search.jpg" alt="" width="570" height="211" /></p>
<p>Non-Facebook sites are now starting to appear and rank in “Facebook”  results (as opposed to “Web Results”), as though they were internal  Facebook pages — based on how many “Likes” they have. The example below  shows a Facebook search for “annapolis marriott” with a page from  tripadvisor showing in the results.</p>
<h3 style="text-align: right;"><a href="http://www.allfacebook.com/2010/06/facebook-unleashes-open-graph-search-engine-declares-war-on-google/" target="_blank">Visit Source</a></h3>
]]></content:encoded>
			<wfw:commentRss>http://www.khatana.in/2010/07/look-out-google-facebook%e2%80%99s-search-engine-is-official/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bedroom</title>
		<link>http://www.khatana.in/2010/06/bedroom/</link>
		<comments>http://www.khatana.in/2010/06/bedroom/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 12:48:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[my3dmotion]]></category>

		<guid isPermaLink="false">http://khatana.in/?p=391</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.khatana.in/2010/06/bedroom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Volcano</title>
		<link>http://www.khatana.in/2010/06/volcano/</link>
		<comments>http://www.khatana.in/2010/06/volcano/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 09:30:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[my3dmotion]]></category>

		<guid isPermaLink="false">http://khatana.in/?p=388</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.khatana.in/2010/06/volcano/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redlips</title>
		<link>http://www.khatana.in/2010/06/redlips/</link>
		<comments>http://www.khatana.in/2010/06/redlips/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 09:27:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[my3dmotion]]></category>

		<guid isPermaLink="false">http://khatana.in/?p=385</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.khatana.in/2010/06/redlips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.khatana.in @ 2012-02-04 09:23:53 -->
