<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- generator="wordpress/2.3.3" --><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>WorldofCode.com</title>
	<link>http://www.worldofcode.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Wed, 11 Jun 2008 20:38:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Worldofcode" type="application/rss+xml" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Link Building with Blog Directories</title>
		<link>http://www.worldofcode.com/link-building-with-blog-directories/</link>
		<comments>http://www.worldofcode.com/link-building-with-blog-directories/#comments</comments>
		<pubDate>Mon, 19 May 2008 16:39:05 +0000</pubDate>
		<dc:creator>WorldofCode</dc:creator>
		
		<category><![CDATA[Articles]]></category>

		<category><![CDATA[SEO]]></category>

		<category><![CDATA[blog]]></category>

		<category><![CDATA[blog directory]]></category>

		<category><![CDATA[page rank]]></category>

		<category><![CDATA[search engine]]></category>

		<guid isPermaLink="false">http://www.worldofcode.com/link-building-with-blog-directories/</guid>
		<description><![CDATA[Here is a list of Blog Directories that you can submit your site to and recieve more links to your site.&#160; Which is always a good thing!&#160; Be sure to submit your site to the 3 big search engines&#160;as well&#160;(Google, Yahoo, MSN).
GlobeofBlogs.com
Submit here:&#160; http://www.globeofblogs.com/register.php
ReadaBlog.com
Submit here:&#160; http://www.readablog.com/AddFeed.aspx
2RSS.com
Submit here:&#160; http://www.2rss.com/index.php&#160;- about half way down the page there [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a list of Blog Directories that you can submit your site to and recieve more links to your site.&nbsp; Which is always a good thing!&nbsp; Be sure to submit your site to the 3 big search engines&nbsp;as well&nbsp;(Google, Yahoo, MSN).</p>
<p><b>GlobeofBlogs.com</b></p>
<p>Submit here:&nbsp; <a href="http://www.globeofblogs.com/register.php">http://www.globeofblogs.com/register.php</a></p>
<p><b>ReadaBlog.com</b></p>
<p>Submit here:&nbsp; <a href="http://www.readablog.com/AddFeed.aspx">http://www.readablog.com/AddFeed.aspx</a></p>
<p><b>2RSS.com</b></p>
<p>Submit here:&nbsp; <a href="http://www.2rss.com/index.php">http://www.2rss.com/index.php</a>&nbsp;- about half way down the page there is&nbsp;a Suggest RSS feed area.</p>
<p><b>blogarama.com</b></p>
<p>Submit here:&nbsp; <a href="http://www.blogarama.com/add-a-site/">http://www.blogarama.com/add-a-site/</a></p>
<p><b>Blogdigger.com</b></p>
<p>Submit here:&nbsp; <a href="http://www.blogdigger.com/addFeedForm.jsp">http://www.blogdigger.com/addFeedForm.jsp</a></p>
<p><b>BlogHop.com</b></p>
<p>Submit here:&nbsp; <a href="http://www.bloghop.com/account/join.htm">http://www.bloghop.com/account/join.htm</a></p>
<p><b>Technorati.com</b></p>
<p>Submit here:&nbsp; <a href="http://www.technorati.com/ping.html">http://www.technorati.com/ping.html</a></p>
<p><b>BlogCatalog.com</b></p>
<p>Submit here:&nbsp; <a href="http://www.blogcatalog.com/blogs/submit_blog.html">http://www.blogcatalog.com/blogs/submit_blog.html</a></p>
<p><b>BLOGDUP.com</b></p>
<p>Submit here:&nbsp; <a href="http://www.blogdup.com/submit.php">http://www.blogdup.com/submit.php</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldofcode.com/link-building-with-blog-directories/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Replace line breaks with BR tags</title>
		<link>http://www.worldofcode.com/replace-line-breaks-with-60br62-tags/</link>
		<comments>http://www.worldofcode.com/replace-line-breaks-with-60br62-tags/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 03:22:01 +0000</pubDate>
		<dc:creator>WorldofCode</dc:creator>
		
		<category><![CDATA[ASP.NET]]></category>

		<category><![CDATA[Coding]]></category>

		<category><![CDATA[br]]></category>

		<category><![CDATA[C#]]></category>

		<category><![CDATA[replace]]></category>

		<category><![CDATA[vb]]></category>

		<guid isPermaLink="false">http://www.worldofcode.com/replace-line-breaks-with-60br62-tags/</guid>
		<description><![CDATA[&#160;&#160;In Classic ASP we used to replace line breaks or vbCrLf tags in the following way.

strValue = Replace(strValue, vbCrLf, &#34;&#60;br&#62;&#34;)

In ASP.NET it is a bit different.&#160; Now we have the Environment.NewLine command that will determine the coding environment you are running&#160;in either VB or C#.&#160; So you can replace the line break command wether it [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;&nbsp;In Classic ASP we used to replace line breaks or vbCrLf tags in the following way.</p>
<blockquote>
<p>strValue = Replace(strValue, vbCrLf, &quot;&lt;br&gt;&quot;)</p>
</blockquote>
<p>In ASP.NET it is a bit different.&nbsp; Now we have the Environment.NewLine command that will determine the coding environment you are running&nbsp;in either VB or C#.&nbsp; So you can replace the line break command wether it is vbCrLf or /n.</p>
<blockquote>
<p>string strValue = strValue;</p>
<p>strValue.Text = strValue.Replace(Environment.NewLine, &quot;&lt;br/&gt;&quot;);</p>
</blockquote>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldofcode.com/replace-line-breaks-with-60br62-tags/feed/</wfw:commentRss>
		</item>
		<item>
		<title>How to use the Union statement with a dynamic order by</title>
		<link>http://www.worldofcode.com/how-to-use-the-union-statement-with-a-dynamic-order-by/</link>
		<comments>http://www.worldofcode.com/how-to-use-the-union-statement-with-a-dynamic-order-by/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 01:28:22 +0000</pubDate>
		<dc:creator>WorldofCode</dc:creator>
		
		<category><![CDATA[Coding]]></category>

		<category><![CDATA[SQL]]></category>

		<category><![CDATA[derived table]]></category>

		<category><![CDATA[dynamic]]></category>

		<category><![CDATA[union]]></category>

		<guid isPermaLink="false">http://www.worldofcode.com/how-to-use-the-union-statement-with-a-dynamic-order-by/</guid>
		<description><![CDATA[I don&#8217;t use the Union statement to much in my SQL coding but today I needed to use it to combine results from two separate tables.&#160; But I ran into an error when I wanted to add in my usual code for doing a dynamic order by.&#160; SQL wouldn&#8217;t run my query and output this [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t use the Union statement to much in my SQL coding but today I needed to use it to combine results from two separate tables.&nbsp; But I ran into an error when I wanted to add in my usual code for doing a dynamic order by.&nbsp; SQL wouldn&#8217;t run my query and output this error message.</p>
<p><span style="color: #ff0000">ORDER BY items must appear in the select list if the statement contains a UNION, INTERSECT or EXCEPT operator.</span></p>
<p>&nbsp;To fix this problem I put my Union statement into a derived table by doing the following.</p>
<blockquote>
<p>SELECT * FROM (</p>
<p>SELECT&nbsp;Column1, Column2&nbsp;FROM Table_A</p>
<p>UNION ALL</p>
<p>SELECT Column1, Column2 FROM Table_B</p>
<p>) DerivedTableName (Column1, Column2)</p>
</blockquote>
<p>Next I added in my dynamic Order By code as such.</p>
<blockquote><p>SELECT * FROM (</p>
<p>SELECT Column1, Column2 FROM Table_A</p>
<p>UNION ALL</p>
<p>SELECT Column1, Column2 FROM Table_B</p>
<p>) DerivedTableName (Column1, Column2)</p>
<p>ORDER BY</p>
<p>CASE @OrderBy WHEN &#8216;Column1ASC&#8217; THEN Column1 END ASC,</p>
<p>CASE @OrderBy WHEN &#8216;Column1DESC&#8217; THEN Column1 END DESC
</p></blockquote>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldofcode.com/how-to-use-the-union-statement-with-a-dynamic-order-by/feed/</wfw:commentRss>
		</item>
		<item>
		<title>reCAPTCHA Classic ASP Implementation</title>
		<link>http://www.worldofcode.com/recaptcha-classic-asp-implementation/</link>
		<comments>http://www.worldofcode.com/recaptcha-classic-asp-implementation/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 22:21:04 +0000</pubDate>
		<dc:creator>WorldofCode</dc:creator>
		
		<category><![CDATA[Classic ASP]]></category>

		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.worldofcode.com/recaptcha-classic-asp-implementation/</guid>
		<description><![CDATA[Recently had to work with a new CAPTCHA program called reCAPTCHA.&#160; It was fairly easy to implement with Classic ASP code but had some problems figuring out some parts of it.
First off what is CAPTCHA?&#160; It stands for Completely Automated Public Turing test to tell Computers and Humans Apart.&#160; CAPTCHA is basically an image of [...]]]></description>
			<content:encoded><![CDATA[<p>Recently had to work with a new CAPTCHA program called <a target="_blank" href="http://recaptcha.net/">reCAPTCHA</a>.&nbsp; It was fairly easy to implement with Classic ASP co<img height="100" alt="CAPTCHA - World of Code" hspace="5" width="200" align="right" vspace="5" border="0" src="http://www.worldofcode.com/wp-content/uploads/image/CAPTCHA_WorldofCode.jpg" />de but had some problems figuring out some parts of it.</p>
<p>First off what is CAPTCHA?&nbsp; It stands for <b>C</b>ompletely <b>A</b>utomated <b>P</b>ublic <b>T</b>uring test to tell <b>C</b>omputers and <b>H</b>umans <b>A</b>part.&nbsp; CAPTCHA is basically an image of letters and numbers that is randomly generated.&nbsp; The image makes it difficult for spam bots to read.&nbsp; So they can be used as a way to verify if a computer is submitting a form on a website or an actual person.&nbsp; So we can eliminate all of that pesky spam!</p>
<p>The <a target="_blank" href="http://recaptcha.net/">reCAPTCHA</a>&nbsp;software is free to use and also helps digitize books when it is being used.&nbsp; Check out their site for more information on that.</p>
<p>I needed to implement this software on a site that runs Classic ASP.&nbsp; They did not have a specific example on how to do this but I was able to find an example done from a very kind person Andre F. Bruton on the discussion boards.&nbsp; <a target="_blank" href="http://www.andrebruton.com/recaptcha/">Click here to go and view the example</a>.</p>
<p><span style="color: #ff0000">Update it appears that the above site has gone down so here is a link to the example that was offered by that site.</span></p>
<p><a href="http://www.worldofcode.com/wp-content/uploads/2008/04/recaptcha_classic_asp.zip">Download the example.</a></p>
<p>The example worked great I just had to insert the code into my pages and I was off and running in no time.&nbsp; However on a few of the pages I was running them in SSL which when using the reCAPTCHA software on those page brought up some secure errors.&nbsp; Through searching around the internet and trying various things I found out that reCAPTCHA has a secure server to send to so you will no longer get the security errors.&nbsp; That URL is <a href="https://api-secure.recaptcha.net">https://api-secure.recaptcha.net</a>.&nbsp;</p>
<p>Here is an example of where you need to put it in your code.</p>
<p>&nbsp;</p>
<blockquote>
<p>function recaptcha_challenge_writer(publickey) <br />
recaptcha_challenge_writer = &quot;&lt;script type=&quot;&quot;text/javascript&quot;&quot;&gt;&quot; &amp; _ <br />
&quot;var RecaptchaOptions = {&quot; &amp; _ <br />
&quot; theme : &#8216;white&#8217;,&quot; &amp; _ <br />
&quot; tabindex : 0&quot; &amp; _ <br />
&quot;};&quot; &amp; _ <br />
&quot;&lt;/script&gt;&quot; &amp; _ <br />
&quot;&lt;script type=&quot;&quot;text/javascript&quot;&quot; src=&quot;&quot;https://api-secure.recaptcha.net/challenge?k=&quot; &amp; publickey &amp; &quot;&quot;&quot;&gt;&lt;/script&gt;&quot; &amp; _ <br />
&quot;&lt;noscript&gt;&quot; &amp; _ <br />
&quot;&lt;iframe src=&quot;&quot;http://api.recaptcha.net/noscript?k=&quot; &amp; publickey &amp; &quot;&quot;&quot; frameborder=&quot;&quot;1&quot;&quot;&gt;&lt;/iframe&gt;&lt;br&gt;&quot; &amp; _ <br />
&quot;&lt;textarea name=&quot;&quot;recaptcha_challenge_field&quot;&quot; rows=&quot;&quot;3&quot;&quot; cols=&quot;&quot;40&quot;&quot;&gt;&lt;/textarea&gt;&quot; &amp; _ <br />
&quot;&lt;input type=&quot;&quot;hidden&quot;&quot; name=&quot;&quot;recaptcha_response_field&quot;&quot; value=&quot;&quot;manual_challenge&quot;&quot;&gt;&quot; &amp; _ <br />
&quot;&lt;/noscript&gt;&quot; <br />
end function</p>
</blockquote>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldofcode.com/recaptcha-classic-asp-implementation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hello World of Code!</title>
		<link>http://www.worldofcode.com/hello-world/</link>
		<comments>http://www.worldofcode.com/hello-world/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 20:32:39 +0000</pubDate>
		<dc:creator>WorldofCode</dc:creator>
		
		<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://www.worldofcode.com/?p=1</guid>
		<description><![CDATA[Welcome to the WorldofCode.com!&#160; This blog is for talking about the the world of code we live in, code surrounds our daily lifes, there is no escaping it any more.&#160; I am a web developer so this site will deal with a variety of things, from articles on how to code in certain languages such [...]]]></description>
			<content:encoded><![CDATA[<p><img height="212" alt="WorldofCode.com" hspace="5" width="300" align="right" vspace="5" border="0" src="http://www.worldofcode.com/wp-content/uploads/image/binary.jpg" />Welcome to the WorldofCode.com!&nbsp; This blog is for talking about the the world of code we live in, code surrounds our daily lifes, there is no escaping it any more.&nbsp; I am a web developer so this site will deal with a variety of things, from articles on how to code in certain languages such as ASP.Net, search engine optimization, blogging, happenings around the WWW, software, and computers.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.worldofcode.com/hello-world/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
