﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Cool Programming</title>
    <link>http://www.kbcafe.com/csharp/</link>
    <description>Cool Programming Tips with C#</description>
    <managingEditor>webmaster@kbcafe.com</managingEditor>
    <webMaster>webmaster@kbcafe.com</webMaster>
    <pubDate>Thu, 11 Jun 2009 14:19:40 GMT</pubDate>
    <lastBuildDate>Thu, 11 Jun 2009 14:19:40 GMT</lastBuildDate>
    <copyright>Copyright 2005 Randy Charles Morin</copyright>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <url>http://www.kbcafe.com/csharp/logo.jpg</url>
      <title>Cool Programming</title>
      <link>http://www.kbcafe.com/csharp/</link>
    </image>
    <rar:archive xmlns:rar="http://tempuri.org">http://www.kbcafe.com/csharp/archive.xml</rar:archive>
    <item>
      <title>Word Count Javascript</title>
      <description>&lt;P&gt;Minimal Javascript code to preform a simple word count.&lt;/P&gt;
&lt;P&gt;
&lt;form method="POST" name="wordcount"&gt;
  &lt;script language="JavaScript"&gt;

function countit(){

/*Word count script
By JavaScript Kit (http://javascriptkit.com)
Over 400+ free scripts here!
*/

var formcontent=document.wordcount.wordcount2.value
formcontent=formcontent.split(" ")
document.wordcount.wordcount3.value=formcontent.length
}
&lt;/script&gt;
&lt;table border="0" cellspacing="0" cellpadding="0"&gt;
    &lt;tr&gt;
      &lt;td width="100%"&gt;&lt;textarea rows="12" name="wordcount2" cols="60" wrap="virtual"&gt;&lt;/textarea&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td width="100%"&gt;&lt;div align="right"&gt;&lt;p&gt;&lt;input type="button" value="Calculate Words"
      onClick="countit()"&gt; &lt;input type="text" name="wordcount3" size="20"&gt;&lt;/p&gt;
      &lt;div align="center"&gt;&lt;center&gt;&lt;p&gt;&lt;font face="arial" size="-2"&gt;This free script provided by&lt;/font&gt;
      &lt;font face="arial, helvetica" size="-2"&gt;&lt;a href="http://javascriptkit.com"&gt;JavaScript
      Kit&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;
      &lt;/center&gt;&lt;/div&gt;&lt;/div&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
&lt;/form&gt;</description>
      <link>http://www.kbcafe.com/csharp/?guid=20090611071812</link>
      <pubDate>Thu, 11 Jun 2009 14:18:12 GMT</pubDate>
      <guid>http://www.kbcafe.com/csharp/?guid=20090611071812</guid>
      <comments>http://www.kbcafe.com/csharp/?guid=20090611071812</comments>
      <trackback:ping xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">http://www.kbcafe.com/csharp/trackback.aspx?guid=20090611071812</trackback:ping>
      <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/commentapi.aspx?guid=20090611071812</wfw:comment>
      <wfw:commentRSS xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/20090611071812.xml</wfw:commentRSS>
      <category>javascript</category>
      <category>
      </category>
      <category>
      </category>
    </item>
    <item>
      <title>Mobile Redirect</title>
      <description>The stupidest mobile device algorithm is when the redirect all mobile hits to their non-mobile site to the mobile site homepage. Like I'm gonna search your site for the link I was expecting. That's simple laziness. If you are stupid enough to have a separate mobile site in the first place, at least try to redirect me to the proper page or provide me some option of going to the non-mobile page.</description>
      <link>http://www.kbcafe.com/csharp/?guid=20090604091916</link>
      <pubDate>Thu, 04 Jun 2009 16:19:16 GMT</pubDate>
      <guid>http://www.kbcafe.com/csharp/?guid=20090604091916</guid>
      <comments>http://www.kbcafe.com/csharp/?guid=20090604091916</comments>
      <trackback:ping xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">http://www.kbcafe.com/csharp/trackback.aspx?guid=20090604091916</trackback:ping>
      <wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/commentapi.aspx?guid=20090604091916</wfw:comment>
      <wfw:commentRSS xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.kbcafe.com/csharp/20090604091916.xml</wfw:commentRSS>
      <category>mobile</category>
      <category>dev</category>
    </item>
  </channel>
</rss>
