<?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>Hamid Alipour on Web Development &#38; Programming - Coding Recipes &#187; Web Development</title>
	<atom:link href="http://codingrecipes.com/category/web-development/feed" rel="self" type="application/rss+xml" />
	<link>http://codingrecipes.com</link>
	<description></description>
	<lastBuildDate>Thu, 12 Jan 2012 20:08:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>JavaScript: setTimeout doesn&#8217;t work in IE</title>
		<link>http://codingrecipes.com/javascript-settimeout-doesnt-work-in-ie</link>
		<comments>http://codingrecipes.com/javascript-settimeout-doesnt-work-in-ie#comments</comments>
		<pubDate>Thu, 16 Jun 2011 21:53:55 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[Annoying Stuff]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1182</guid>
		<description><![CDATA[The only way this could happen is if you try to send extra arguments, so you can&#8217;t do: setTimeout(&#8216;func()&#8217;, 1000, param); you have to manage with something like: setTimeout(&#8216;func(&#8220;&#8216; + arg + &#8216;&#8221;)&#8217;, 1000);]]></description>
		<wfw:commentRss>http://codingrecipes.com/javascript-settimeout-doesnt-work-in-ie/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Not To Write Code</title>
		<link>http://codingrecipes.com/how-not-to-write-code</link>
		<comments>http://codingrecipes.com/how-not-to-write-code#comments</comments>
		<pubDate>Mon, 07 Mar 2011 22:39:42 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[C Programming]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1101</guid>
		<description><![CDATA[I&#8217;m working on a website and it&#8217;s absolutely awful, almost all the design choices are bad so I will compile a list here as I encounter them: 1 &#8211; Don&#8217;t have fields in your database like &#8220;extra1&#8243;, &#8220;extra2&#8243; or &#8220;extra3&#8243; you probably need to refactor and rethink your design&#8230; 2 &#8211; Don&#8217;t have a global [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/how-not-to-write-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importing GeoWorldMap Database Into MySQL Using PHP</title>
		<link>http://codingrecipes.com/importing-geoworldmap-database-into-mysql-using-php</link>
		<comments>http://codingrecipes.com/importing-geoworldmap-database-into-mysql-using-php#comments</comments>
		<pubDate>Mon, 27 Dec 2010 23:24:48 +0000</pubDate>
		<dc:creator>Hamid</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1058</guid>
		<description><![CDATA[First download the database from: http://www.geobytes.com/freeservices.htm Then, create a folder in your server where you can access it via a browser and upload the files in there, then save this script as import.php and upload it into the same folder and then point your browser to this PHP script you just uploaded. Note that you [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/importing-geoworldmap-database-into-mysql-using-php/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP: Problem With Displaying French Accented Characters; black diamond&#8230;</title>
		<link>http://codingrecipes.com/php-problem-with-displaying-french-accented-characters-black-diamond</link>
		<comments>http://codingrecipes.com/php-problem-with-displaying-french-accented-characters-black-diamond#comments</comments>
		<pubDate>Wed, 18 Aug 2010 05:54:31 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[Komodo Edit]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1023</guid>
		<description><![CDATA[If you have this problem and your accented characters are being replaced by black diamonds with question marks in them and you tried EVERYTHING you could find and nothing worked and no one seems to know what&#8217;s going on and you think it&#8217;s PHP or Apache that is causing this issue and you tried changing [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/php-problem-with-displaying-french-accented-characters-black-diamond/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Maps API V3; infowindow is only attached to the last marker problem</title>
		<link>http://codingrecipes.com/google-maps-api-v3-infowindow-is-only-attached-to-the-last-marker-problem</link>
		<comments>http://codingrecipes.com/google-maps-api-v3-infowindow-is-only-attached-to-the-last-marker-problem#comments</comments>
		<pubDate>Wed, 28 Jul 2010 19:58:56 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[Google Maps API]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1007</guid>
		<description><![CDATA[You can fix this issue like this: for &#40;var i = 0; i &#60; addresses.length; i++&#41; &#123; &#40;function &#40;&#41; &#123; /* ################################################## */ var address = addresses&#91;i&#93;; var lat_lang = new google.maps.LatLng&#40;address.latitude, address.longitude&#41;; var marker = new google.maps.Marker&#40;&#123; position: lat_lang, map: map &#125;&#41;; markers&#91;markers.length&#93; = marker; var infowindow = new google.maps.InfoWindow&#40;&#123; content: address.address &#125;&#41;; infowindows&#91;infowindows.length&#93; [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/google-maps-api-v3-infowindow-is-only-attached-to-the-last-marker-problem/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Solution to CuteFTP Pro 8 hanging problem under Vista; Can&#8217;t find transfer engine&#8230;</title>
		<link>http://codingrecipes.com/solution-to-cuteftp-pro-8-hanging-problem-under-vista-cant-find-transfer-engine</link>
		<comments>http://codingrecipes.com/solution-to-cuteftp-pro-8-hanging-problem-under-vista-cant-find-transfer-engine#comments</comments>
		<pubDate>Wed, 28 Jul 2010 01:53:27 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[Annoying Stuff]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=1005</guid>
		<description><![CDATA[To fix this issue, open CuteFTP and go to: Tools > Global Options > Connection > Smart Keep Alive And disable &#8220;Smart Keep Alive&#8221;, apparently it&#8217;s not very smart&#8230;]]></description>
		<wfw:commentRss>http://codingrecipes.com/solution-to-cuteftp-pro-8-hanging-problem-under-vista-cant-find-transfer-engine/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: Converting YouTube and Vimeo Links To YouTube Player and Vimeo Player</title>
		<link>http://codingrecipes.com/php-converting-youtube-and-vimeo-links-to-youtube-player-and-vimeo-player</link>
		<comments>http://codingrecipes.com/php-converting-youtube-and-vimeo-links-to-youtube-player-and-vimeo-player#comments</comments>
		<pubDate>Sat, 05 Jun 2010 19:27:50 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=980</guid>
		<description><![CDATA[Here is a simple function that will do this for you: function convert_videos&#40;$string&#41; &#123; $rules = array&#40; '#http://(www\.)?youtube\.com/watch\?v=([^ &#38;\n]+)(&#38;.*?(\n&#124;\s))?#i' =&#62; '&#60;object width=&#34;425&#34; height=&#34;350&#34;&#62;&#60;param name=&#34;movie&#34; value=&#34;http://www.youtube.com/v/$2&#34;&#62;&#60;/param&#62;&#60;embed src=&#34;http://www.youtube.com/v/$2&#34; type=&#34;application/x-shockwave-flash&#34; width=&#34;425&#34; height=&#34;350&#34;&#62;&#60;/embed&#62;&#60;/object&#62;', &#160; '#http://(www\.)?vimeo\.com/([^ ?\n/]+)((\?&#124;/).*?(\n&#124;\s))?#i' =&#62; '&#60;object width=&#34;400&#34; height=&#34;300&#34;&#62;&#60;param name=&#34;allowfullscreen&#34; value=&#34;true&#34; /&#62;&#60;param name=&#34;allowscriptaccess&#34; value=&#34;always&#34; /&#62;&#60;param name=&#34;movie&#34; value=&#34;http://vimeo.com/moogaloop.swf?clip_id=$2&#38;amp;server=vimeo.com&#38;amp;show_title=1&#38;amp;show_byline=1&#38;amp;show_portrait=0&#38;amp;color=&#38;amp;fullscreen=1&#34; /&#62;&#60;embed src=&#34;http://vimeo.com/moogaloop.swf?clip_id=$2&#38;amp;server=vimeo.com&#38;amp;show_title=1&#38;amp;show_byline=1&#38;amp;show_portrait=0&#38;amp;color=&#38;amp;fullscreen=1&#34; type=&#34;application/x-shockwave-flash&#34; allowfullscreen=&#34;true&#34; allowscriptaccess=&#34;always&#34; width=&#34;400&#34; height=&#34;300&#34;&#62;&#60;/embed&#62;&#60;/object&#62;' &#41;; &#160; foreach &#40;$rules [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/php-converting-youtube-and-vimeo-links-to-youtube-player-and-vimeo-player/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>jQuery: How To Check If An Object Exists</title>
		<link>http://codingrecipes.com/jquery-how-to-check-if-an-object-exists</link>
		<comments>http://codingrecipes.com/jquery-how-to-check-if-an-object-exists#comments</comments>
		<pubDate>Tue, 25 May 2010 20:25:34 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=941</guid>
		<description><![CDATA[if &#40;$&#40;'#myDiv'&#41;.length&#41; $&#40;'#myDiv'&#41;.show&#40;&#41;; Source: http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_test_whether_an_element_exists.3F]]></description>
		<wfw:commentRss>http://codingrecipes.com/jquery-how-to-check-if-an-object-exists/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery: Scroll Window To The Top Of An Object</title>
		<link>http://codingrecipes.com/jquery-scroll-window-to-top-of-an-object</link>
		<comments>http://codingrecipes.com/jquery-scroll-window-to-top-of-an-object#comments</comments>
		<pubDate>Tue, 25 May 2010 20:23:32 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=939</guid>
		<description><![CDATA[Here is how to do this: var offset = $&#40;'#OBJECT-ID'&#41;.offset&#40;&#41;.top; $&#40;'html,body'&#41;.animate&#40;&#123; scrollTop: offset &#125;, 500&#41;;]]></description>
		<wfw:commentRss>http://codingrecipes.com/jquery-scroll-window-to-top-of-an-object/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Create WordPress Widgets</title>
		<link>http://codingrecipes.com/how-to-create-wordpress-widgets</link>
		<comments>http://codingrecipes.com/how-to-create-wordpress-widgets#comments</comments>
		<pubDate>Fri, 14 May 2010 23:43:58 +0000</pubDate>
		<dc:creator>Codehead</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://codingrecipes.com/?p=926</guid>
		<description><![CDATA[No need for a huge fancy post, here is a very simple WordPress widget: You must paste this code into your theme&#8217;s functions.php file located at: /wp-content/themes/YOUR_THEME class My_Simple_Widget { &#160; function control(){ $data = get_option('My_Simple_Widget_data'); ?&#62; &#60;p&#62;&#60;label&#62;Title:&#60;/label&#62; &#60;input name=&#34;My_Simple_Widget_title&#34; type=&#34;text&#34; value=&#34;&#60;?php echo $data&#91;'title'&#93;; ?&#62;&#34; /&#62;&#60;/p&#62; You can have whatever you want here, even a [...]]]></description>
		<wfw:commentRss>http://codingrecipes.com/how-to-create-wordpress-widgets/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

