<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>A Buck A Night</title>
	
	<link>http://www.abuckanight.com</link>
	<description>Creating Passive Revenue Streams</description>
	<pubDate>Tue, 06 Jan 2009 19:04:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-hemorrhage</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/ABuckANight" type="application/rss+xml" /><feedburner:emailServiceId>1577201</feedburner:emailServiceId><feedburner:feedburnerHostname>http://www.feedburner.com</feedburner:feedburnerHostname><item>
		<title>Micro Niches</title>
		<link>http://feeds.feedburner.com/~r/ABuckANight/~3/503765670/82</link>
		<comments>http://www.abuckanight.com/archives/82#comments</comments>
		<pubDate>Mon, 05 Jan 2009 22:29:46 +0000</pubDate>
		<dc:creator>russ</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[credit cards with low apr]]></category>

		<category><![CDATA[niche research]]></category>

		<category><![CDATA[niches]]></category>

		<guid isPermaLink="false">http://www.abuckanight.com/archives/82</guid>
		<description><![CDATA[Got a great email this morning about &#8220;micro niches.&#8221; But I took it a little differently than I think they intended it.  You may have gotten the same email, if this &#8220;micro niche&#8221; rings a bell.
What is a microniche?  Imagine, if you will, a niche for &#8220;credit cards with low apr&#8221; (those words [...]]]></description>
			<content:encoded><![CDATA[<p>Got a great email this morning about &#8220;micro niches.&#8221; But I took it a little differently than I think they intended it.  You may have gotten the same email, if this &#8220;micro niche&#8221; rings a bell.</p>
<p>What is a microniche?  Imagine, if you will, a niche for &#8220;credit cards with low apr&#8221; (those words in that sequence, not low apr credit).  According to google, there are 70 pages in the whole world that come up for that page.  Getting to the top of that page would be, to coin a phrase, easy.  According to the google external keyword tool, there&#8217;s about 36 searches per month. About 500 a year.</p>
<p>Most affiliate marketers would avoid such a small niche. What if you didn&#8217;t?  What if, instead, you built a page with excellent SEO and excellent information on these credit cards with low apr ?</p>
<p>Honestly, what if you took wordpress, whacked together a few pages, and put in some advertising for, you got it, low apr credit cards.  You put it on your site and forgot about it. </p>
<p>Suppose your domain purchase is $8. And you put it on your current hosting plan as a parked domain. It won&#8217;t get enough traffic to warrant its own hosting plan. It might not get enough traffic to warrant its own domain. But if you&#8217;re aimed at selling credit card signups and the click - to - action rate is 1 percent, and the action pays $10, if you sell one credit card every two months, you&#8217;ll be making 52 bucks a year (((12/2) * 10) - 8). Ten of those sites would be 520. A hundred, well you see where I&#8217;m headed.</p>
<p>True, true, that&#8217;s not a lot. </p>
<p>What I&#8217;m saying, though, is that if your shotgun approach of finding something with 250,000 sites and 3 million searches per month isn&#8217;t working, maybe you should work on something smaller.</p>
<p>I should take my own advice. I&#8217;ve been complaining about <a href="http://www.easyspywareremovals.com/">Easy Spyware Removals</a> not getting much traffic. However, it&#8217;s not very seo-optimized, and it&#8217;s not very sales oriented.  It&#8217;s just a dumb bunny site.  That specific keyword gets about 140 searches per month. There&#8217;s about 3000 sites that pop up in google for that search, and honestly, most of them suck. Of course, the niche is pretty competitive.</p><img src="http://feeds.feedburner.com/~r/ABuckANight/~4/503765670" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abuckanight.com/archives/82/feed</wfw:commentRss>
		<feedburner:origLink>http://www.abuckanight.com/archives/82</feedburner:origLink></item>
		<item>
		<title>How To: Twitter Spam</title>
		<link>http://feeds.feedburner.com/~r/ABuckANight/~3/503765672/78</link>
		<comments>http://www.abuckanight.com/archives/78#comments</comments>
		<pubDate>Sun, 16 Nov 2008 18:20:06 +0000</pubDate>
		<dc:creator>russ</dc:creator>
		
		<category><![CDATA[Current Methods]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[tips]]></category>

		<category><![CDATA[spam]]></category>

		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.abuckanight.com/?p=78</guid>
		<description><![CDATA[I feel so dirty for writing this, but I was inspired by this twitterer.
After reading how to create a twitter bot in 5 minutes, I realized that I could combine this with simplepie and create a twitter spammer in less than ten minutes. Well, ok it took me fifteen.
So the steps were:
Get something to say,
Get [...]]]></description>
			<content:encoded><![CDATA[<p>I feel so dirty for writing this, but I was inspired by <a href="http://twitter.com/sethcarlsonjr">this twitterer</a>.</p>
<p>After reading how to create a <a href="http://www.smmguru.com/2008/10/31/how-to-make-a-twitter-bot-with-php-in-five-minuets">twitter bot in 5 minutes</a>, I realized that I could combine this with simplepie and create a twitter spammer in less than ten minutes. Well, ok it took me fifteen.</p>
<p>So the steps were:<br />
Get something to say,<br />
Get someone to say it to,<br />
Say it.</p>
<p>First, I needed an account with something to say. I used my fsbo homes already-spamming twitter feed. ( . http://twitter.com/fsbohomes ). It just takes the new stuff in the fsbo auction site&#8217;s <span class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'Really Simple Syndication' );"><acronym class="uttInitialism" title="Really Simple Syndication">rss</acronym></span> feed and twitters it via twitterfeed.  </p>
<p><em>As it turns out, the public feed probably isn&#8217;t the best tool for this; a better tool would be twitter&#8217;s search at http://search.twitter.com/ . Note the <span class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'Really Simple Syndication' );"><acronym class="uttInitialism" title="Really Simple Syndication">rss</acronym></span> feed icon on the results page.</em></p>
<p>Here&#8217;s what I came up with:</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="co1">// simplepie makes the <span class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'Really Simple Syndication' );"><acronym class="uttInitialism" title="Really Simple Syndication">rss</acronym></span> parsing very easy.</span><br />
<span class="kw1">include_once</span><span class="br0">&#40;</span> <span class="st0">&quot;libs/simplepie.inc&quot;</span> <span class="br0">&#41;</span>;<br />
<span class="re0">$keywords</span>=<br />
&nbsp; &nbsp; <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&#8216;fsbo&#8217;</span>=&gt;<span class="st0">&quot;Hey come check out great prices on real estate auctions: http://www.fsboauction.info&quot;</span><br />
<span class="br0">&#41;</span>;</p>
<p><span class="re0">$username</span> = <span class="st0">&#8216;fsbohomes&#8217;</span>;<br />
<span class="re0">$password</span> = <span class="st0">&#8217;somepassword&#8217;</span>;</p>
<p><span class="co1">// read the public timeline. Note that this is cached for 60 seconds, so asking for it more often</span><br />
<span class="co1">// than that is silly. Also notice that it won&#8217;t catch _everything_ but you should get at least one a day.</span></p>
<p><span class="re0">$read</span>=<span class="st0">&#8216;http://twitter.com/statuses/public_timeline.rss&#8217;</span>;<br />
<span class="re0">$feed</span>=<span class="kw2">new</span> SimplePie<span class="br0">&#40;</span> <span class="br0">&#41;</span>;<br />
<span class="re0">$feed</span>-&gt;<span class="me1">set_feed_url</span><span class="br0">&#40;</span> <span class="re0">$read</span> <span class="br0">&#41;</span>;<br />
<span class="re0">$feed</span>-&gt;<span class="me1">set_cache_duration</span><span class="br0">&#40;</span> <span class="nu0">60</span> <span class="br0">&#41;</span>;<br />
<span class="re0">$feed</span>-&gt;<span class="me1">init</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
<span class="re0">$feed</span>-&gt;<span class="me1">handle_content_type</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</p>
<p><span class="re0">$count</span>=<span class="nu0">0</span>;<br />
<span class="kw1">foreach</span><span class="br0">&#40;</span> <span class="re0">$feed</span>-&gt;<span class="me1">get_items</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw1">as</span> <span class="re0">$item</span> <span class="br0">&#41;</span><span class="br0">&#123;</span><br />
<span class="co1">// read the tweet.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$tweet</span>=<span class="re0">$item</span>-&gt;<span class="me1">get_title</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
<span class="co1">// split it into username and the contents.</span><br />
<span class="co1">// we&#8217;ll be comparing our keywords against the contents and</span><br />
<span class="co1">// sending the username an @ message.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/list"><span class="kw3">list</span></a><span class="br0">&#40;</span> <span class="re0">$a</span>, <span class="re0">$t</span><span class="br0">&#41;</span>=<a href="http://www.php.net/split"><span class="kw3">split</span></a><span class="br0">&#40;</span><span class="st0">&#8216;:&#8217;</span>, <span class="re0">$tweet</span>, <span class="nu0">2</span><span class="br0">&#41;</span>;<br />
<span class="co1">// I had a lot of multibyte-encoded lines but didn&#8217;t feel like parsing them.</span><br />
<span class="co1">// since I don&#8217;t speak the languages anyway.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$e</span>= <a href="http://www.php.net/mb_detect_encoding"><span class="kw3">mb_detect_encoding</span></a><span class="br0">&#40;</span> <span class="re0">$t</span> <span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span> <span class="re0">$e</span> == <span class="st0">&#8216;ASCII&#8217;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
<span class="co1">// check each keyword</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">foreach</span><span class="br0">&#40;</span> <span class="re0">$keywords</span> <span class="kw1">as</span> <span class="re0">$seek</span>=&gt;<span class="re0">$message</span> <span class="br0">&#41;</span><span class="br0">&#123;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$count</span>++;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span> <a href="http://www.php.net/strpos"><span class="kw3">strpos</span></a><span class="br0">&#40;</span> <span class="re0">$t</span>, <span class="re0">$seek</span> <span class="br0">&#41;</span> !== <span class="kw2">false</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
<span class="co1">// if the keyword is found, send a message.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$msg</span> = <span class="st0">&#8216;@&#8217;</span>.<span class="re0">$a</span>.<span class="st0">&#8216; &#8216;</span>.<span class="re0">$message</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$msg</span> = <a href="http://www.php.net/substr"><span class="kw3">substr</span></a><span class="br0">&#40;</span> <span class="re0">$msg</span>, <span class="nu0">0</span>, <span class="nu0">140</span> <span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sendTweet<span class="br0">&#40;</span> <span class="re0">$msg</span> <span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span><br />
<span class="co1">// http://twitter.com/statuses/public_timeline.format</span><br />
<span class="co1">// formats: <a href="http://www.w3.org/XML/" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'eXtensible Markup Language' );"><acronym class="uttInitialism" title="eXtensible Markup Language">xml</acronym></a>, json, <span class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'Really Simple Syndication' );"><acronym class="uttInitialism" title="Really Simple Syndication">rss</acronym></span>, atom</span></p>
<p><span class="co1">// this is from the twitter bot post referenced above</span><br />
<span class="co1">// it&#8217;s just a function for posting a twitter.</span><br />
<span class="kw2">function</span> sendTweet<span class="br0">&#40;</span><span class="re0">$msg</span><span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/global"><span class="kw3">global</span></a> <span class="re0">$username</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/global"><span class="kw3">global</span></a> <span class="re0">$password</span>;</p>
<p>&nbsp; &nbsp; <span class="re0">$<span class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'Uniform Resource Locator' );"><acronym class="uttInitialism" title="Uniform Resource Locator">url</acronym></span></span> = <span class="st0">&#8216;http://twitter.com/statuses/update.xml&#8217;</span>;</p>
<p>&nbsp; &nbsp; <span class="re0">$curl_handle</span> = curl_init<span class="br0">&#40;</span><span class="br0">&#41;</span>;</p>
<p>&nbsp; &nbsp; curl_setopt<span class="br0">&#40;</span><span class="re0">$curl_handle</span>, CURLOPT_URL, <span class="re0">$<span class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'Uniform Resource Locator' );"><acronym class="uttInitialism" title="Uniform Resource Locator">url</acronym></span></span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; curl_setopt<span class="br0">&#40;</span><span class="re0">$curl_handle</span>, CURLOPT_CONNECTTIMEOUT, <span class="nu0">2</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; curl_setopt<span class="br0">&#40;</span><span class="re0">$curl_handle</span>, CURLOPT_RETURNTRANSFER, <span class="nu0">1</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; curl_setopt<span class="br0">&#40;</span><span class="re0">$curl_handle</span>, CURLOPT_POST, <span class="nu0">1</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; curl_setopt<span class="br0">&#40;</span><span class="re0">$curl_handle</span>, CURLOPT_POSTFIELDS, <span class="st0">&quot;status=$msg&quot;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; curl_setopt<span class="br0">&#40;</span><span class="re0">$curl_handle</span>, CURLOPT_USERPWD, <span class="st0">&quot;$username:$password&quot;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="re0">$buffer</span> = curl_exec<span class="br0">&#40;</span><span class="re0">$curl_handle</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; curl_close<span class="br0">&#40;</span><span class="re0">$curl_handle</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span><a href="http://www.php.net/empty"><span class="kw3">empty</span></a><span class="br0">&#40;</span><span class="re0">$buffer</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&quot;failed<span class="es0">\n</span>&quot;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="kw1">else</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="st0">&quot;succeeded<span class="es0">\n</span>&quot;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span> <br />
&nbsp;</div>
<p>Ta-daa. I set it to run every five minutes and it caught about one twitter every few hours.</p><img src="http://feeds.feedburner.com/~r/ABuckANight/~4/503765672" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abuckanight.com/archives/78/feed</wfw:commentRss>
		<feedburner:origLink>http://www.abuckanight.com/archives/78</feedburner:origLink></item>
		<item>
		<title>Markoving your content</title>
		<link>http://feeds.feedburner.com/~r/ABuckANight/~3/503765674/76</link>
		<comments>http://www.abuckanight.com/archives/76#comments</comments>
		<pubDate>Tue, 04 Nov 2008 01:26:50 +0000</pubDate>
		<dc:creator>russ</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[content]]></category>

		<category><![CDATA[content generation]]></category>

		<category><![CDATA[markov]]></category>

		<guid isPermaLink="false">http://www.abuckanight.com/?p=76</guid>
		<description><![CDATA[Markov content is automatically generated using some random input, based on the probability that word Y follows word X.  You feed it some input text and then a script analyzes what words come after each word and then assembles an automatic post that&#8217;s supposed to look human-enough to fool web spiders.  It&#8217;s not [...]]]></description>
			<content:encoded><![CDATA[<p>Markov content is automatically generated using some random input, based on the probability that word Y follows word X.  You feed it some input text and then a script analyzes what words come after each word and then assembles an automatic post that&#8217;s supposed to look human-enough to fool web spiders.  It&#8217;s not really a white or grey thing; you can create thousands of pages of keyword rich content, but it&#8217;s meaningless to a human.</p>
<p>One word followed by the next word is very unreadable, but basing your markoving on two words (and then randomizing the following word) is a better technique.</p>
<p>All code in these examples are <a href="http://www.php.net" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'PHP: Hypertext Preprocessor' );"><acronym class="uttInitialism" title="PHP: Hypertext Preprocessor">PHP</acronym></a> code. There&#8217;s a flaw somewhere in it, perhaps you can spot it.</p>
<p>Here are the steps that this markov generator goes through;</p>
<ol>
<li>Read in a bunch of topical content.</li>
<li>Keeping it in order, split it up into an array of words. </li>
<li>Go through the array, taking a pair of words:<br />
  <br />From &#8220;The quick brown fox&#8221; you&#8217;d get &#8220;the quick&#8221;, &#8220;quick brown&#8221;, &#8220;brown fox.&#8221;</li>
<li>Now that you have the list of word-pairs, get a list of words that follow this pair.<br />
  <br />Keep that in an array, but don&#8217;t make it unique. This way it&#8217;ll weight the random selection. By which I mean, if you have a word pair like &#8220;credit card&#8221; and the array is &#8220;users, debt, debt,&#8221; the word &#8220;debt&#8221; will have twice the weight when you do a random selection from that array. Which is good, because in human-written content, the word &#8220;debt&#8221; appears twice as often as the word &#8220;users&#8221; after &#8220;credit card.&#8221;  </li>
<li>Start the content. I chose to start with the first word pair of my input, but it could and should be randomized.</li>
<li>Take the last two words of the output ( in this case it&#8217;s the first word pair) and look up the array of words that follow. Then take a random word out of that array, and append it to the output.</li>
<li>Is it long enough yet? If not, take the last two words of the output again, and look up the array of the words that follow <em>those</em> two words.  Keep doing this until it&#8217;s long enough.</li>
</ol>
<p>Here&#8217;s the script I came up with. Feel free to use it or abuse it.  It&#8217;s got some extra verbose variables in it because I&#8217;m trying to track down a flaw. It randomly (heh) dies because it can&#8217;t find the word pair in the input. But that should be impossible, because I&#8217;m selecting it from the input.  Hmm, it&#8217;s possible that the &#8220;find me&#8221; part doesn&#8217;t have the punctuation that the &#8220;input&#8221; has, and so it dies. </p>
<p>If I keep putting together code for this site, I&#8217;ll have to install one of those pretty-code plugins.</p>
<div class="dean_ch" style="white-space: wrap;">
<span class="co1">// how many words is our goal?</span><br />
<span class="re0">$wordcount</span>=<span class="nu0">1000</span>;</p>
<p><span class="co1">// read the input files. Really this should be a glob or a readdir() loop.</span><br />
<span class="re0">$i</span><span class="br0">&#91;</span><span class="br0">&#93;</span>=<a href="http://www.php.net/file"><span class="kw3">file</span></a><span class="br0">&#40;</span><span class="st0">&#8217;source/after-you-pay-off-credit-card-debt.txt&#8217;</span><span class="br0">&#41;</span>;<br />
<span class="re0">$i</span><span class="br0">&#91;</span><span class="br0">&#93;</span>=<a href="http://www.php.net/file"><span class="kw3">file</span></a><span class="br0">&#40;</span><span class="st0">&#8217;source/agency-card-credit-debt-settlement.txt&#8217;</span><span class="br0">&#41;</span>;<br />
<span class="re0">$i</span><span class="br0">&#91;</span><span class="br0">&#93;</span>=<a href="http://www.php.net/file"><span class="kw3">file</span></a><span class="br0">&#40;</span><span class="st0">&#8217;source/a-problem-called-credit-card-debt.txt&#8217;</span><span class="br0">&#41;</span>;<br />
<span class="coMULTI">/*<br />
$i[]=file(&#8217;source/bad-debt-credit-card-what-is-that.txt&#8217;);<br />
$i[]=file(&#8217;source/before-you-go-for-credit-card-debt-help.txt&#8217;);<br />
$i[]=file(&#8217;source/blogging-consolidation-debt-and-new-information-technology-239.txt&#8217;);<br />
$i[]=file(&#8217;source/card-com-credit-debt-en-language-site.txt&#8217;);<br />
$i[]=file(&#8217;source/college-student-credit-card-debt.txt&#8217;);<br />
$i[]=file(&#8217;source/consolidate-credit-card-debt.txt&#8217;);<br />
$i[]=file(&#8217;source/consolidate-your-credit-card-debt.txt&#8217;);<br />
$i[]=file(&#8217;source/credit-card-debt-consolidation-loan.txt&#8217;);<br />
$i[]=file(&#8217;source/credit-card-debt-consolidation.txt&#8217;);<br />
$i[]=file(&#8217;source/credit-card-debt-counseling.txt&#8217;);<br />
$i[]=file(&#8217;source/credit-card-debt-management.txt&#8217;);<br />
$i[]=file(&#8217;source/credit-card-debt-negotiation.txt&#8217;);<br />
$i[]=file(&#8217;source/credit-card-debt-reduction.txt&#8217;);<br />
$i[]=file(&#8217;source/credit-card-debt-relief.txt&#8217;);<br />
$i[]=file(&#8217;source/credit-card-debt-settlement.txt&#8217;);<br />
$i[]=file(&#8217;source/credit-card-debt.txt&#8217;);<br />
$i[]=file(&#8217;source/creditcarddebt.txt&#8217;);<br />
$i[]=file(&#8217;source/eliminate-credit-card-debt.txt&#8217;);<br />
$i[]=file(&#8217;source/excessive-credit-card-debt.txt&#8217;);<br />
$i[]=file(&#8217;source/get-out-of-credit-card-debt.txt&#8217;);<br />
$i[]=file(&#8217;source/is-consolidating-credit-card-debt-a-good-option.txt&#8217;);<br />
$i[]=file(&#8217;source/reduce-credit-card-debt.txt&#8217;);<br />
$i[]=file(&#8217;source/re-financing-to-consolidate-debt.txt&#8217;);<br />
$i[]=file(&#8217;source/taking-a-step-towards-credit-card-debt-elimination.txt&#8217;);<br />
$i[]=file(&#8217;source/teen-credit-card-debt-statistics.txt&#8217;);<br />
$i[]=file(&#8217;source/the-benefits-from-credit-card-debt-consolodation.txt&#8217;);<br />
*/</span></p>
<p><span class="co1">// some print output to mark my spot while I troubleshoot.</span><br />
<a href="http://www.php.net/print"><span class="kw3">print</span></a> <a href="http://www.php.net/count"><span class="kw3">count</span></a><span class="br0">&#40;</span> <span class="re0">$i</span> <span class="br0">&#41;</span>.<span class="st0">&quot; files loaded<span class="es0">\n</span>&quot;</span>;<br />
<span class="co1">// put them all together.</span><br />
<span class="kw1">for</span> <span class="br0">&#40;</span><span class="re0">$j</span>=<span class="nu0">0</span>;<span class="re0">$j</span>&lt;count<span class="br0">&#40;</span><span class="re0">$i</span><span class="br0">&#41;</span>;<span class="re0">$j</span>++ <span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="re0">$input</span>=<a href="http://www.php.net/array_merge"><span class="kw3">array_merge</span></a><span class="br0">&#40;</span><span class="re0">$input</span>, <span class="re0">$i</span><span class="br0">&#91;</span><span class="re0">$j</span><span class="br0">&#93;</span> <span class="br0">&#41;</span>;<br />
<span class="br0">&#125;</span><br />
<a href="http://www.php.net/print"><span class="kw3">print</span></a> <span class="st0">&quot;merged<span class="es0">\n</span>&quot;</span>;</p>
<p><span class="co1">// clean up the input. We&#8217;re winding up with just a list of words separated by ONE space.</span><br />
<span class="re0">$input</span>=<a href="http://www.php.net/implode"><span class="kw3">implode</span></a><span class="br0">&#40;</span><span class="st0">&quot; &quot;</span>, <span class="re0">$input</span> <span class="br0">&#41;</span>;<br />
<span class="re0">$input</span>=<a href="http://www.php.net/preg_replace"><span class="kw3">preg_replace</span></a><span class="br0">&#40;</span><span class="st0">&#8216;|[^a-zA-Z0-9 ]|&#8217;</span>, <span class="st0">&#8216; &#8216;</span>, <span class="re0">$input</span> <span class="br0">&#41;</span>;<br />
<span class="co1">// this next line cleans out all double spaces.</span><br />
<span class="kw1">while</span><span class="br0">&#40;</span> <a href="http://www.php.net/strpos"><span class="kw3">strpos</span></a><span class="br0">&#40;</span> <span class="re0">$input</span>, <span class="st0">&#8216; &nbsp;&#8217;</span><span class="br0">&#41;</span> !== <span class="kw2">false</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span> <span class="re0">$input</span> = <a href="http://www.php.net/str_replace"><span class="kw3">str_replace</span></a><span class="br0">&#40;</span> <span class="st0">&#8216; &nbsp;&#8217;</span>, <span class="st0">&#8216; &#8216;</span>, <span class="re0">$input</span> <span class="br0">&#41;</span>; <span class="br0">&#125;</span></p>
<p><span class="re0">$inputstring</span>=<span class="re0">$input</span>;<br />
<span class="re0">$holder</span>=<a href="http://www.php.net/explode"><span class="kw3">explode</span></a><span class="br0">&#40;</span><span class="st0">&#8216; &#8216;</span>, <span class="re0">$input</span> <span class="br0">&#41;</span>;<br />
<a href="http://www.php.net/unset"><span class="kw3">unset</span></a><span class="br0">&#40;</span> <span class="re0">$input</span> <span class="br0">&#41;</span>;<br />
<span class="co1">// not sure why I had empty elements in the $input array but this is to remove all of them.</span><br />
<span class="re0">$input</span>=<a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
<span class="kw1">foreach</span><span class="br0">&#40;</span> <span class="re0">$holder</span> <span class="kw1">as</span> <span class="re0">$k</span>=&gt;<span class="re0">$v</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span> <a href="http://www.php.net/strlen"><span class="kw3">strlen</span></a><span class="br0">&#40;</span> <a href="http://www.php.net/trim"><span class="kw3">trim</span></a><span class="br0">&#40;</span> <span class="re0">$v</span> <span class="br0">&#41;</span><span class="br0">&#41;</span> &gt; <span class="nu0">0</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="re0">$input</span><span class="br0">&#91;</span><span class="br0">&#93;</span>=<a href="http://www.php.net/trim"><span class="kw3">trim</span></a><span class="br0">&#40;</span> <span class="re0">$v</span> <span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
<span class="br0">&#125;</span><br />
<a href="http://www.php.net/print"><span class="kw3">print</span></a> <span class="st0">&quot;cleaned<span class="es0">\n</span>&quot;</span>;</p>
<p><span class="co1">// this array is for the word pairs.</span><br />
<span class="re0">$segments</span>=<a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span>;<br />
<span class="re0">$holder</span>=<a href="http://www.php.net/array_shift"><span class="kw3">array_shift</span></a><span class="br0">&#40;</span> <span class="re0">$input</span> <span class="br0">&#41;</span>;<br />
<span class="kw1">while</span><span class="br0">&#40;</span> <a href="http://www.php.net/count"><span class="kw3">count</span></a><span class="br0">&#40;</span> <span class="re0">$input</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// take the current word and the next word from the input array.</span><br />
&nbsp; &nbsp; <span class="re0">$matchme</span>=<span class="re0">$holder</span>.<span class="st0">&#8216; &#8216;</span>.<span class="re0">$input</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; <span class="re0">$pattern</span>=<span class="st0">&quot;|$matchme (.*?) |&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// get all the matches from input- the long string of words not the array</span><br />
&nbsp; &nbsp; <a href="http://www.php.net/preg_match_all"><span class="kw3">preg_match_all</span></a><span class="br0">&#40;</span> <span class="re0">$pattern</span>, <span class="re0">$inputstring</span>, <span class="re0">$matches</span> <span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// add the list of matched words to the segments array</span><br />
&nbsp; &nbsp; <span class="re0">$segments</span><span class="br0">&#91;</span> <span class="re0">$matchme</span> <span class="br0">&#93;</span> = <span class="re0">$matches</span><span class="br0">&#91;</span><span class="nu0">1</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// cut the first item from the input array and move it over one.</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// note that the array_shift compares against the while strlen above, so the shift is important</span><br />
&nbsp; &nbsp; <span class="re0">$holder</span>=<a href="http://www.php.net/array_shift"><span class="kw3">array_shift</span></a><span class="br0">&#40;</span> <span class="re0">$input</span> <span class="br0">&#41;</span>;<br />
<span class="br0">&#125;</span><br />
<span class="co1">// just some output</span><br />
<a href="http://www.php.net/print"><span class="kw3">print</span></a> <a href="http://www.php.net/count"><span class="kw3">count</span></a><span class="br0">&#40;</span><span class="re0">$segments</span><span class="br0">&#41;</span>.<span class="st0">&quot; segments calculated<span class="es0">\n</span>&quot;</span>;<br />
<span class="re0">$keys</span>=<a href="http://www.php.net/array_keys"><span class="kw3">array_keys</span></a><span class="br0">&#40;</span> <span class="re0">$segments</span> <span class="br0">&#41;</span>;</p>
<p><span class="co1">// starting to assemble the output. Using $keys[0] to be the first bit of the markoved content.</span><br />
<span class="re0">$output</span><span class="br0">&#91;</span><span class="br0">&#93;</span>=<span class="re0">$keys</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span>;<br />
<span class="co1">// $bracket is reused each loop, but $output holds the &#8230; wait for it &#8230; output.</span><br />
<span class="re0">$bracket</span>=<span class="re0">$output</span><span class="br0">&#91;</span><span class="nu0">0</span><span class="br0">&#93;</span>;<br />
<a href="http://www.php.net/print"><span class="kw3">print</span></a> <span class="st0">&quot;assembling<span class="es0">\n</span>&quot;</span>;<br />
<span class="co1">// yeah yeah compare the length of output against the desired length.</span><br />
<span class="kw1">while</span><span class="br0">&#40;</span> <a href="http://www.php.net/count"><span class="kw3">count</span></a><span class="br0">&#40;</span> <span class="re0">$output</span> <span class="br0">&#41;</span> &nbsp;&lt; <span class="re0">$wordcount</span> <span class="br0">&#41;</span><span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// $bracket is the key for $segments. </span><br />
&nbsp; &nbsp; <span class="re0">$index</span>=<span class="re0">$bracket</span>;<br />
&nbsp; &nbsp; <span class="re0">$possiblenext</span>=<span class="re0">$segments</span><span class="br0">&#91;</span><span class="re0">$index</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// $possiblenext is the array of words-that-follow &#8216;bracket&#8217;.</span><br />
&nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span> <a href="http://www.php.net/count"><span class="kw3">count</span></a><span class="br0">&#40;</span> <span class="re0">$possiblenext</span> <span class="br0">&#41;</span> == <span class="nu0">0</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// this is where it&#8217;s dying oddly</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/print"><span class="kw3">print</span></a> <span class="st0">&quot;no possible next for $bracket<span class="es0">\n</span>&quot;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.php.net/die"><span class="kw3">die</span></a><span class="br0">&#40;</span><span class="st0">&quot;<span class="es0">\n</span><span class="es0">\n</span>aiee!!<span class="es0">\n</span>&quot;</span><span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; <span class="br0">&#125;</span><br />
&nbsp; &nbsp; <span class="re0">$rand</span>=<a href="http://www.php.net/rand"><span class="kw3">rand</span></a><span class="br0">&#40;</span><span class="nu0">0</span>, <a href="http://www.php.net/count"><span class="kw3">count</span></a><span class="br0">&#40;</span> <span class="re0">$possiblenext</span> <span class="br0">&#41;</span><span class="nu0">-1</span> <span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// pick a random number out of the array. I had this all wrapped together but broke it apart when it wasn&#8217;t working</span><br />
&nbsp; &nbsp; <span class="re0">$nextword</span>=<span class="re0">$possiblenext</span><span class="br0">&#91;</span><span class="re0">$rand</span><span class="br0">&#93;</span>;<br />
&nbsp; &nbsp; <span class="re0">$output</span><span class="br0">&#91;</span><span class="br0">&#93;</span> = <span class="st0">&#8216; &#8216;</span>.<span class="re0">$nextword</span>; <span class="co1">// prepend a space so the words don&#8217;t mash together</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// the next bracket is the second word of this group plus the nextword variable.</span><br />
&nbsp; &nbsp; <span class="re0">$holder</span>=<a href="http://www.php.net/split"><span class="kw3">split</span></a><span class="br0">&#40;</span> <span class="st0">&quot; &quot;</span>, <span class="re0">$bracket</span> <span class="br0">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// makes me sad that I can&#8217;t use split(&#8217; &#8216;, $bracket)[1];</span><br />
&nbsp; &nbsp; <span class="re0">$nextbracket</span>=<span class="re0">$holder</span><span class="br0">&#91;</span><span class="nu0">1</span><span class="br0">&#93;</span>.<span class="st0">&#8216; &#8216;</span>.<span class="re0">$nextword</span>;<br />
&nbsp; &nbsp; <span class="re0">$bracket</span> = <span class="re0">$nextbracket</span>;<br />
<span class="br0">&#125;</span><br />
<span class="re0">$output</span> = <a href="http://www.php.net/implode"><span class="kw3">implode</span></a><span class="br0">&#40;</span> <span class="st0">&#8216; &#8216;</span>, <span class="re0">$output</span> <span class="br0">&#41;</span>;<br />
<a href="http://www.php.net/print"><span class="kw3">print</span></a> <span class="re0">$output</span>;<br />
<a href="http://www.php.net/print"><span class="kw3">print</span></a> <span class="st0">&quot;<span class="es0">\n</span>&quot;</span>;<br />
&nbsp;</div>
<p>So in a perfect world, I&#8217;d find that flaw and then maybe substitute some links into it from this stuff to a real site ( for instance, $output = str_replace(&#8221;bad debt&#8221;, &#8220;<a href='http://www.mydebtsite.com/'>bad debt</a>&#8220;, $output )  ) and then use xmlrpc and post it to a <a href="http://www.glowleaf.net/why-you-always-need-a-splog/">splog</a> and ping pingomatic. </p>
<p>Hopefully this gets you going in writing your own markov generator. It&#8217;s important to write your own stuff, so you know how it works and to keep your stuff from looking too much like someone else&#8217;s stuff. My markov generator might generate different output ( different looking output ) from <a href="http://www.nickycakes.com/">Nickycake</a>&#8217;s generator. It&#8217;ll definitely be different output, because it&#8217;s all randomized.  You can feel free to use the code above any way you want, I&#8217;m sure that since it&#8217;s unfinished, your touches will make it unique.</p><img src="http://feeds.feedburner.com/~r/ABuckANight/~4/503765674" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abuckanight.com/archives/76/feed</wfw:commentRss>
		<feedburner:origLink>http://www.abuckanight.com/archives/76</feedburner:origLink></item>
		<item>
		<title>WebWriMo ?</title>
		<link>http://feeds.feedburner.com/~r/ABuckANight/~3/503765675/74</link>
		<comments>http://www.abuckanight.com/archives/74#comments</comments>
		<pubDate>Mon, 03 Nov 2008 04:37:27 +0000</pubDate>
		<dc:creator>russ</dc:creator>
		
		<category><![CDATA[Current Methods]]></category>

		<category><![CDATA[goals]]></category>

		<category><![CDATA[content]]></category>

		<category><![CDATA[excitement]]></category>

		<category><![CDATA[writing]]></category>

		<guid isPermaLink="false">http://www.abuckanight.com/uncategorized/webwrimo/</guid>
		<description><![CDATA[Wtf! 
I&#8217;ve long been a fan of the National Novel Writing Month, NaNoWriMo. I don&#8217;t think I could keep up with the novel writing because of my other &#8220;irons in my fire&#8221; but the Old Blind Ape is hosting a shindig.  We&#8217;re writing 50,000 words of content; which could be ( does the math [...]]]></description>
			<content:encoded><![CDATA[<p>Wtf! </p>
<p>I&#8217;ve long been a fan of the National Novel Writing Month, <a href="http://www.nanowrimo.org/">NaNoWriMo</a>. I don&#8217;t think I could keep up with the novel writing because of my other &#8220;irons in my fire&#8221; but the <a href="http://blindapeseo.com/crazy-stuff/webwrimo-a-challenge#comment-888">Old Blind Ape</a> is hosting a shindig.  We&#8217;re writing 50,000 words of content; which could be ( does the math ), 100 500 word articles for various sites.</p>
<p>I have sites that could use a few 500 word articles.  It&#8217;ll be good to get the content running on them. And if I get the pump primed well enough, I&#8217;ll be able to talk myself into writing more often.</p>
<p>For instance, I don&#8217;t think I could come up with content for <a href="http://projectcarcatalog.com">project car catalog</a>, but with this, I should be able to come up with bloody something.</p><img src="http://feeds.feedburner.com/~r/ABuckANight/~4/503765675" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abuckanight.com/archives/74/feed</wfw:commentRss>
		<feedburner:origLink>http://www.abuckanight.com/archives/74</feedburner:origLink></item>
		<item>
		<title>A Real Live PPC Campaign</title>
		<link>http://feeds.feedburner.com/~r/ABuckANight/~3/503765676/72</link>
		<comments>http://www.abuckanight.com/archives/72#comments</comments>
		<pubDate>Fri, 03 Oct 2008 05:14:41 +0000</pubDate>
		<dc:creator>russ</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[cash]]></category>

		<category><![CDATA[market leverage]]></category>

		<category><![CDATA[myspace]]></category>

		<category><![CDATA[nickycakes]]></category>

		<category><![CDATA[ppc campaign]]></category>

		<guid isPermaLink="false">http://www.abuckanight.com/?p=72</guid>
		<description><![CDATA[I&#8217;m so proud. I&#8217;m actually making a little money. That is, I&#8217;ve spent about 60 bucks and there&#8217;s $112 in my market leverage account.
First, thanks and props to the cakes. He&#8217;s keepin it real.
First go over to Market Leverage and sign up there. Sure, you can use my affiliate link, or just type it in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m so proud. I&#8217;m actually making a little money. That is, I&#8217;ve spent about 60 bucks and there&#8217;s $112 in my <a href="http://www.abuckanight.com/offers/index.php?id=10" class="ubernym uttJustLink" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'market leverage','caption', 'market leverage' );">market leverage</a> account.</p>
<p>First, thanks and props to <a href="http://www.nickycakes.com/myspace-ads-beta-first-impressions/">the cakes</a>. He&#8217;s keepin it real.</p>
<p>First go over to <a href="http://www.abuckanight.com/offers/index.php?id=10" class="ubernym uttJustLink" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'market leverage','caption', 'market leverage' );">Market Leverage</a> and sign up there. Sure, you can use my affiliate link, or just type it in your self: <a href="http://www.abuckanight.com/offers/index.php?id=10" class="ubernym uttAbbreviation" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'market leverage','caption', 'market leverage' );"><acronym class="uttAbbreviation" title="market leverage">marketleverage</acronym></a>.com. Or use Nicky&#8217;s affiliate link. Whatever you want, it&#8217;s a free country, you know?  You need an ad before you can join MySpace Advertising.</p>
<p>Logging into your <a href="http://www.abuckanight.com/offers/index.php?id=10" class="ubernym uttJustLink" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'market leverage','caption', 'market leverage' );">Market Leverage</a> account, click on &#8220;find offers;&#8221; it&#8217;s in the top row of the menu, white on blue. Click on that and then you&#8217;ll get a filtering sort of page. If you look down a little bit to &#8220;search by category,&#8221; use the drop down box and display &#8220;$ Current top performers&#8221; (it&#8217;s the top option). Javascript will submit it and you&#8217;ll get a list.</p>
<p>Ok, scan down these and find an offer. You&#8217;re looking for something you can imagine a demographic for, and something that allows web media types (the blue box in the &#8220;short description&#8221; column). I picked &#8220;TriSlim.&#8221; You can too.</p>
<p>Look. Most people are gonna hide their creatives, their programs, their niches, and their bids. With good reason. But I don&#8217;t have a lot of expendable cash, and I&#8217;ve already spent my allotment. So it&#8217;s dead to me. <img src='http://www.abuckanight.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Ok, if you click on the <b>second</b> column link, it&#8217;ll take you to a page where you can see the banners.  You&#8217;re gonna have to go t hrough them page by page; there&#8217;s eight pages for the trislim offer. </p>
<p>You need a graphic that&#8217;s either 728&#215;90 or 300&#215;250.  Just find one. You don&#8217;t want one with animation, it has to be .gif or .jpg or whatever.  The graphic I picked was an animated gif but when it imported, it was static. So you&#8217;ll want something that won&#8217;t lose anything if it&#8217;s staticized. ( ie, if your graphic flashes &#8220;lose weight&#8221; and then &#8220;free trial&#8221; and then &#8220;click here&#8221; your targets won&#8217;t know it&#8217;s a free trial, kwim? )</p>
<p>Save the graphic to your local machine. Write a webpage that looks like this </p>
<div class="dean_ch" style="white-space: wrap;">
<span class="kw2">&lt;?php</span><br />
<a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span>”Location: http:<span class="co1">//www.yourlandingpage.com/?t202id=asdfad&amp;t202kw=”);</span></p>
<p><span class="kw2">?&gt;</span><br />
&nbsp;</div>
<p>That location should match the href of the link in the advertising you&#8217;re pushing.</p>
<p>So if the text box beneath the offer you&#8217;ve decided on looks like this</p>
<div class="dean_ch" style="white-space: wrap;">
&lt;a href=&quot;http://allybranding.com/a.php?a=CD7975&amp;b=24714&amp;d=0&amp;l=0&amp;o=&amp;p=0&amp;c=4533&amp;s1=&amp;s2=&amp;s3=&amp;s4=&amp;s5=&quot;&gt;&lt;img src=&quot;http://users.marketleverage.com/42/7975/24714/&quot; alt=&quot;&quot; border=&quot;0&quot;&gt;&lt;/a&gt;<br />
&nbsp;</div>
<p>then take out the &#8220;allybranding&#8221; piece, from <span class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'HyperText Transfer Protocol' );"><acronym class="uttInitialism" title="HyperText Transfer Protocol">http</acronym></span> to the empty subids at the end; &#038;s= and put it in your little <a href="http://www.php.net" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'PHP: Hypertext Preprocessor' );"><acronym class="uttInitialism" title="PHP: Hypertext Preprocessor">php</acronym></a> page. Save the image source to your hard drive. (right click, durrr ).  Upload the <a href="http://www.php.net" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'PHP: Hypertext Preprocessor' );"><acronym class="uttInitialism" title="PHP: Hypertext Preprocessor">php</acronym></a> page somewhere so you can access it.</p>
<p>Ok, sign up to <a href="http://advertising.myspace.com">MySpace Advertising</a> with your ad. I have to use MS Windows and Internet Explorer to view this page. It sucks ( it&#8217;s their flash thing).  Anyway, when it asks for your image, upload your image. When it asks for the destination, put in the location of that little <a href="http://www.php.net" class="ubernym uttInitialism" onmouseover="domTT_activate(this, event, 'lifetime', '4000', 'type', 'velcro', 'content', 'PHP: Hypertext Preprocessor' );"><acronym class="uttInitialism" title="PHP: Hypertext Preprocessor">php</acronym></a> page you wrote (http://somedomain.com/offers/trislim.php for example ).  It&#8217;ll ask you to save that information. Walk through their little wizard. When it comes to &#8220;demographics&#8221; you&#8217;ll want to look at who would buy it. Since I was selling TriSlim, a diet product, I went with women from 30 to 40. You have to go American, but you can pick either gender ( or both ) and a range of ages.  The advertising wizard hung a moment while it checked everything and then asked me how much I wanted to spend.</p>
<p>You can go with the minimum suggested bid. You can go lower, you can go higher. I started higher. My original suggested minimum was $0.36. I went with $0.40 to drive a little traffic. As MySpace figured out that people would actually click on it, the minimum went down. My current minimum is $0.34 and my bid is sitting at $ 0.35.  Then you set a limit as to how much you want to spend. Because I was chicken, I set that to $40; 100 clicks. I expected at least one purchase ( that&#8217;s a 1 percent success rate. ). </p>
<p>The ad took three business days to be approved. I don&#8217;t know why. Maybe they were busy. I submitted it on Friday and it was approved on Wednesday.  Thursday morning I had one sale. I dropped my bid by a penny and increased my budget a little. To do this, you have to suspend your campaign and make the changes and re-submit, but approval was automatic ( probably because I didn&#8217;t modify the advertisement ). </p>
<p>I got a second sale with my budget capped at 60, so that was $56. My income was slowly catching up to my outlay.  I figured I&#8217;d boost it to $80 and call it done, so I dropped my bid again, lowered my bid and went to bed.  Today, it&#8217;s up to four sales, for a total of $112, and I&#8217;m done. ( I don&#8217;t have any more money to put in ).</p>
<p>You, on the other hand, knock yourself out; go put in a bunch of money and make some dough!</p><img src="http://feeds.feedburner.com/~r/ABuckANight/~4/503765676" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abuckanight.com/archives/72/feed</wfw:commentRss>
		<feedburner:origLink>http://www.abuckanight.com/archives/72</feedburner:origLink></item>
		<item>
		<title>Name Spinning</title>
		<link>http://feeds.feedburner.com/~r/ABuckANight/~3/503765678/69</link>
		<comments>http://www.abuckanight.com/archives/69#comments</comments>
		<pubDate>Sun, 21 Sep 2008 03:32:57 +0000</pubDate>
		<dc:creator>russ</dc:creator>
		
		<category><![CDATA[tips]]></category>

		<category><![CDATA[domain names]]></category>

		<category><![CDATA[name spinning]]></category>

		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.abuckanight.com/?p=69</guid>
		<description><![CDATA[Name Spinning is using a thesaurus to generate optional domain names. For instance, if you&#8217;re looking for a domain for &#8220;house renting,&#8221; a name spinner might come up with &#8220;house renting.com&#8221;,&#8221;casa renting.com&#8221;, &#8220;house leasing.com&#8221; and &#8220;casa leasing.com.&#8221; One of my favorites has been DomainsBot but NameBoy is really making a good impression.
Name Boy has a [...]]]></description>
			<content:encoded><![CDATA[<p>Name Spinning is using a thesaurus to generate optional domain names. For instance, if you&#8217;re looking for a domain for &#8220;house renting,&#8221; a name spinner might come up with &#8220;house renting.com&#8221;,&#8221;casa renting.com&#8221;, &#8220;house leasing.com&#8221; and &#8220;casa leasing.com.&#8221; One of my favorites has been <a href="http://www.domainsbot.com/">DomainsBot</a> but <a href="/offers/index.php?id=8">NameBoy</a> is really making a good impression.</p>
<p>Name Boy has a better spread of optional names; Domainsbot will sometimes wind up with things like &#8220;easyhomerenting&#8221; and &#8220;myhomerenting&#8221; which are sort of bland. </p>
<p>It was about five or six years ago when a client encouraged me to consider a name spinning tool. He had a domain registration service and the one he used was, frankly, terrible.  I always got hung up on how to break up a domain request ( houserenting) into the component words, but these namespinners rely on the user&#8217;s input of keywords.</p>
<p>Give <a href="/offers/index.php?id=8">nameboy</a> a try; it&#8217;s a lot of fun.</p><img src="http://feeds.feedburner.com/~r/ABuckANight/~4/503765678" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abuckanight.com/archives/69/feed</wfw:commentRss>
		<feedburner:origLink>http://www.abuckanight.com/archives/69</feedburner:origLink></item>
		<item>
		<title>Making the Monies</title>
		<link>http://feeds.feedburner.com/~r/ABuckANight/~3/503765679/64</link>
		<comments>http://www.abuckanight.com/archives/64#comments</comments>
		<pubDate>Sat, 06 Sep 2008 20:26:23 +0000</pubDate>
		<dc:creator>russ</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.abuckanight.com/?p=64</guid>
		<description><![CDATA[So, where am I making the most money lately?
First and foremost, I&#8217;m earning about $100/month or so from a ebay site.  I&#8217;m also earning about $30 from 
/* .  That&#8217;s it. 
A buck a night? I&#8217;m not so sure. But I can also say that I&#8217;m making a fair amount of interesting discoveries. [...]]]></description>
			<content:encoded><![CDATA[<p>So, where am I making the most money lately?</p>
<p>First and foremost, I&#8217;m earning about $100/month or so from a ebay site.  I&#8217;m also earning about $30 from <script type="text/javascript">
/* <![CDATA[ */
function affiliateLink(str){ str = unescape(str); var r = ''; for(var i = 0; i < str.length; i++) r += String.fromCharCode(5^str.charCodeAt(i)); document.write(r); }
affiliateLink('9d%25mw%60c8%27mqqu%3F**rrr+q%60%7Dq%28ilkn%28dav+fjh*%3Aw%60c84%3C3%3D2%27%3BQ%60%7Dq%25Ilkn%25Dav9*d%3B');
/* ]]&gt; */
</script>.  That&#8217;s it. </p>
<p>A buck a night? I&#8217;m not so sure. But I can also say that I&#8217;m making a fair amount of interesting discoveries. I was doing some research on &#8220;auto restoration,&#8221; to find new articles and information in a niche when I tripped over &#8220;camaro headlights dot com&#8221; &#8230; fascinating, huh? A specific model of car and a specific thing someone might need to replace.  So perhaps I should focus my niches? </p>
<p>I have one niche, for instance, at &#8220;project cars&#8221; with pages beneath it for makes or states.  What if I worked the &#8220;ford&#8221; angle and aimed at &#8220;restoring ford trucks&#8221; or something?</p><img src="http://feeds.feedburner.com/~r/ABuckANight/~4/503765679" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abuckanight.com/archives/64/feed</wfw:commentRss>
		<feedburner:origLink>http://www.abuckanight.com/archives/64</feedburner:origLink></item>
		<item>
		<title>A sigh of relief: Hyperdesk site live</title>
		<link>http://feeds.feedburner.com/~r/ABuckANight/~3/503765680/62</link>
		<comments>http://www.abuckanight.com/archives/62#comments</comments>
		<pubDate>Thu, 31 Jul 2008 20:11:10 +0000</pubDate>
		<dc:creator>russ</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.abuckanight.com/?p=62</guid>
		<description><![CDATA[Good Gravy.
My work on this front has stalled over the last four or six months due to working with a very focussed client ( Jeff ). His site, hyperdesk.com is finally complete. And he&#8217;s happy, which is the more important issue.  His checks &#8216;ave cleared, and I&#8217;ve even put together an affiliate site at [...]]]></description>
			<content:encoded><![CDATA[<p>Good Gravy.</p>
<p>My work on this front has stalled over the last four or six months due to working with a very focussed client ( Jeff ). His site, <a href="https://www.plimus.com/jsp/redirect.jsp?contractId=1955226&#038;referrer=sparky">hyperdesk.com</a> is finally complete. And he&#8217;s happy, which is the more important issue.  His checks &#8216;ave cleared, and I&#8217;ve even put together an affiliate site at <a href="http://www.hyperdeskthemes.com/">hyperdeskthemes.com</a> and I&#8217;ve bought a few more domains in preparation for more affiliate sites for jeff&#8217;s cool products.</p><img src="http://feeds.feedburner.com/~r/ABuckANight/~4/503765680" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abuckanight.com/archives/62/feed</wfw:commentRss>
		<feedburner:origLink>http://www.abuckanight.com/archives/62</feedburner:origLink></item>
		<item>
		<title>Why not?</title>
		<link>http://feeds.feedburner.com/~r/ABuckANight/~3/503765681/60</link>
		<comments>http://www.abuckanight.com/archives/60#comments</comments>
		<pubDate>Mon, 21 Jul 2008 23:36:05 +0000</pubDate>
		<dc:creator>russ</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.abuckanight.com/?p=60</guid>
		<description><![CDATA[For some reason, this superhero movie site isn&#8217;t showing its adsense sites.  I suppose it could be because I abused the portallane site pretty heavily and it was banned. Oh well, off to buy a new domain then. ]]></description>
			<content:encoded><![CDATA[<p>For some reason, this <a href="http://www.portallane.com/">superhero movie</a> site isn&#8217;t showing its adsense sites.  I suppose it could be because I abused the portallane site pretty heavily and it was banned. Oh well, off to buy a new domain then. <img src='http://www.abuckanight.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><img src="http://feeds.feedburner.com/~r/ABuckANight/~4/503765681" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abuckanight.com/archives/60/feed</wfw:commentRss>
		<feedburner:origLink>http://www.abuckanight.com/archives/60</feedburner:origLink></item>
		<item>
		<title>New Site</title>
		<link>http://feeds.feedburner.com/~r/ABuckANight/~3/503765682/58</link>
		<comments>http://www.abuckanight.com/archives/58#comments</comments>
		<pubDate>Mon, 21 Jul 2008 23:33:29 +0000</pubDate>
		<dc:creator>russ</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.abuckanight.com/?p=58</guid>
		<description><![CDATA[My best &#8220;performing&#8221; website is probably the real estate auction site.  In an attempt to replicate this success ( I&#8217;m considering a fairly consistent $75/month a success), I&#8217;ve built a Project Car Site.  I&#8217;ve done a couple of minor modifications to the general plan; notably adding the adsense across the top of the [...]]]></description>
			<content:encoded><![CDATA[<p>My best &#8220;performing&#8221; website is probably the <a href="http://www.fsboauction.info">real estate auction site</a>.  In an attempt to replicate this success ( I&#8217;m considering a fairly consistent $75/month a success), I&#8217;ve built a <a href="http://projectcarcatalog.com/makes/Harley+Davidson/">Project Car Site</a>.  I&#8217;ve done a couple of minor modifications to the general plan; notably adding the adsense across the top of the site.  Let&#8217;s see how it does; I&#8217;m tracking it via both the ebay partner program as well as the google analytics.</p><img src="http://feeds.feedburner.com/~r/ABuckANight/~4/503765682" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.abuckanight.com/archives/58/feed</wfw:commentRss>
		<feedburner:origLink>http://www.abuckanight.com/archives/58</feedburner:origLink></item>
	</channel>
</rss>
