<?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>Web Development London UK &#187; Internet</title>
	<atom:link href="http://hsmoore.com/blog/tag/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://hsmoore.com</link>
	<description>Web Development London UK</description>
	<lastBuildDate>Wed, 01 Feb 2012 12:10:18 +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>[Exception... &quot;Could not convert JavaScript&quot; nsresult: &quot;0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)&quot;</title>
		<link>http://hsmoore.com/blog/exception-could-not-convert-javascript-nsresult-0x80570009-ns_error_xpc_bad_convert_js/</link>
		<comments>http://hsmoore.com/blog/exception-could-not-convert-javascript-nsresult-0x80570009-ns_error_xpc_bad_convert_js/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 08:38:14 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[error]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.andrewodendaal.com/?p=568</guid>
		<description><![CDATA[What the heck is.. uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMHTMLDivElement.appendChild]&#8221; nsresult: &#8220;0&#215;80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)&#8221; location: &#8220;JS frame :: PATH_TO_MY_JAVASCRIPT_FILE :: THE_METHOD_NAME :: line #&#8221; data: no] For me it was just an appendChild() that was causing the problems. You can always try the innerHTML+= way if all else fails]]></description>
			<content:encoded><![CDATA[<p>What the heck is..</p>
<p>uncaught exception: [Exception... "Could not convert JavaScript argument arg 0 [nsIDOMHTMLDivElement.appendChild]&#8221; nsresult: &#8220;0&#215;80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)&#8221; location: &#8220;JS frame :: PATH_TO_MY_JAVASCRIPT_FILE :: THE_METHOD_NAME :: line #&#8221; data: no]</p>
<p>For me it was just an appendChild() that was causing the problems. You can always try the innerHTML+= way if all else fails <img src='http://hsmoore.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/exception-could-not-convert-javascript-nsresult-0x80570009-ns_error_xpc_bad_convert_js/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Error 406?</title>
		<link>http://hsmoore.com/blog/error-406/</link>
		<comments>http://hsmoore.com/blog/error-406/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 17:53:41 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[error 406]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/?p=373</guid>
		<description><![CDATA[So you received an error 406 while trying to upload a file and you have no idea to fix it! Create a &#8220;.htaccess&#8221; file in the root of your local website and add the following into it: &#60;IfModule mod_security.c&#62; SecFilterEngine Off SecFilterScanPOST Off &#60;/IfModule&#62;]]></description>
			<content:encoded><![CDATA[<p>So you received an error 406 while trying to upload a file and you have no idea to fix it!</p>
<p>Create a &#8220;<em>.htaccess</em>&#8221; file in the root of your local website and add the following into it:</p>
<p><span style="color: #000080;"><em>&lt;IfModule mod_security.c&gt;<br />
SecFilterEngine Off<br />
SecFilterScanPOST Off<br />
&lt;/IfModule&gt;</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/error-406/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shortText function toggler in php</title>
		<link>http://hsmoore.com/blog/shorttext-function-toggler-in-php/</link>
		<comments>http://hsmoore.com/blog/shorttext-function-toggler-in-php/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 13:49:33 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/332/shorttext-function-toggler-in-php/</guid>
		<description><![CDATA[I often have to show a shortened version of a news item and then a link to show the entire news article or whatever. Here&#8217;s a way to get that short text! function shortText&#40;$text, $length&#41; &#123; &#160; &#160; &#160; &#160; if&#40; strlen&#40;$text&#41; &#62; $length &#41; return substr&#40;preg_replace&#40;&#34;/(&#60;\/?)(\w+)([^&#62;]*&#62;)/&#34;, &#34;&#34;, $text&#41;, 0, $length&#41;.&#34;…&#34;; &#160; &#160; &#160; &#160;...]]></description>
			<content:encoded><![CDATA[<p>I often have to show a shortened version of a news item and then a link to show the entire news article or whatever.</p>
<p>Here&#8217;s a way to get that short text!</p>
<div class="codesnip-container" >
<div class="php codesnip" style="font-family:monospace;"><span class="kw2">function</span> shortText<span class="br0">&#40;</span><span class="re0">$text</span><span class="sy0">,</span> <span class="re0">$length</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span><span class="br0">&#40;</span> <a href="http://www.php.net/strlen"><span class="kw3">strlen</span></a><span class="br0">&#40;</span><span class="re0">$text</span><span class="br0">&#41;</span> <span class="sy0">&gt;</span> <span class="re0">$length</span> <span class="br0">&#41;</span> <span class="kw1">return</span> <a href="http://www.php.net/substr"><span class="kw3">substr</span></a><span class="br0">&#40;</span><a href="http://www.php.net/preg_replace"><span class="kw3">preg_replace</span></a><span class="br0">&#40;</span><span class="st0">&quot;/(&lt;\/?)(\w+)([^&gt;]*&gt;)/&quot;</span><span class="sy0">,</span> <span class="st0">&quot;&quot;</span><span class="sy0">,</span> <span class="re0">$text</span><span class="br0">&#41;</span><span class="sy0">,</span> 0<span class="sy0">,</span> <span class="re0">$length</span><span class="br0">&#41;</span><span class="sy0">.</span><span class="st0">&quot;…&quot;</span><span class="sy0">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <a href="http://www.php.net/preg_replace"><span class="kw3">preg_replace</span></a><span class="br0">&#40;</span><span class="st0">&quot;/(&lt;\/?)(\w+)([^&gt;]*&gt;)/&quot;</span><span class="sy0">,</span> <span class="st0">&quot;&quot;</span><span class="sy0">,</span> <span class="re0">$text</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/shorttext-function-toggler-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ak script</title>
		<link>http://hsmoore.com/blog/andrewodendaal-comak/</link>
		<comments>http://hsmoore.com/blog/andrewodendaal-comak/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 13:44:39 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/330/andrewodendaal-comak/</guid>
		<description><![CDATA[www.andrewodendaal.com/ak/ ran a webscan today returning results of online sites and has retrieved a list of a few thousand items every half hour. The test will run until a softcap is reached at 52K.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.andrewodendaal.com/ak/">www.andrewodendaal.com/ak/</a> ran a webscan today returning results of online sites and has retrieved a list of a few thousand items every half hour.</p>
<p>The test will run until a softcap is reached at 52K.</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/andrewodendaal-comak/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adidas</title>
		<link>http://hsmoore.com/blog/adidas/</link>
		<comments>http://hsmoore.com/blog/adidas/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 15:40:50 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[adidas]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[random]]></category>

		<guid isPermaLink="false">http://blog.andrewodendaal.com/?p=247</guid>
		<description><![CDATA[I came across this site today: http://www.adidas.com/campaigns/adidasdfb/content/locale/com/?strcountry_adidascom=uk It is a game made and run on the adidas site.. Play it, it&#8217;s quite cool. Nice flash site to whoever made it!]]></description>
			<content:encoded><![CDATA[<p>I came across this site today:<a title="Opens in New Tab/Window" href="http://www.adidas.com/campaigns/adidasdfb/content/locale/com/?strcountry_adidascom=uk" target="_blank"> http://www.adidas.com/campaigns/adidasdfb/content/locale/com/?strcountry_adidascom=uk</a></p>
<p>It is a game made and run on the adidas site..</p>
<p>Play it, it&#8217;s quite cool. Nice flash site to whoever made it!</p>
]]></content:encoded>
			<wfw:commentRss>http://hsmoore.com/blog/adidas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

