<?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"?><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:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" version="2.0">

<channel>
	<title>Gath Adams</title>
	
	<link>http://gathadams.com</link>
	<description>Make it. Spend it.</description>
	<pubDate>Sun, 16 Aug 2009 23:13:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/GathAdams" type="application/rss+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">GathAdams</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Add ‘Tweet This’ button to your Asp.Net site. Twitter + Bit.ly url shortening</title>
		<link>http://gathadams.com/2009/08/08/add-tweet-this-button-to-your-aspnet-site-twitter-bitly-url-shortening/</link>
		<comments>http://gathadams.com/2009/08/08/add-tweet-this-button-to-your-aspnet-site-twitter-bitly-url-shortening/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 21:47:12 +0000</pubDate>
		<dc:creator>Gath</dc:creator>
		
		<category><![CDATA[APIs]]></category>

		<category><![CDATA[Coding]]></category>

		<category><![CDATA[Twitter]]></category>

		<category><![CDATA[asp.net]]></category>

		<category><![CDATA[bit.ly]]></category>

		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://gathadams.com/?p=100</guid>
		<description><![CDATA[Adding your own &#8216;Tweet This&#8217; buttons so your visitors can post to twitter (complete with URL shortening using Bit.ly) is really easy.
Just add a page &#8216;twitter.aspx&#8217; to your site and remove all the HTML from the page.
Add this code:

Imports System.Net

Partial Public Class Twitter

    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        If [...]]]></description>
			<content:encoded><![CDATA[<p>Adding your own &#8216;Tweet This&#8217; buttons so your visitors can post to twitter (complete with URL shortening using Bit.ly) is really easy.</p>
<p>Just add a page &#8216;twitter.aspx&#8217; to your site and remove all the HTML from the page.</p>
<p>Add this code:</p>
<pre style="border: 1px solid black; overflow: auto; margin-bottom: 10px; width: 100%; height: 100%;"><code>
Imports System.Net

Partial Public Class Twitter

    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        If Request.QueryString("url") &lt;&gt; "" And Request.QueryString("com") &lt;&gt; "" Then

            TweetThis(Request.QueryString("url"), Request.QueryString("com"))

        End If

    End Sub

    Private Sub TweetThis(ByVal sIWTFURL As String, ByVal sComment As String)

        Dim sShortURL As String

        Dim sFullTweet As String

        sShortURL = ShortenURL(sIWTFURL)

        sFullTweet = sComment &amp; " - " &amp; sShortURL

        SentToTwitter(sFullTweet)

    End Sub

    Private Function ShortenURL(ByVal sURL As String) As String

        Dim sJSON As String

        Dim oWebClient As New WebClient

        Dim sBitlyURL As String

        Dim sShortURL As String

        sBitlyURL = "http://api.bit.ly/shorten?version=2.0.1&amp;longUrl=" &amp; Server.UrlEncode(sURL) &amp; "&amp;login=bitlyapidemo&amp;apiKey=R_0da49e0a9118ff35f52f629d2d71bf07"

        sJSON = oWebClient.DownloadString(sBitlyURL)

        sJSON = Mid$(sJSON, InStr(sJSON, Chr(34) &amp; "shortUrl" &amp; Chr(34)) + 9)

        Do While sJSON.ToLower.StartsWith("http://") = False

            sJSON = Mid$(sJSON, 2)

        Loop

        sShortURL = sJSON.Split(Chr(34))(0)

        ShortenURL = sShortURL

    End Function

    Private Sub SentToTwitter(ByVal sComments As String)

        Dim sURL As String

        sURL = "http://twitter.com/home/?status=" &amp; HttpUtility.UrlEncode(sComments)

        Response.Redirect(sURL, False)

    End Sub

End Class
</code></pre>
<p>Note: I am using the default Bit.ly login in the example, you should sign up for your own bit.ly account so you can track usage of your links.</p>
<p>Now you just need to add some javascript to your html pages:</p>
<pre style="border: 1px solid black; overflow: auto; margin-bottom: 10px; width: 100%; height: 100%;">
<code>
&lt;a href="#" onClick='javascript:PostToTwitter()'&gt;Tweet This&lt;/a&gt;

&lt;script&gt;
function PostToTwitter()
{
var sTweet = 'This is the default text that will appear in the tweet';
var ShareURL = window.location.href;

window.open('http://yoursite.com/twitter.aspx?url='+encodeURIComponent(ShareURL)+'&#038;com='+encodeURIComponent(sTweet));
return false;
}
&lt;/script&gt;
</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://gathadams.com/2009/08/08/add-tweet-this-button-to-your-aspnet-site-twitter-bitly-url-shortening/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Convert www. to non www. urls for ASP.Net websites</title>
		<link>http://gathadams.com/2009/06/16/convert-www-to-non-www-urls-for-aspnet/</link>
		<comments>http://gathadams.com/2009/06/16/convert-www-to-non-www-urls-for-aspnet/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 03:11:07 +0000</pubDate>
		<dc:creator>Gath</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gathadams.com/?p=93</guid>
		<description><![CDATA[Ok, redirecting your www. urls to non www. through IIS is a total pain. Using a url rewriter is a good option - but not always available in shared hosting. Here is a quick method if you have a small ASP.Net site or are using master pages.
Just add this code to the Page_Load sub in [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, redirecting your www. urls to non www. through IIS is a total pain. Using a url rewriter is a good option - but not always available in shared hosting. Here is a quick method if you have a small ASP.Net site or are using master pages.</p>
<p>Just add this code to the Page_Load sub in the master page, or to every page if you aren&#8217;t using master pages.</p>
<pre style="border: 1px solid black; overflow: auto; margin-bottom: 10px; width: 100%; height: 100%;"><code>
        If Not IsPostBack Then

            'redirect www. to non www.

            If LCase(Request.Url.AbsoluteUri).StartsWith("http://www.") = True Then

                Response.Status = "301 Moved Permanently"

                Dim sNewLocation As String

                sNewLocation = "http://" &amp; Mid$(Request.Url.AbsoluteUri, 12)

                If LCase(sNewLocation).EndsWith("/default.aspx") Then

                    sNewLocation = Left$(sNewLocation, Len(sNewLocation) - 13)

                End If

                Response.AddHeader("Location", sNewLocation)

                Exit Sub

            End If

        End If

</code></pre>
<p>the code removes the www. and does a simple 301 redirect, while preserving case etc in the new url.</p>
<p>Come to think of it, now that Google can follow javascript redirects, you could add this code as a javascript sub to your pages. Anyone want to do a live test on their site? <img src='http://gathadams.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://gathadams.com/2009/06/16/convert-www-to-non-www-urls-for-aspnet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MS Bing integrates Travel with their search engine</title>
		<link>http://gathadams.com/2009/06/04/ms-bing-integrates-travel-with-their-search-engine/</link>
		<comments>http://gathadams.com/2009/06/04/ms-bing-integrates-travel-with-their-search-engine/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 03:10:38 +0000</pubDate>
		<dc:creator>Gath</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://gathadams.com/?p=91</guid>
		<description><![CDATA[
For Travel Meta Search engines, this doesn&#8217;t seem like good news&#8230;
Microsoft bought FareCast in April 09, and now it is helping power Bing Travel. I haven&#8217;t seen the travel link on the Australian version of Bing, but I am guessing that it won&#8217;t be long. Not that I really care what Bing does, but if [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://gathadams.com/Pics/bing.jpg" alt="" /></p>
<p>For Travel Meta Search engines, this doesn&#8217;t seem like good news&#8230;</p>
<p>Microsoft bought FareCast in April 09, and now it is helping power Bing Travel. I haven&#8217;t seen the travel link on the Australian version of Bing, but I am guessing that it won&#8217;t be long. Not that I really care what Bing does, but if the integrated travel works for Microsoft, then Google may do the same thing. And <i>that</i> would be news. How many travel sites depend on traffic from Google? What if that dried up?</p>
]]></content:encoded>
			<wfw:commentRss>http://gathadams.com/2009/06/04/ms-bing-integrates-travel-with-their-search-engine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Blog restoration, upgrade to 2.7 and other stuff</title>
		<link>http://gathadams.com/2009/05/29/blog-restoration-upgrade-to-27-and-other-stuff/</link>
		<comments>http://gathadams.com/2009/05/29/blog-restoration-upgrade-to-27-and-other-stuff/#comments</comments>
		<pubDate>Sat, 30 May 2009 00:21:32 +0000</pubDate>
		<dc:creator>Gath</dc:creator>
		
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://gathadams.com/?p=88</guid>
		<description><![CDATA[A little while ago I noticed that my blog was down, and that some of the files in the root directory had been corrupted. I contact my host (BlueFur) and they got back to me after 24 hours to say they had fixed the probem, and that all was good.
And they had, kind of.
They had [...]]]></description>
			<content:encoded><![CDATA[<p>A little while ago I noticed that my blog was down, and that some of the files in the root directory had been corrupted. I contact my host (BlueFur) and they got back to me after 24 hours to say they had fixed the probem, and that all was good.</p>
<p>And they had, kind of.</p>
<p>They had restored the blog from a backup made over a year ago. Great going. That&#8217;ll teach me to rely on hosting backups, rather than do my own. Luckily I was able to get most of the posts from google cache, but all the comments made in the last 12 months were lost.</p>
<p>And I&#8217;ve finally rejoined society by upgrading to Wordpress 2.7 (up from 2.1). Finally, my posts are being saved automatically&#8230;</p>
<p>So now everything is in order. Time for some more posts!</p>
]]></content:encoded>
			<wfw:commentRss>http://gathadams.com/2009/05/29/blog-restoration-upgrade-to-27-and-other-stuff/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Star Wars - By someone that hasn’t seen it</title>
		<link>http://gathadams.com/2009/03/03/star-wars-by-someone-that-hasnt-seen-it/</link>
		<comments>http://gathadams.com/2009/03/03/star-wars-by-someone-that-hasnt-seen-it/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 08:00:00 +0000</pubDate>
		<dc:creator>Gath</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[comedy]]></category>

		<category><![CDATA[star wars]]></category>

		<guid isPermaLink="false">http://gathadams.com/2009/03/03/star-wars-by-someone-that-hasnt-seen-it/</guid>
		<description><![CDATA[This is the bestâ€¦


Star Wars: Retold (by someone who hasnâ€™t seen it) from Joe Nicolosi on Vimeo.This post brought to you by WeGotDomain.com - Over 10,000 Aged domains for sale!Related posts:

We Got Domain - over 10,000 aged domains for sale

]]></description>
			<content:encoded><![CDATA[<p>This is the bestâ€¦</p>
<p><embed src="http://vimeo.com/moogaloop.swf?clip_id=2809991&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="225"></embed><br />
<br />
<a href="http://vimeo.com/2809991">Star Wars: Retold (by someone who hasnâ€™t seen it)</a> from <a href="http://vimeo.com/user759504">Joe Nicolosi</a> on <a href="http://vimeo.com">Vimeo</a>.<span style="color: #aaaaaa">This post brought to you by <a href="http://wegotdomain.com">WeGotDomain.com</a> - Over 10,000 Aged domains for sale!</span><strong>Related posts:</strong></p>
<ol>
<li><a href="http://gathadams.com/2008/03/12/we-got-domain-over-10000-aged-domains-for-sale/" rel="bookmark" title="Permanent Link: We Got Domain - over 10,000 aged domains for sale">We Got Domain - over 10,000 aged domains for sale</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://gathadams.com/2009/03/03/star-wars-by-someone-that-hasnt-seen-it/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SEOMoz Linkscape API wrapper in VB.Net</title>
		<link>http://gathadams.com/2009/02/10/seomoz-api-wrapper-in-vbnet/</link>
		<comments>http://gathadams.com/2009/02/10/seomoz-api-wrapper-in-vbnet/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 08:00:00 +0000</pubDate>
		<dc:creator>Gath</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[apis]]></category>

		<category><![CDATA[c#]]></category>

		<category><![CDATA[Coding]]></category>

		<category><![CDATA[mozrank]]></category>

		<category><![CDATA[seomoz]]></category>

		<category><![CDATA[seomoz api]]></category>

		<category><![CDATA[vb.net]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://gathadams.com/2009/02/10/seomoz-linkscape-api-wrapper-in-vbnet/</guid>
		<description><![CDATA[SEOMoz have just released a Free API to get Link info &#38; their MozRank for domains. Before you can use the API, go to SEOMoz to get your AccessID and SecretKey.
The code here borrows from the function aws_GetSignature that comes with the Amazon Webservice.


Â Â Â Â Â Â Â Â Private Function dcMozRankGet(ByVal sWebSiteURL As String) As Decimal
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim sAccessID As String = [...]]]></description>
			<content:encoded><![CDATA[<p>SEOMoz have just released a Free API to get Link info &amp; their MozRank for domains. Before you can use the API, go to SEOMoz to <a href="http://www.seomoz.org/api/index/success">get your AccessID and SecretKey</a>.</p>
<p>The code here borrows from the function aws_GetSignature that comes with the Amazon Webservice.</p>
<pre style="border: 1px solid black; overflow: auto; margin-bottom: 10px; width: 100%; height: 100%">
<code>
Â Â Â Â Â Â Â Â Private Function dcMozRankGet(ByVal sWebSiteURL As String) As Decimal
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim sAccessID As String = "YourAccessID"
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim sSecretKey As String = "YourSecretKey"
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim lExpires As Long = DateDiff("s", DateSerial(1970, 1, 1), Now()) + 300
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim sSafeSignature As String
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim sURLToFetch As String
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim sResult As String

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sWebSiteURL = HttpUtility.UrlEncode(sWebSiteURL)
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sSafeSignature = Encode(sAccessID, lExpires, sSecretKey, vbLf)

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sURLToFetch = "http://lsapi.seomoz.com/linkscape/mozrank/" &amp; _
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sWebSiteURL &amp; "?AccessID=" &amp; sAccessID &amp; "&amp;Expires=" &amp; lExpires &amp; _
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â "&amp;Signature=" &amp; sSafeSignature

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sResult = sGetData(sURLToFetch)
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sResult = Mid$(sResult, InStr(sResult, """umrp"":") + 7)
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sResult = sResult.Split(",")(0)
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â dcMozRankGet = CDec(sResult)
Â Â Â Â Â Â Â Â End Function

Â Â Â Â Â Â Â Â Public Function Encode(ByVal sAccessID As String, _
Â Â Â Â Â Â Â Â ByVal lExpires As Long, _
Â Â Â Â Â Â Â Â ByVal SecretAccessKey As String, ByVal Separator As String) As String

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim sAccessExpires As String
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sAccessExpires = sAccessID &amp; Separator &amp; lExpires

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim strSig_UTF8 As Byte()
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim strSignature As String
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim objUTF8Encoder As UTF8Encoding
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim objHMACSHA1 As HMACSHA1

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â objUTF8Encoder = New UTF8Encoding()
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â strSig_UTF8 = objUTF8Encoder.GetBytes(sAccessExpires)

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â objHMACSHA1 = New HMACSHA1( _
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  objUTF8Encoder.GetBytes(SecretAccessKey))
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â strSignature = Convert.ToBase64String _
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  (objHMACSHA1.ComputeHash( _
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  objUTF8Encoder.GetBytes( _
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â  sAccessExpires.ToCharArray())))

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Encode = HttpUtility.UrlEncode(strSignature)

Â Â Â Â Â Â Â Â End Function

Â Â Â Â Â Â Â Â Public Function sGetData(ByVal sURL As String, _
Optional ByRef oCookies As CookieContainer = Nothing) As String

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim Writer As StreamWriter = Nothing
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim WebRequestObject As HttpWebRequest
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim sr As StreamReader
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim WebResponseObject As HttpWebResponse
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim sbResultsBuilder As New StringBuilder
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim sBuffer(8192) As Char
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Dim iRetChars As Integer

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â WebRequestObject = CType(WebRequest.Create(sURL), HttpWebRequest)
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â WebRequestObject.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)"
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â WebRequestObject.Method = "GET"
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â WebRequestObject.Timeout = 55000
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â WebRequestObject.ReadWriteTimeout = 55000
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â WebRequestObject.AllowAutoRedirect = True

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â If Not (oCookies Is Nothing) Then
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â WebRequestObject.CookieContainer = oCookies
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â End If

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â WebResponseObject = CType(WebRequestObject.GetResponse(), HttpWebResponse)

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sr = New StreamReader(WebResponseObject.GetResponseStream)

Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Do
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â iRetChars = sr.Read(sBuffer, 0, sBuffer.Length)
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â If iRetChars &gt; 0 Then
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sbResultsBuilder.Append(sBuffer, 0, iRetChars)
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â End If
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Loop While iRetChars &gt; 0
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â sGetData = sbResultsBuilder.ToString

Â Â Â Â Â Â Â Â End Function
</code></pre>
<p>An example call is:<br />
<code><br />
dcYourRank = dcMozRankGet("www.seomoz.org")<br />
</code></p>
<p><span style="color: #aaaaaa">This post brought to you by <a href="http://wegotdomain.com">WeGotDomain.com</a> - Over 10,000 Aged domains for sale!</span></p>
<p><strong>Related posts:</strong></p>
<ol>
<li><a href="http://gathadams.com/2008/12/01/getting-flights-info-from-the-kayak-api-in-aspnet/" rel="bookmark" title="Permanent Link: Getting Flights info from the Kayak API in ASP.Net">Getting Flights info from the Kayak API in ASP.Net</a></li>
<li><a href="http://gathadams.com/2009/01/06/allowing-special-characters-forward-slash-hash-asterisk-etc-in-aspnet-mvc-urls/" rel="bookmark" title="Permanent Link: Allowing special characters (forward slash, hash, asterisk etc) in ASP.Net MVC URL parameters">Allowing special characters (forward slash, hash, asterisk etc) in ASP.Net MVC URL parameters</a></li>
<li><a href="http://gathadams.com/2008/11/25/automate-firefox-with-aspnet/" rel="bookmark" title="Permanent Link: Automate FireFox with ASP.net">Automate FireFox with ASP.net</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://gathadams.com/2009/02/10/seomoz-api-wrapper-in-vbnet/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Copying the contents of one combo box to another</title>
		<link>http://gathadams.com/2009/01/31/copying-the-contents-of-one-combo-box-to-another/</link>
		<comments>http://gathadams.com/2009/01/31/copying-the-contents-of-one-combo-box-to-another/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 08:00:00 +0000</pubDate>
		<dc:creator>Gath</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://gathadams.com/2009/01/31/copying-the-contents-of-one-combo-box-to-another/</guid>
		<description><![CDATA[Quick code tip on how to copy the contents of a combo box (HTML Select) to another. Using JQuery, of course.

$(&#8221;#NewCombo&#8221;).html($(&#8221;#OriginalCombo&#8221;).html());

I use this for forms with several date pickers, country pickers etc.
This post brought to you by WeGotDomain.com - Over 10,000 Aged domains for sale!
Related posts:

We Got Domain - over 10,000 aged domains for sale
Cast [...]]]></description>
			<content:encoded><![CDATA[<p>Quick code tip on how to copy the contents of a combo box (HTML Select) to another. Using JQuery, of course.</p>
<p><code><br />
$(&#8221;#NewCombo&#8221;).html($(&#8221;#OriginalCombo&#8221;).html());<br />
</code></p>
<p>I use this for forms with several date pickers, country pickers etc.</p>
<p><span style="color:#AAAAAA">This post brought to you by <a href="http://wegotdomain.com">WeGotDomain.com</a> - Over 10,000 Aged domains for sale!</span></p>
<p><b>Related posts:</b>
<ol>
<li><a href="http://gathadams.com/2008/03/12/we-got-domain-over-10000-aged-domains-for-sale/" rel="bookmark" title="Permanent Link: We Got Domain - over 10,000 aged domains for sale">We Got Domain - over 10,000 aged domains for sale</a></li>
<li><a href="http://gathadams.com/2007/03/12/cast-your-net-wiiiide/" rel="bookmark" title="Permanent Link: Cast your net wiiiide">Cast your net wiiiide</a></li>
<li><a href="http://gathadams.com/2008/12/18/copying-cookies-across-domains-in-aspnet/" rel="bookmark" title="Permanent Link: Copying cookies across domains in ASP.Net">Copying cookies across domains in ASP.Net</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://gathadams.com/2009/01/31/copying-the-contents-of-one-combo-box-to-another/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Social Media sites to submit your programming content to</title>
		<link>http://gathadams.com/2009/01/23/social-media-sites-to-submit-your-programming-content-to/</link>
		<comments>http://gathadams.com/2009/01/23/social-media-sites-to-submit-your-programming-content-to/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 08:00:00 +0000</pubDate>
		<dc:creator>Gath</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[SEO]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://gathadams.com/2009/01/23/social-media-sites-to-submit-your-programming-content-to/</guid>
		<description><![CDATA[
I have benefited hugely from submitting my blog posts to the various niche social media sites that focus on programming.
The best (for me) have been:

DZone
DotNetKicks
WebDevVote
DotNetShoutOut (this is new, but looks good).

If you can get to front page on Digg, Reddit or Mixx then you&#8217;ve got more luck than me 
This post brought to you by [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://gathadams.com/Pics/SocialMedia.jpg" border="0"></p>
<p>I have benefited hugely from submitting my blog posts to the various niche social media sites that focus on programming.</p>
<p>The best (for me) have been:</p>
<ul>
<li><a href="http://dzone.com/">DZone</a></li>
<li><a href="http://dotnetkicks.com/">DotNetKicks</a></li>
<li><a href="http://webdevvote.com/">WebDevVote</a></li>
<li><a href="http://dotnetshoutout.com/">DotNetShoutOut</a> (this is new, but looks good).</li>
</ul>
<p>If you can get to front page on Digg, Reddit or Mixx then you&#8217;ve got more luck than me <img src="http://gathadams.com/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley"></p>
<p><span style="color:#AAAAAA">This post brought to you by <a href="http://wegotdomain.com">WeGotDomain.com</a> - Over 10,000 Aged domains for sale!</span></p>
<p><b>Related posts:</b>
<ol>
<li><a href="http://gathadams.com/2008/03/12/we-got-domain-over-10000-aged-domains-for-sale/" rel="bookmark" title="Permanent Link: We Got Domain - over 10,000 aged domains for sale">We Got Domain - over 10,000 aged domains for sale</a></li>
<li><a href="http://gathadams.com/2007/04/09/hiding-the-digg-button-from-diggers/" rel="bookmark" title="Permanent Link: Hiding the Digg button from Diggers">Hiding the Digg button from Diggers</a></li>
<li><a href="http://gathadams.com/2007/03/12/cast-your-net-wiiiide/" rel="bookmark" title="Permanent Link: Cast your net wiiiide">Cast your net wiiiide</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://gathadams.com/2009/01/23/social-media-sites-to-submit-your-programming-content-to/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cool JQuery Plugins</title>
		<link>http://gathadams.com/2009/01/18/cool-jquery-plugins/</link>
		<comments>http://gathadams.com/2009/01/18/cool-jquery-plugins/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 08:00:00 +0000</pubDate>
		<dc:creator>Gath</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[asp.net]]></category>

		<category><![CDATA[asp.net mvc]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[mvc]]></category>

		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://gathadams.com/2009/01/18/cool-jquery-plugins/</guid>
		<description><![CDATA[JQuery - it really is all that &#038; a packet of chips.
Smashing Magazine has just published 45+ New jQuery Techniques For Good User Experience and there is plenty of goodness in there.
For IWantThatHotel.com.au the JQuery plugins that I used were:
BGIFrame
Date Picker
jCarousel (but I am thinking of replacing it with this Content Slider
Lightbox
This post brought to [...]]]></description>
			<content:encoded><![CDATA[<p>JQuery - it really is all that &#038; a packet of chips.</p>
<p>Smashing Magazine has just published <a href="http://www.smashingmagazine.com/2009/01/15/45-new-jquery-techniques-for-a-good-user-experience/">45+ New jQuery Techniques For Good User Experience</a> and there is plenty of goodness in there.</p>
<p>For <a herf="http://iwantthathotel.com.au">IWantThatHotel.com.au</a> the JQuery plugins that I used were:</p>
<p><a href="http://plugins.jquery.com/project/bgiframe">BGIFrame</a><br />
<a href="http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/">Date Picker</a><br />
<a href="http://sorgalla.com/jcarousel/">jCarousel</a> (but I am thinking of replacing it with this <a href="http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/">Content Slider</a><br />
<a href="http://leandrovieira.com/projects/jquery/lightbox/">Lightbox</a></p>
<p><span style="color:#AAAAAA">This post brought to you by <a href="http://wegotdomain.com">WeGotDomain.com</a> - Over 10,000 Aged domains for sale!</span></p>
<p><b>Related posts:</b>
<ol>
<li><a href="http://gathadams.com/2008/03/12/we-got-domain-over-10000-aged-domains-for-sale/" rel="bookmark" title="Permanent Link: We Got Domain - over 10,000 aged domains for sale">We Got Domain - over 10,000 aged domains for sale</a></li>
<li><a href="http://gathadams.com/2008/09/23/integrating-jquery-with-aspnet-a-cool-client-side-alert-box/" rel="bookmark" title="Permanent Link: Integrating JQuery with ASP.net - A Cool Client-side Alert Box">Integrating JQuery with ASP.net - A Cool Client-side Alert Box</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://gathadams.com/2009/01/18/cool-jquery-plugins/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Getting ASP.Net MVC running on IIS6</title>
		<link>http://gathadams.com/2009/01/14/getting-aspnet-mvc-running-on-iis6/</link>
		<comments>http://gathadams.com/2009/01/14/getting-aspnet-mvc-running-on-iis6/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 08:00:00 +0000</pubDate>
		<dc:creator>Gath</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[asp.net]]></category>

		<category><![CDATA[asp.net mvc]]></category>

		<category><![CDATA[iis6]]></category>

		<category><![CDATA[mvc]]></category>

		<guid isPermaLink="false">http://gathadams.com/2009/01/14/getting-aspnet-mvc-running-on-iis6/</guid>
		<description><![CDATA[I have recently finished a new site IWantThatHotel, my first in ASP.Net MVC.
Over the next couple of weeks I will be posting code examples in VB.Net MVC (of which there are hardly any, it seems).
But first, here is a link to 2 posts that were a huge help getting the clean MVC urls running on [...]]]></description>
			<content:encoded><![CDATA[<p>I have recently finished a new site <a href="http://iwantthathotel.com.au">IWantThatHotel</a>, my first in ASP.Net MVC.</p>
<p>Over the next couple of weeks I will be posting code examples in VB.Net MVC (of which there are hardly any, it seems).</p>
<p>But first, here is a link to 2 posts that were a huge help getting the clean MVC urls running on IIS6<br />
<a href="http://blog.codeville.net/2008/07/04/options-for-deploying-aspnet-mvc-to-iis-6/">Deploying ASP.NET MVC to IIS 6</a><br />
Several options are presented - I chose &#8220;Use a wildcard mapping for aspnet_isapi.dll&#8221; (out of the 4 options presented) because I didn&#8217;t want to alter my routes or extensions, and URL rewriting is a pain.</p>
<p>There is a separate post which talks about improving the performance of this method, which is worth implementing:<br />
<a href="http://blog.codeville.net/2008/07/07/overriding-iis6-wildcard-maps-on-individual-directories/">Disabling wildcard mapping on subdirectories</a></p>
<p><span style="color:#AAAAAA">This post brought to you by <a href="http://wegotdomain.com">WeGotDomain.com</a> - Over 10,000 Aged domains for sale!</span></p>
<p>No related posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://gathadams.com/2009/01/14/getting-aspnet-mvc-running-on-iis6/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
