<?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 Cash &#187; Online Tools</title>
	<atom:link href="http://www.earn-web-cash.com/category/online-tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.earn-web-cash.com</link>
	<description>Writing, Designing, and Making Money Online</description>
	<lastBuildDate>Sun, 04 Dec 2011 22:52:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Share Your Reading Habits: Google Reader</title>
		<link>http://www.earn-web-cash.com/2008/04/28/share-articles-google-reader/</link>
		<comments>http://www.earn-web-cash.com/2008/04/28/share-articles-google-reader/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 01:53:17 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[Redirected]]></category>
		<category><![CDATA[Blogs]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/04/28/share-articles-google-reader/</guid>
		<description><![CDATA[Part of developing a successful blog and your identity as a blogger is creating a web of blogs that you read and participate in. Imagine the blogosphere as a giant web. You want to connect your website to a bunch of others &#8211; you don&#8217;t want to just be a random thread connected to nothing. [...]]]></description>
			<content:encoded><![CDATA[<p>Part of developing a successful blog and your identity as a blogger is creating a web of blogs that you read and participate in.  Imagine the blogosphere as a giant web.  You want to connect your website to a bunch of others &#8211; you don&#8217;t want to just be a random thread connected to nothing.</p>
<p>Google Reader provides you with a nifty tool to help you do this.  With the &#8220;Share&#8221; feature of Google Reader, you can easily syndicate a list of articles that you recently read and found interesting.<br />
<span id="more-188"></span></p>
<h4>Get a Google Account: Start Reading</h4>
<p>If you don&#8217;t use Google Reader &#8211; or another feed reader &#8211; <strong>start</strong> using one.  Until you use RSS feeds on a daily basis, you&#8217;ll never know how wonderful they are, and you&#8217;ll never know how much your readers may come to rely on them.</p>
<p>Once I decide I like a site, I generally read it through Google Reader.  If an article is interesting, I&#8217;ll click through to the site and comment on it.  Other than that, I rarely go back to the site.  Without the RSS reader, I&#8217;d probably never return to the site at all.</p>
<p>An RSS reader is a great way to collect relevant readings into one location &#8211; so you can sit there with your cup of coffee and read all of the new stuff out in the blogosphere.  You can then decide what is important enough to comment on (on someone else&#8217;s blog) or respond to (on your own blog).</p>
<h4>Share Items &#8211; Creating Your Own Feed</h4>
<p>With Google Reader, there is a cool &#8220;Share&#8221; feature.  At the bottom of the article you are reading, there&#8217;s a list of options &#8211; &#8220;Add Star,&#8221; &#8220;Share,&#8221; &#8220;E-mail,&#8221; and &#8220;Mark as Read.&#8221;</p>
<p>By choosing the &#8220;Share&#8221; option you are adding that article to a publicly viewable list.  That list also generates its own RSS feed &#8211; which makes it easy for you to syndicate the feed on your own site.  By doing so, you provide your readers with a list of articles that you recently read and found interesting.</p>
<p>It&#8217;s a more targeted and stable than a standard RSS feed that just shows every headline from a given website &#8211; which will hopefully make it more useful for your readers.</p>
<h4>Grab the Widget, Style Yourself</h4>
<p>This feed is available in a standard rss xml file.  You could use <a href="http://www.earn-web-cash.com/2008/02/09/simple-xml-rss-feed/">SimpleXML to parse the feed</a> and display the information yourself.  Or, you could use the ready-made widget that Google provides.</p>
<p>The Google widget uses Javascript to access the information while your page is loading.  This potentially stops your page from hanging if the Google server is not responding &#8211; the rest of the page can load while the RSS feed is updated.  You can find this widget by clicking on the &#8220;Your shared items&#8221; link in Google Reader and clicking on the &#8220;put a clip of your shared items&#8221; link.</p>
<p>The only problem is that the pre-designed styles don&#8217;t offer you a lot of options for making the list blend in with your site&#8217;s theme.  My suggestion would be to select &#8220;None,&#8221; for the color scheme.  You may also want to leave the title blank, and add your own title to the feed.</p>
<p>If you do this, the feed will be generated with the following HTML.  Note:  This example uses the &#8220;Show item sources&#8221; option.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">id</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;readerpublishermodule0&quot;</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;reader-publisher-module&quot;</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;i&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Good for Hunters, Bad for Druids&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://4thehorde.wordpress.com/2008/04/25/good-for-hunters-bad-for-druids/&quot;</span>&gt;</span>Good for Hunters, Bad for Druids<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s&quot;</span>&gt;</span>from <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://4thehorde.wordpress.com&quot;</span>&gt;</span>For the Horde<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;i&quot;</span> <span style="color: #000066;">title</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;Bornakk: Druids Not to be &amp;quot;Big Green Blobs&amp;quot;&quot;</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://feeds.feedburner.com/%7Er/Resto4Life/%7E3/279629927/&quot;</span>&gt;</span>Bornakk: Druids Not to be &quot;Big Green Blobs&quot;<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>
      <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;s&quot;</span>&gt;</span>from <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.resto4life.com&quot;</span>&gt;</span>Resto4Life<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
    <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">li</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">ul</span>&gt;</span>
  <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">div</span> <span style="color: #000066;">class</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;f&quot;</span>&gt;&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;http://www.google.com/reader/shared/user/18391951200330501918/state/com.google/broadcast&quot;</span>&gt;</span>Read more...<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">div</span>&gt;</span></pre></div></div>

<p>By taking a look at this example HTML, you can easily style the widget yourself.</p>
<p>The entire thing is contained in a div with class &#8220;reader-publisher-module.&#8221;  Each headline is contained within its own &#8220;li.&#8221;  If you use the option to display the source of the article, it&#8217;s in a div with class &#8220;s&#8221; inside the list item.</p>
<p>My one gripe with Google Reader is I can&#8217;t create multiple shared lists.  For example, I&#8217;ve divided blogs I read into ones related to web development and ones related to World of Warcraft.  I&#8217;d love to be able to create a shared article list for each topic, so that I can syndicate each one on a different website.</p>
<p>If you want to see this in action, check out my World of Warcraft blog, <a href="http://rolling-horde.net">Rolling Horde</a>.  It&#8217;s on the right hand side, in the middle column, underneath the recent articles.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/04/28/share-articles-google-reader/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Google Analytics: Inserting Into a WordPress Template</title>
		<link>http://www.earn-web-cash.com/2008/03/29/google-analytics-wordpress/</link>
		<comments>http://www.earn-web-cash.com/2008/03/29/google-analytics-wordpress/#comments</comments>
		<pubDate>Sat, 29 Mar 2008 17:00:48 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[Redirected]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Analytics]]></category>
		<category><![CDATA[Stat Tracking]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/03/29/google-analytics-wordpress/</guid>
		<description><![CDATA[Google Analytics is a great tool for gathering data about your website. You can track and analyze all kinds of data about your visitors, their navigation paths, and the effectiveness of your content. To use Google Analytics, you need to place some javascript on your website. A commonly asked question in forums is, &#8220;How do [...]]]></description>
			<content:encoded><![CDATA[<p>Google Analytics is a great tool for gathering data about your website.  You can track and analyze all kinds of data about your visitors, their navigation paths, and the effectiveness of your content.</p>
<p>To use Google Analytics, you need to place some javascript on your website.  A commonly asked question in forums is, &#8220;How do I add Google Analytics to my WordPress template?&#8221;<br />
<span id="more-184"></span></p>
<h4>Where the Analytics Code Goes</h4>
<p>When you sign up for Google Analytics, Google provides you with a short piece of javascript to place on your site.  The code should look like this.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>
var gaJsHost = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://ssl.&quot; : &quot;http://www.&quot;);
document.write(unescape(&quot;%3Cscript src='&quot; + gaJsHost + &quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&quot;));
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">script</span> <span style="color: #000066;">type</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">&quot;text/javascript&quot;</span>&gt;</span>
var pageTracker = _gat._getTracker(&quot;UA-2894597-3&quot;);
pageTracker._initData();
pageTracker._trackPageview();
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">script</span>&gt;</span></pre></div></div>

<p>According to Google&#8217;s instructions, this needs to be placed at the very end of your site &#8211; just before the closing body tag.  To do this, we need to find the closing body tag on the WordPress template.</p>
<h4>Look In Footer.php</h4>
<p>As we previously discovered, a <a href="http://www.earn-web-cash.com/2008/03/10/wordpress-template-basics/">WordPress template</a> is made up of a series of files.  Three basic files &#8211; header.php, sidebar.php, and footer.php &#8211; help build the components of the page.</p>
<p>If your WordPress template follows normal conventions, the closing body tag should be in the footer.php file.</p>
<p>Go to your themes directory of the WordPress installation, navigate to your current theme, and open footer.php.  You should see something like this at the end.</p>

<div class="wp_syntax"><div class="code"><pre class="html4strict" style="font-family:monospace;"><span style="color: #009900;">&lt;?php wp_footer<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>; ?&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">body</span>&gt;</span>
<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">html</span>&gt;</span></pre></div></div>

<p>Add a blank line before the closing body tag.  Simply copy and paste the javascript code that Google provides on that blank line, save the file, and you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/03/29/google-analytics-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Great Resources: Learning JS, AJAX, and DOM</title>
		<link>http://www.earn-web-cash.com/2008/02/19/resources-js-ajax-dom/</link>
		<comments>http://www.earn-web-cash.com/2008/02/19/resources-js-ajax-dom/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 23:00:50 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[dom]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[resources]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/02/19/resources-js-ajax-dom/</guid>
		<description><![CDATA[Over the weekend, I decided it was finally time to learn how to use JS and AJAX. I&#8217;d deliberately avoided using JS for anything I could accomplish in PHP &#8211; but I admit that I was getting a bit intrigued by the AJAX hooplah. I found some very useful resources for dealing with JS, AJAX, [...]]]></description>
			<content:encoded><![CDATA[<p>Over the weekend, I decided it was finally time to learn how to use JS and AJAX.  I&#8217;d deliberately avoided using JS for anything I could accomplish in PHP &#8211; but I admit that I was getting a bit intrigued by the AJAX hooplah.</p>
<p>I found some very useful resources for dealing with JS, AJAX, and DOM, so I thought I&#8217;d share them for any other eager learners.<br />
<span id="more-131"></span></p>
<h5>Getting Started with AJAX</h5>
<p>The first place I stopped in my quest for knowledge was the <a href="http://www.ibm.com/developerworks/views/web/libraryview.jsp?search_by=Mastering+Ajax">Mastering Ajax</a> series of articles at IBM&#8217;s Developer Works.</p>
<p>I read through the first half of the series.  Articles 1, 2, and 3 give a pretty good overview of how to create and use an AJAX request.  The later articles introduce the DOM and provide a good overview of how to work with the AJAX response and edit the existing web page.</p>
<p>After reading the first two articles, I was able to re-craft the examples and create some basic AJAX-driven forms of my own.  It wasn&#8217;t anything exciting &#8211; but the concept was easy enough to master.</p>
<p>Although you can get by without ever working directly with the AJAX request object, I agree with the author of this series of articles.  It&#8217;s best to learn to do something the hard way first &#8211; then you can take shortcuts.</p>
<h5>AJAX the Easy Way &#8211; Prototype.js</h5>
<p>Later in the weekend, I set about creating my first real AJAX application.  My <a href="http://www.earn-web-cash.com/2008/02/18/digg-badge-popular-posts/">Digg WordPress Plugin</a> uses AJAX to check the Digg API for info on an article after the page has loaded.</p>
<p>I tried to rework the code that I&#8217;d built with the Developer Works tutorial, but I ran into a problem when I had to make more than one request.  I knew I had to make extra instances of the HttpRequest object, but I was having trouble getting the code to execute the way I wanted it to.  Admittedly I&#8217;m a JS newbie &#8211; the first Javascript I ever wrote was the code from the first AJAX tutorial.</p>
<p>I found a great solution though &#8211; <a href="http://www.prototypejs.org/api">prototype.js</a>.  This is a javascript/ajax framework that makes it much simpler to work with the base AJAX class.</p>
<p>This made it much easier to create multiple instances of an AJAX request class and have them simultaneously fire off and handle requests.  It also handles some of the browser compatibility issues.  I like to do things on my own, but I&#8217;m pretty sure I&#8217;ll be using prototype.js from now on for any AJAX projects I work on.</p>
<h5>DOM: Document Object Model Resources</h5>
<p>Once I got a hang of sending and processing requests with AJAX, I had to turn to DOM to edit the page.  After reading through the Developer Works tutorial and fiddling a bit on my own, I found this surprisingly easy.</p>
<p>If you&#8217;ve got an understanding of OOP and XML, the DOM should be pretty straightforward for you.  However, there are a decent amount of methods/properties you&#8217;ll run into.  I found two great references that I&#8217;ll be using for a while until I get more familiar with the DOM methods/properties.</p>
<p>howtocreate.co.uk has a compact <a href="http://www.howtocreate.co.uk/tutorials/javascript/domstructure">list of pertinent methods and properties</a>.  It&#8217;s not explained very well, but it&#8217;s good for looking up a method quickly.  By contrast, <a href="http://www.javascriptkit.com/domref/elementmethods.shtml">Javascript Kit</a> has a thorough reference of methods and properties with explanations.  It&#8217;s a bit more verbose, but a better choice if you haven&#8217;t got a clue how a method works.</p>
<p>Working with JS, AJAX, and DOM is pretty simple &#8211; especially if you already know a scripting language like PHP.  So don&#8217;t wait any longer &#8211; go out and add to your repertoire.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/02/19/resources-js-ajax-dom/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to Only Show the Digg Badge for Popular Posts</title>
		<link>http://www.earn-web-cash.com/2008/02/18/digg-badge-popular-posts/</link>
		<comments>http://www.earn-web-cash.com/2008/02/18/digg-badge-popular-posts/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 19:45:09 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/02/18/digg-badge-popular-posts/</guid>
		<description><![CDATA[Digg can be a great source of traffic and recognition for tech related blogs. Some people take it to the extreme though, and show the &#8220;Digg This&#8221; badge on every article they write. As others have pointed out, this can be counter-productive. People don&#8217;t like to read articles that have just one Digg &#8211; they [...]]]></description>
			<content:encoded><![CDATA[<p>Digg can be a great source of traffic and recognition for tech related blogs.  Some people take it to the extreme though, and show the &#8220;Digg This&#8221; badge on every article they write.</p>
<p>As <a href="http://www.pronetadvertising.com/articles/why-the-digg-button-gets-you-buried-not-dugg11995.html">others have pointed out</a>, this can be counter-productive.  People don&#8217;t like to read articles that have just one Digg &#8211; they seem unpopular.</p>
<p>So here&#8217;s a solution: use the <a href="http://www.earn-web-cash.com/scripts-plugins-and-modules/wp-plugin-digg-badge/">Conditional &#8220;Digg This&#8221; WordPress Plugin</a> to only show the Digg Badge for articles that have a certain number of Diggs.<br />
<span id="more-129"></span></p>
<h5>Why Shouldn&#8217;t You Show the Digg Badge on Every Article?</h5>
<p>It&#8217;s easy enough to plaster the Digg Badge in your template or use a plug-in to add it to every post.  Most of your posts aren&#8217;t going to be popular though.  You&#8217;ll get at most one or two Diggs&#8230; nothing to write home about.</p>
<p>When a user opens your article, he or she might be impressed by &#8220;100 Diggs.&#8221;  He or she definitely won&#8217;t be impressed by &#8220;1 Digg.&#8221;  That&#8217;s a hint that your article wasn&#8217;t anything special &#8211; so why should the reader keep going?</p>
<h5>Using the Plugin to Only Show the Badge on Popular Articles</h5>
<p>The <a href="http://www.earn-web-cash.com/scripts-plugins-and-modules/wp-plugin-digg-badge/">Conditional Digg This</a> plug-in was designed to address this issue.</p>
<p>All you need to do is download the source code, upload it to your plugins directory, unpack the tar.gz, and click &#8220;Activate.&#8221;  You don&#8217;t need to modify any settings or insert anything into your template.  It&#8217;s all automated.</p>
<h5>How Does It Work?</h5>
<p>The basic concept behind the plugin is this:</p>
<ul>
<li>Load a story in your WordPress Blog</li>
<li>Check the Digg API to see how many diggs the article has</li>
<li>If the article has 10 or more diggs, show the badge&#8230;</li>
<li>Otherwise, leave it alone.</li>
</ul>
<p>Originally, I coded the plug-in to use a php function to access the API and check the number of Diggs each article had as it loaded.  This worked perfectly &#8211; but it took a while.  Sometimes, the API is slow to respond.  If the API took 8 seconds to spit back a response, that meant your page would take 8 extra seconds to load up.</p>
<p>Even if the API was responding quickly, this was a problem for the front page and category pages.  At best, the API takes about .25 to .5 seconds to respond &#8211; and with 10-15 checks on a page&#8230; you&#8217;re still waiting a good long time for the page to load.</p>
<h5>Load First, Check the API Later</h5>
<p>The solution I came up with was to use some nifty AJAX to perform the API checking behind the scenes.</p>
<p>The plug-in creates an AJAX request for each article.  It sends information to a php script which accesses the Digg API behind the scenes.  The page loads up instantly and AJAX will quietly do its thing.  When the response is ready, it&#8217;ll change the page to include the Digg This badge if necessary.</p>
<p>So, the next time you want to display a &#8220;Digg This&#8221; badge on your article, think about how many diggs your article has already.  Or, use the <a href="http://www.earn-web-cash.com/scripts-plugins-and-modules/wp-plugin-digg-badge/">Conditional &#8220;Digg This&#8221; WordPress Plugin</a> to automatically add a badge to your popular articles.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/02/18/digg-badge-popular-posts/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Digg API: Grabbing a Random Digg Story with PHP</title>
		<link>http://www.earn-web-cash.com/2008/02/16/digg-api-random-story/</link>
		<comments>http://www.earn-web-cash.com/2008/02/16/digg-api-random-story/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 00:46:22 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[PHP Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[digg]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[syndicate]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/02/16/digg-api-random-story/</guid>
		<description><![CDATA[I read about the Digg API the other day, and I thought it was about time I played around with it. There is a ton of cool stuff you can do with this. Basically, you send a request to the Digg server and it sends back whatever kind of information you want &#8211; category names, [...]]]></description>
			<content:encoded><![CDATA[<p>I read about the <a href="http://apidoc.digg.com/">Digg API</a> the other day, and I thought it was about time I played around with it.</p>
<p>There is a ton of cool stuff you can do with this.  Basically, you send a request to the Digg server and it sends back whatever kind of information you want &#8211; category names, recent diggs, recent stories, archived stories, etc.  You can read through the API to see everything you can do.</p>
<p>For now, we&#8217;ll focus on one nifty little trick &#8211; grabbing a random story from a given topic.<br />
<span id="more-122"></span></p>
<h5>Digg API Basics: How It Works</h5>
<p>Before we can build our script, we need to know the basics of how the Digg API works.</p>
<p>Your script sends an HTTP GET request to the Digg server.  This has three major parts.  If this is valid, the server sends you a response in one of several designated formats.  You can then parse it into use-able information and display it on your site.</p>
<p>The basic parts of the request are&#8230;</p>
<ul>
<li>Base Digg URL: http://services.digg.com</li>
<li>An <strong>Endpoint</strong>: i.e. /stories/topic/programming &#8211; this determines the type of information you&#8217;re getting back</li>
<li>A <strong>query string</strong>: i.e. ?count=5&#038;offset=20</li>
</ul>
<p>For this tutorial, we&#8217;ll be working with the &#8220;Programming&#8221; topic because, well, it works with my site.  You can look at the list of topics on the API page and tailor this to your needs.</p>
<p>Therefore the URL we&#8217;ll be accessing is: http://services.digg.com/stories/topic/programming</p>
<h5>What Goes In the Query String</h5>
<p>To go along with this, we&#8217;re going to have to build a query string.  There are a few required elements (appkey, type) and some optional ones that we&#8217;ll also use (count, offset).</p>
<p>&#8220;appkey&#8221; is basically an ID tag associated with your application.  Digg uses this for statistical purposes.  You can set this equal to the URI of your website.</p>
<p>&#8220;type&#8221; describes the type of response you&#8217;ll get.  There are four response types, of which two are applicable for use in a PHP script.  We&#8217;re going to focus on the XML response and use SimpleXML to parse the information.  Therefore type should be set to &#8216;xml.&#8217;</p>
<p>&#8220;count&#8221; tells the server how many stories we want to fetch.  &#8220;offset&#8221; tells the server how many stories to skip before it starts fetching them.  The &#8220;offset&#8221; is going to allow us to fetch a random story.</p>
<h5>Building the Query String</h5>
<p>So how do we build the query string?  First, we need to turn each of our values into a parameter in the format <code>key=value</code>.  The value must also be url encoded.  Here&#8217;s how we do that in php.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$appkey</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://www.earn-web-cash.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$appkeyParam</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'appkey='</span> <span style="color: #339933;">.</span> <span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$appkey</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>We can then string together all these variables with ampersands (&#038;) in between.  We then place a ? in the beginning of the query string, attach it to our URL, and we&#8217;re good to go.</p>
<p>I wrote a short function I use to automatically build the query string from an array of values.  I create an empty array, store the value with a key equal to its parameter name, and then pass it through the function.  The function returns the full query string for me to use.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Example array:</span>
<span style="color: #666666; font-style: italic;">//    $params['appkey'] = 'http://www.earn-web-cash.com';</span>
<span style="color: #666666; font-style: italic;">//    $params['type'] = 'xml';</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> buildQuery <span style="color: #009900;">&#40;</span><span style="color: #000088;">$args</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'?'</span><span style="color: #339933;">;</span>
  <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$args</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">=&gt;</span> <span style="color: #000088;">$val</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span> <span style="color: #339933;">!=</span> <span style="color: #0000ff;">'?'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000088;">$query</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">'&amp;'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #000088;">$query</span> <span style="color: #339933;">.=</span> <span style="color: #000088;">$key</span> <span style="color: #339933;">.</span> <span style="color: #0000ff;">'='</span> <span style="color: #339933;">.</span> <span style="color: #990000;">urlencode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$val</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #000088;">$query</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>One other minor task we need to do is set up a &#8220;user_agent&#8221; for PHP.  The Digg server wants to know who&#8217;s accessing it, so you need to define a &#8220;user_agent&#8221; value for your instance of PHP with the ini_set command.  You can call your application whatever you want, but it usually follows the format &#8211; Name/Version.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'user_agent'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'RandomDiggStory/1.0'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h5>Firing Off the Request and Getting a Response</h5>
<p>We should now be able to send our request, get a response, and use some information.</p>
<p>To get a random story, we&#8217;re actually going to have to send two requests.  The first is going to allow us to find out how many stories exist in the topic.  The second will actually fetch a random story.</p>
<p>To find out how many stories exist in the topic, we&#8217;re going to create our request with the following information.  The appkey doesn&#8217;t matter, the type will be xml, the count will be 0, and the offset doesn&#8217;t matter.</p>
<p>Once we build the entire url with the query string, we open that location with simplexml_load_file &#8211; and the response will automatically be placed in a SimpleXML object for us.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$params</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'appkey'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://www.earn-web-cash.com'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'type'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'xml'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'count'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">//  We don't need an offset for this one</span>
&nbsp;
<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> buildQuery<span style="color: #009900;">&#40;</span><span style="color: #000088;">$params</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$url</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://services.digg.com/stories/topic/programming'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$reqUrl</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$url</span> <span style="color: #339933;">.</span> <span style="color: #000088;">$query</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000088;">$xml</span> <span style="color: #339933;">=</span> <span style="color: #990000;">simplexml_load_file</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$reqUrl</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$total</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>int<span style="color: #009900;">&#41;</span> <span style="color: #000088;">$xml</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'total'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// Need to typecast, or it'll be an object</span>
&nbsp;
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">asXML</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// Look at the source code to see what you fetched</span></pre></div></div>

<p>The last line (echo $xml->asXML()) isn&#8217;t necessary &#8211; it&#8217;s just to give you an idea of the information you just fetched.  It isn&#8217;t a whole lot &#8211; but we didn&#8217;t ask for a whole lot.</p>
<p>The piece of information we wanted was the total number of stories in our topic.  That&#8217;s the &#8216;total&#8217; attribute of the &#8216;stories&#8217; element.  We fetched it with <code>$xml['total']</code> and stored it in the $total variable.</p>
<h5>Last Step: Fetching the Random Story</h5>
<p>With this information in hand, we can craft a new request and get our random story.  You can copy and paste the same information we used before, but make these changes to the <code>$params</code> array.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'count'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// We want one story</span>
<span style="color: #000088;">$params</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'offset'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">rand</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #000088;">$total</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>By generating a random value for offset between 0 and the maximum, we&#8217;re effectively choosing one random story from the available list.</p>
<p>Now run the script again.  At the end, $xml should have one random story stored in it.  The story information is stored in the <code>story</code> child element, and we can access some of the information like this.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">story</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'link'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// the URL</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">story</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'submit_date'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// timestamp when it was submitted</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">story</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">title</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #000088;">$xml</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">story</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">description</span><span style="color: #339933;">;</span></pre></div></div>

<p>If you browse through the source code of the xml you outputted, you&#8217;ll find all of the essential information about the story.  Now you can format it nicely and add it to your website.</p>
<p>In case you ran into trouble along the way, here&#8217;s the complete <a href='http://www.earn-web-cash.com/wp-content/uploads/2008/02/random-digg-article.txt' title='Random Digg Article Script'>source code</a> of the script.  You&#8217;ll need to go in and change the topic to your desired topic and set your own appkey, but otherwise it should be all set to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/02/16/digg-api-random-story/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>More Backlinks, More Cash with Squidoo</title>
		<link>http://www.earn-web-cash.com/2008/02/15/backlinks-cash-squidoo/</link>
		<comments>http://www.earn-web-cash.com/2008/02/15/backlinks-cash-squidoo/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 21:25:35 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[Sundry Musings]]></category>
		<category><![CDATA[Traffic]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Writing]]></category>
		<category><![CDATA[backlinks]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[squidoo]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/02/15/backlinks-cash-squidoo/</guid>
		<description><![CDATA[I&#8217;d seen this idea suggested on a forum, and it&#8217;s about time I got around to it. I created my first lens at Squidoo. Why? I was able to work in a few nice backlinks to my site and my articles. I&#8217;ll earn some cash if it gets traffic of its own. How Does Squidoo [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d seen this idea suggested on a forum, and it&#8217;s about time I got around to it.  I created my first lens at <a href="http://www.squidoo.com/lensmaster/referral/Walkere">Squidoo</a>.</p>
<p>Why?  I was able to work in a few nice backlinks to my site and my articles.  I&#8217;ll earn some cash if it gets traffic of its own.<br />
<span id="more-115"></span></p>
<h5>How Does Squidoo Work?</h5>
<p><a href="http://www.squidoo.com/lensmaster/referral/Walkere">Squidoo</a> is another writing site online &#8211; with a bit of a twist.</p>
<p>Squidoo isn&#8217;t about articles&#8230; it&#8217;s about &#8220;lenses.&#8221;  Each lens is a mini-website.  It&#8217;s longer and more in depth than an article &#8211; but it&#8217;s only one page.</p>
<p>You add all the content you want about your topic &#8211; writing, pictures, polls, link lists, etc &#8211; and hope users come a knockin.  If you do get traffic, you get a portion of the advertising revenue.</p>
<p>You can eke out a few extra bucks by including items for sale on your lens &#8211; like books at Amazon.com.</p>
<h5>Why Did I Write a Lens at Squidoo?</h5>
<p>I&#8217;m pretty sure my lens (<a href="http://www.squidoo.com/xml-php">XML Through PHP</a>) isn&#8217;t going to make a ton of money.  That&#8217;s no reason to scoff at the idea, though.</p>
<p>The lens I created was (as you might have guessed from the title) about XML and PHP.  In the past week or so, I&#8217;ve written three articles here about working with XML.  Do you see where I&#8217;m going with this?</p>
<p>The lens is an overview of working with XML.  Three parts of the lens are hooks to get the reader to come read an article here about a particular application of XML in PHP.</p>
<p>In writing this lens, I accomplished a number of tasks.  I created a useful online resource &#8211; it should be educational for someone that&#8217;s new to working with XML and PHP together.  I created some advertisement for my site &#8211; any readers of the lens should be enticed to click on one or another of my links.  I also improved the SEO of my site by including five targeted backlinks from the lens to content on my own site.</p>
<h5>You Should Join Too!</h5>
<p>I don&#8217;t see any reason <strong>not</strong> to join Squidoo and make a lens or two about your niche.</p>
<p>You can create optimized links to your site and also capture some extra search engine traffic and direct it back to your site.  There&#8217;s a decent referral system in place &#8211; you get $5 if a referree makes $15.  You can also diversify your online writing portfolio and make a little more loot every month.</p>
<p>So head on over to Squidoo, <a href="http://www.squidoo.com/lensmaster/referral/Walkere">sign up, and write your own lens</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/02/15/backlinks-cash-squidoo/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Participate in Forums to Create Tons of Backlinks</title>
		<link>http://www.earn-web-cash.com/2008/02/02/forums-backlinks/</link>
		<comments>http://www.earn-web-cash.com/2008/02/02/forums-backlinks/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 23:55:22 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[Traffic]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[backlink]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/02/02/forums-backlinks/</guid>
		<description><![CDATA[Ahh, the never ending quest for backlinks.

There are plenty of places to look for free backlinks - some of better quality than others.  One trick you can use to build up a decent collection of backlinks is to regularly post on forums in your niche.]]></description>
			<content:encoded><![CDATA[<p>Ahh, the never ending quest for backlinks.</p>
<p>There are plenty of places to look for free backlinks &#8211; some of better quality than others.  One trick you can use to build up a decent collection of backlinks is to regularly post on forums in your niche.<br />
<span id="more-96"></span></p>
<h5>Not All Backlinks Are Created Equally</h5>
<p>Before you go about posting on every forum you can find, understand that not all backlinks are of equal value.</p>
<p>Some forums (as well as blog comment areas) use the <code>rel="nofollow"</code> attribute in links.  This means that Google (and possibly other search engines) ignores the link when crawling and calculating search engine placement.</p>
<p>Some other search engines &#8211; like Yahoo &#8211; may still count these.  There&#8217;s no certain way to know how valuable they are, so I wouldn&#8217;t just ignore them.  However, if you have a choice you should steer your time and effort to forums where the links you create do <strong>not</strong> contain the <code>rel="nofollow"</code> attribute.</p>
<h5>Where Do I Put the Links?</h5>
<p>On most forums, it&#8217;s considered bad form to just run around posting links to your site.  Be sure to read the rules for the forum.  Some forums may allow you to link to your site <strong>if</strong> the article directly relates to a question someone else asked.</p>
<p>However, there are two places you&#8217;ll generally be able to put backlinks.</p>
<p>In your profile, you should be able to set a &#8220;Homepage&#8221; value.  Always do this.  On some forums &#8211; like <a href="http://www.programmingtalk.com/index.php">Programming Talk</a> &#8211; each post contains a link to your homepage by your name.</p>
<p>You can also create a signature.  This appears at the end of every post you make, and it is typically considered ok to place self-promoting links here.  Some forums will have special rules about this &#8211; so be sure to read them.</p>
<p>Once you place links in your signature, make them count.  This is a great place to start doing SEO.  If you already have a link to your homepage underneath your name, I would use the signature to link to some deeper pages &#8211; like content categories.  Give the links targeted text (like &#8220;PHP Tutorials&#8221; or &#8220;Web Design Tips&#8221;).</p>
<h5>A Few Forums to Start With</h5>
<p>Since you&#8217;re a webmaster, you&#8217;ll always find something interesting to talk about on webmaster forums.  Here are a few well-trafficked forums that I frequent.</p>
<ul>
<li><a href="http://www.daniweb.com/">DaniWeb</a> &#8211; I think signature links here are rel=nofollow, but it&#8217;s a good forum</li>
<li><a href="http://forums.digitalpoint.com/">Digital Point</a> &#8211; Lots of traffic, and links are followed</li>
<li><a href="http://www.programmingtalk.com/index.php">Programming Talk</a> &#8211; Decent traffic, and links are followed</li>
<li><a href="http://www.sitepoint.com/forums/">Site Point</a> &#8211; Lots of traffic, and links are followed</li>
</ul>
<h5>Start Posting!</h5>
<p>What are you waiting for?  Get out there and start posting!</p>
<p>If your website isn&#8217;t about websites, then you should probably search out some other forums based on your niche as well.</p>
<p>Forum backlinks aren&#8217;t going to make your website a success by themselves, but they are a good stepping stone to better SEO.  You can use them to quickly build up backlinks for a new site until you start getting better backlinks from other sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/02/02/forums-backlinks/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Huzzah Akismet!  Blocking Spam Comments All Day</title>
		<link>http://www.earn-web-cash.com/2008/01/29/akismet-spam/</link>
		<comments>http://www.earn-web-cash.com/2008/01/29/akismet-spam/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 03:39:21 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[Sundry Musings]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[trackback]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/01/29/huzzah-akismet-blocking-spam-comments-all-day/</guid>
		<description><![CDATA[You know your site is finally getting around a bit when you start getting comments.  Spam comments.

I started a (now defunct) website last year, powered by <a href="http://www.wordpress.org">Wordpress</a>.  It never got too popular, and in the beginning I was excited every time I got a "New Comment" or "New Trackback" e-mail.  Then I realized they were mostly all spam.]]></description>
			<content:encoded><![CDATA[<p>You know your site is finally getting around a bit when you start getting comments.  Spam comments.</p>
<p>I started a (now defunct) website last year, powered by <a href="http://www.wordpress.org">WordPress</a>.  It never got too popular, and in the beginning I was excited every time I got a &#8220;New Comment&#8221; or &#8220;New Trackback&#8221; e-mail.  Then I realized they were mostly all spam.<br />
<span id="more-86"></span><br />
A few minutes ago, I checked my e-mail and had a spam comment in my inbox.  I thought, &#8220;Ahh, here comes the spam.&#8221;</p>
<p>When I logged into the dashboard, I spammed the comment and was about to move away.  Then I happened to look at the dashboard again &#8211; and I remembered that I had set up Akismet this time around.</p>
<p>I just added the widget to the left sidebar because I was so impressed.  Akismet apparently blocked 84 spam comments &#8211; and this was the first one that got through.  I&#8217;d say that&#8217;s pretty impressive.</p>
<p>If you&#8217;re running a WordPress blog, or something else that uses comments and can utilize an Akismet plug-in, <strong>do so</strong>.  There&#8217;s nothing more frustrating than wading through spam comments and trackbacks all day long.</p>
<p>Akismet is apparently pretty effective at cutting them down.  A few of them might sift through, but you can never get rid of <strong>all</strong> the spam.  So be happy if you can eliminate 84/85.</p>
<p>You can download the <a href="http://codex.wordpress.org/Akismet">Akismet plugin for WordPress</a>, but all new builds come with Akismet pre-installed.  All you have to do is fill in the Akismet API number &#8211; which you can get for free with a WordPress account.</p>
<p>Happy spam-free comment logs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/01/29/akismet-spam/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Check Your Websites Appearance in Other Browsers with Browsershots</title>
		<link>http://www.earn-web-cash.com/2008/01/23/website-in-browsers/</link>
		<comments>http://www.earn-web-cash.com/2008/01/23/website-in-browsers/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 22:55:11 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/01/23/website-in-browsers/</guid>
		<description><![CDATA[One of the most frustrating aspects of web design is trying to make your website look good in every browser. If you use some advanced css techniques, you never know how an older browser or a different platform is going to handle it. You can test how your site displays in a few browsers &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>One of the most frustrating aspects of web design is trying to make your website look good in every browser.  If you use some advanced css techniques, you never know how an older browser or a different platform is going to handle it.</p>
<p>You can test how your site displays in a few browsers &#8211; for example, I often check mine out in Windows IE, Ubuntu Firefox, and Ubuntu Opera.  But how am I going to check it on Mac browsers like Safari?<br />
<span id="more-58"></span><br />
Enter <a href="http://www.browsershots.com" title="Site to check your page in different browsers">Browsershots</a>.</p>
<p>The premise is very simple.  You check off a list of browsers and platforms, enter your website&#8217;s url, and click submit.  Then the servers open your site, take a screenshot, and upload the display to Browsershots.</p>
<p><a href='http://www.earn-web-cash.com/wp-content/uploads/2008/01/teachbabel-msie55.jpg' title='Browsershots Screenshot of Babel'><img src='http://www.earn-web-cash.com/wp-content/uploads/2008/01/teachbabel-msie55.thumbnail.jpg' alt='Browsershots Screenshot of Babel' / class="alignright"></a>You can then view the screenshots and see how your website appeared in those browsers.  You can check out some <a href="http://browsershots.org/http://www.teachbabel.com/">sample displays</a> for an <a href="http://www.teachbabel.com">education related website</a> that I created.</p>
<p>Your options are pretty extensive.  At the moment you can choose from 36 Linux browsers, 12 Windows browsers, and 4 Mac OS browsers.</p>
<p>After you submit your request, you need to wait until your website comes up in the queue.  Each server (factory, as they call it at Browsershots) has its own queue.  A lot of the servers will be done in a couple of minutes, but some queues can be one to two hours long.</p>
<p>One of the downsides to the site is that your request will expire in 30 minutes.  The completed screenshots will stay up there, but if you have any requests left in the queue they will be canceled.</p>
<p>You can refresh your request by clicking a button, but if you get stuck in a 90 minute queue you&#8217;ll have to remember to refresh your request several times.</p>
<p>All in all, very useful tool.  I plan to use it to test out any future design projects.  So the next time you want to see how a foreign browser would display your site, head over to <a href="http://www.browsershots.com">Browsershots</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/01/23/website-in-browsers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Created a New Tool to Encode Sample HTML for Display</title>
		<link>http://www.earn-web-cash.com/2008/01/13/created-a-new-tool-to-encode-sample-html-for-display/</link>
		<comments>http://www.earn-web-cash.com/2008/01/13/created-a-new-tool-to-encode-sample-html-for-display/#comments</comments>
		<pubDate>Sun, 13 Jan 2008 15:26:05 +0000</pubDate>
		<dc:creator>Walkere</dc:creator>
				<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.earn-web-cash.com/2008/01/13/created-a-new-tool-to-encode-sample-html-for-display/</guid>
		<description><![CDATA[I added a new script to the &#8220;Tools&#8221; section yesterday, which should be of interest to anyone that authors a website about HTML. I&#8217;m sure we&#8217;ve all faced this problem at one point or another &#8211; how do we get sample HTML to display properly, without being rendered, so that users can view it? Moreover, [...]]]></description>
			<content:encoded><![CDATA[<p>I added a <a href="http://www.earn-web-cash.com/online-tools-design/encode-sample-html/html-encoding-form/">new script</a> to the &#8220;Tools&#8221; section yesterday, which should be of interest to anyone that authors a website about HTML.</p>
<p>I&#8217;m sure we&#8217;ve all faced this problem at one point or another &#8211; how do we get sample HTML to display properly, without being rendered, so that users can view it?  Moreover, what&#8217;s the <strong>best</strong> method of doing this?<br />
<span id="more-35"></span><br />
I first struggled with this when I was writing for another site (Associated Content).  Because they filtered out a lot of html tags, it was pretty tough to find a way to get it to display properly.  The only method I could get to work reliably was to pad the tags with spaces, like &lt; html &gt;.</p>
<p>Not the best method, but thankfully there are better ways to do it on your own site.</p>
<p>The basic trick is to convert all of your &lt; characters into <code>&amp;lt;</code> and &gt; characters into <code>&amp;gt;</code>.  Want to go do all that by hand?</p>
<p>I didn&#8217;t think so.  I tend to do it by hand if I&#8217;m just typing one or two tags, but for a full-fledged example it&#8217;s much easier to have a script do the work for you.  So I built a tool to do just that.</p>
<p>Head over to the <a href="http://www.earn-web-cash.com/online-tools-design/encode-sample-html/html-encoding-form/">HTML Encoding Form</a>, copy and paste your sample code into one textarea, and press submit.  The HTML will be escaped for you, at which point you can copy and paste it back into your tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.earn-web-cash.com/2008/01/13/created-a-new-tool-to-encode-sample-html-for-display/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

