<?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>Michael Khalili &#187; Programming</title>
	<atom:link href="http://www.michaelapproved.com/articles/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michaelapproved.com/articles</link>
	<description>Tap my brain, drink it up.</description>
	<lastBuildDate>Tue, 15 Jun 2010 19:27:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Incremental Count Using Alphanumeric Values</title>
		<link>http://www.michaelapproved.com/articles/incremental-count-alphanumeric-values/</link>
		<comments>http://www.michaelapproved.com/articles/incremental-count-alphanumeric-values/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 08:58:13 +0000</pubDate>
		<dc:creator>Michael Khalili</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Asp.Net]]></category>

		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=125</guid>
		<description><![CDATA[I&#8217;m currently working on a website that needs a URL shortener. In order to have a good shortened URL I must make the most of the path after the domain. The common way to do this, as Bit.ly and others already do, is to have a mix of alphanumeric characters that increment each time a [...]]]></description>
		<wfw:commentRss>http://www.michaelapproved.com/articles/incremental-count-alphanumeric-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove White Space in HTML Output</title>
		<link>http://www.michaelapproved.com/articles/remove-white-space-in-html-output/</link>
		<comments>http://www.michaelapproved.com/articles/remove-white-space-in-html-output/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 07:02:22 +0000</pubDate>
		<dc:creator>Michael Khalili</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Asp.Net]]></category>

		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=67</guid>
		<description><![CDATA[If you&#8217;ve looked at the HTML source of an ASP.NET page you know there&#8217;s a ton of extra white space that isn&#8217;t necessary. If you&#8217;re concerned about page load speed and bandwidth you&#8217;ll want to remove all that extra space. Here&#8217;s some code you can use to reduce page size by an average of over [...]]]></description>
		<wfw:commentRss>http://www.michaelapproved.com/articles/remove-white-space-in-html-output/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Textbox and Dropdown combined</title>
		<link>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/</link>
		<comments>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 06:51:16 +0000</pubDate>
		<dc:creator>Michael Khalili</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=71</guid>
		<description><![CDATA[While creating a form for a project I wanted to give the user the option of either creating a new entry or selecting from an existing one. The standard way to do it is to give the user a textbox on one line and a dropdown on another. As with most forms, I wanted to [...]]]></description>
		<wfw:commentRss>http://www.michaelapproved.com/articles/textbox-and-dropdown-combined/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Scroll to Object Without Leaving Page</title>
		<link>http://www.michaelapproved.com/articles/scroll-to-object-without-leaving-page/</link>
		<comments>http://www.michaelapproved.com/articles/scroll-to-object-without-leaving-page/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 06:44:40 +0000</pubDate>
		<dc:creator>Michael Khalili</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=62</guid>
		<description><![CDATA[The most common way to scroll a page is to link the user to a URL with #AnchorId at the end. This method allows the browser to handle everything and there is no code needed. For times when you need a solution using code I&#8217;m going to demonstrate two other methods with Javascript.
The first option [...]]]></description>
		<wfw:commentRss>http://www.michaelapproved.com/articles/scroll-to-object-without-leaving-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Object Position (Top and Left Offset) on a Page</title>
		<link>http://www.michaelapproved.com/articles/object-position-top-and-left-offset-on-a-page/</link>
		<comments>http://www.michaelapproved.com/articles/object-position-top-and-left-offset-on-a-page/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 06:40:51 +0000</pubDate>
		<dc:creator>Michael Khalili</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=59</guid>
		<description><![CDATA[Retrieves the left and top offset of an object using Javascript. I got this from Peter-Paul Koch. His description is more extensive.

function ObjectPosition(obj) {
    var curleft = 0;
      var curtop = 0;
      if (obj.offsetParent) {
        [...]]]></description>
		<wfw:commentRss>http://www.michaelapproved.com/articles/object-position-top-and-left-offset-on-a-page/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Timezone Dropdown Select List</title>
		<link>http://www.michaelapproved.com/articles/timezone-dropdown-select-list/</link>
		<comments>http://www.michaelapproved.com/articles/timezone-dropdown-select-list/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 06:20:55 +0000</pubDate>
		<dc:creator>Michael Khalili</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=55</guid>
		<description><![CDATA[HTML of a Dropdown list with all the time zones already added.

&#60;select name=&#34;DropDownTimezone&#34; id=&#34;DropDownTimezone&#34;&#62;
      &#60;option value=&#34;-12.0&#34;&#62;(GMT -12:00) Eniwetok, Kwajalein&#60;/option&#62;
      &#60;option value=&#34;-11.0&#34;&#62;(GMT -11:00) Midway Island, Samoa&#60;/option&#62;
      &#60;option value=&#34;-10.0&#34;&#62;(GMT -10:00) Hawaii&#60;/option&#62;
      &#60;option value=&#34;-9.0&#34;&#62;(GMT -9:00) Alaska&#60;/option&#62;
   [...]]]></description>
		<wfw:commentRss>http://www.michaelapproved.com/articles/timezone-dropdown-select-list/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>Timezone Detect and Ignore Daylight Saving Time (DST)</title>
		<link>http://www.michaelapproved.com/articles/timezone-detect-and-ignore-daylight-saving-time-dst/</link>
		<comments>http://www.michaelapproved.com/articles/timezone-detect-and-ignore-daylight-saving-time-dst/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 06:09:59 +0000</pubDate>
		<dc:creator>Michael Khalili</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.michaelapproved.com/articles/?p=49</guid>
		<description><![CDATA[When I needed a way to detect the browser time zone all I found were posts using getTimezoneOffset. The problem with that was it never took into account Daylight Saving Time (DST). If the user was currently in DST the function returns the time zone plus 60 minutes. Those extra minutes pushed the user into [...]]]></description>
		<wfw:commentRss>http://www.michaelapproved.com/articles/timezone-detect-and-ignore-daylight-saving-time-dst/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.412 seconds -->
