<?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>pleech.com</title>
	<atom:link href="http://pleech.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://pleech.com</link>
	<description>Online marketing with a twist</description>
	<lastBuildDate>Thu, 29 Jul 2010 12:15:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>EzineArticles scraper</title>
		<link>http://pleech.com/2010/07/ezinearticles-scraper/</link>
		<comments>http://pleech.com/2010/07/ezinearticles-scraper/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 11:57:20 +0000</pubDate>
		<dc:creator>Pigpromoter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dom]]></category>
		<category><![CDATA[ezinearticles]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scraping]]></category>

		<guid isPermaLink="false">http://pleech.com/?p=60</guid>
		<description><![CDATA[Piece of code that queries EZA for a given string and grabs an article at random from the first results page. Again, this is slow as fuck and shouldn&#8217;t be used for production sites.

&#60;?php
ini_set('error_reporting', 0);

$scrapeURL		= 'http://ezinearticles.com/search/?q=';
$baseURL		= 'http://ezinearticles.com';
$query			= 'project+management';

$dom = new DOMDocument();
$dom-&#62;loadHTMLFile($scrapeURL . $query);

$divs = $dom-&#62;getElementsByTagName('div');
foreach ($divs as $div) {
	if ($div-&#62;getAttribute('class') == 'srch_title') {
		foreach ($div-&#62;getElementsByTagName('a') as [...]]]></description>
			<content:encoded><![CDATA[<p>Piece of code that queries EZA for a given string and grabs an article at random from the first results page. Again, this is slow as fuck and shouldn&#8217;t be used for production sites.<br />
<span id="more-60"></span></p>
<pre class="brush: php;">&lt;?php
ini_set('error_reporting', 0);

$scrapeURL		= 'http://ezinearticles.com/search/?q=';
$baseURL		= 'http://ezinearticles.com';
$query			= 'project+management';

$dom = new DOMDocument();
$dom-&gt;loadHTMLFile($scrapeURL . $query);

$divs = $dom-&gt;getElementsByTagName('div');
foreach ($divs as $div) {
	if ($div-&gt;getAttribute('class') == 'srch_title') {
		foreach ($div-&gt;getElementsByTagName('a') as $a) {
			$articles[] = $a-&gt;getAttribute('href');
		}
	}
}
$articleURL = $baseURL . $articles[rand(0,count($articles)-1)];

$dom-&gt;loadHTMLFile($articleURL);
$article['title'] 	= $dom-&gt;getElementsByTagName('h1')-&gt;item(0)-&gt;textContent;
$article['body'] = $dom-&gt;getElementById('body')-&gt;textContent;

print &quot;&lt;pre&gt;&quot;;
print_r($article);
print &quot;&lt;/pre&gt;&quot;;

?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://pleech.com/2010/07/ezinearticles-scraper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic scraper with PHP and DOM</title>
		<link>http://pleech.com/2010/07/basic-scraper-with-php-and-dom/</link>
		<comments>http://pleech.com/2010/07/basic-scraper-with-php-and-dom/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 09:41:43 +0000</pubDate>
		<dc:creator>Pigpromoter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[dom]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scraping]]></category>
		<category><![CDATA[ubot]]></category>

		<guid isPermaLink="false">http://pleech.com/?p=48</guid>
		<description><![CDATA[Who says you need UBot to run basic scraping tasks? Here&#8217;s a trivial script that scrapes centurian.org. It&#8217;s unoptimized (i.e. slow as fuck) but it still does a great job.


&#60;?php
// DOMDocument()s throw shitty warnings for broken HTML
ini_set('display_errors', 0); 

$scrapeURL              = 'http://www.centurian.org/popular-proxies/?start=';

$startIndex  [...]]]></description>
			<content:encoded><![CDATA[<p>Who says you need UBot to run basic scraping tasks? Here&#8217;s a trivial script that scrapes <a href="http://centurian.org">centurian.org</a>. It&#8217;s unoptimized (i.e. slow as fuck) but it still does a great job.<br />
<span id="more-48"></span></p>
<pre class="brush: php;">
&lt;?php
// DOMDocument()s throw shitty warnings for broken HTML
ini_set('display_errors', 0); 

$scrapeURL              = 'http://www.centurian.org/popular-proxies/?start=';

$startIndex             = 0;
$stop                   = FALSE;

while (!$stop) {
		//create the DOMDocument
        $dom = new DOMDocument();
        $stop = TRUE;
        if ($dom-&gt;loadHTMLFile($scrapeURL . $startIndex)) {
        		//get all links from the page
                $list = $dom-&gt;getElementsByTagName('a');
                for ($i = 0; $i &lt; $list-&gt;length; $i++) {
                        $proxy = $list-&gt;item($i)-&gt;textContent;
                        //we only want the links that have &quot;http://&quot; in anchor
                        if (strpos($proxy, 'http://')!==FALSE) {
                                print $proxy.&quot;\r\n&quot;;
                                $stop = FALSE;
                        }
                }
        }
        $startIndex += 32;
}

?&gt;
</pre>
<p>Usage:</p>
<pre class="brush: bash; wrap-lines: true;">pigpromoter@pleech:~/scrapers/centurianDOM$ php ./centurianDOM.php &gt; proxies.txt
pigpromoter@pleech:~/scrapers/centurianDOM$ cat ./proxies.txt | wc -l
6277
</pre>
<p>&#8230; or simply put it in your htdocs and fire it up through the browser.</p>
<p>As I said, the script is trivial, but it&#8217;s a good way of seeing how <a href="http://www.php.net/manual/en/book.dom.php">DOM</a> works. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://pleech.com/2010/07/basic-scraper-with-php-and-dom/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Resuming uploads with ProFTPD</title>
		<link>http://pleech.com/2010/07/proftpd-resuming-uploads/</link>
		<comments>http://pleech.com/2010/07/proftpd-resuming-uploads/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 10:08:01 +0000</pubDate>
		<dc:creator>Pigpromoter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[proftpd]]></category>

		<guid isPermaLink="false">http://pleech.com/?p=43</guid>
		<description><![CDATA[ProFTPD doesn&#8217;t allow resuming of uploads out of the box. Here&#8217;s a quick hack around it: edit the config file (usually /etc/proftpd/proftpd.conf, but can depend on your distro) and add
AllowOverwrite on
AllowRetrieveRestart on
AllowStoreRestart on
Restart the server and  you&#8217;re done.
]]></description>
			<content:encoded><![CDATA[<p>ProFTPD doesn&#8217;t allow resuming of uploads out of the box. Here&#8217;s a quick hack around it: edit the config file (usually /etc/proftpd/proftpd.conf, but can depend on your distro) and add</p>
<p><code>AllowOverwrite on<br />
AllowRetrieveRestart on<br />
AllowStoreRestart on</code></p>
<p>Restart the server and  you&#8217;re done.</p>
]]></content:encoded>
			<wfw:commentRss>http://pleech.com/2010/07/proftpd-resuming-uploads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Indian WHAT?</title>
		<link>http://pleech.com/2010/05/indian-what/</link>
		<comments>http://pleech.com/2010/05/indian-what/#comments</comments>
		<pubDate>Fri, 28 May 2010 06:02:22 +0000</pubDate>
		<dc:creator>Pigpromoter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://pleech.com/?p=37</guid>
		<description><![CDATA[Creativity fail or uber leet unorthodox marketing skills?

]]></description>
			<content:encoded><![CDATA[<p>Creativity fail or uber leet unorthodox marketing skills?</p>
<p><a href="http://pleech.com/wp-content/uploads/2010/05/indianWHAT.png"><img class="alignnone size-medium wp-image-38" title="indianWHAT" src="http://pleech.com/wp-content/uploads/2010/05/indianWHAT-300x254.png" alt="" width="300" height="254" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://pleech.com/2010/05/indian-what/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Not having backups is such a bitch</title>
		<link>http://pleech.com/2010/04/hello-world/</link>
		<comments>http://pleech.com/2010/04/hello-world/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 05:26:42 +0000</pubDate>
		<dc:creator>Pigpromoter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[pleech]]></category>

		<guid isPermaLink="false">http://pleech.com/?p=1</guid>
		<description><![CDATA[A while ago, our former hosting company took a crap and decided to close the joint. Luckily we weren&#8217;t running any money sites on that server, so the loss wasn&#8217;t so big. Yet, we lost pleech.com. On the bright side, all some posts are cached by Big G, so everything something will be back. In [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago, our former hosting company took a crap and decided to close the joint. Luckily we weren&#8217;t running any money sites on that server, so the loss wasn&#8217;t so big. Yet, we lost pleech.com. On the bright side, <span style="text-decoration: line-through;">all</span> <em>some</em> posts are cached by <a href="http://www.google.com/search?hl=en&amp;client=firefox-a&amp;rls=org.mozilla%3Aen-US%3Aofficial&amp;q=site%3Apleech.com&amp;btnG=Search&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=&amp;gs_rfai=">Big G</a>, so <span style="text-decoration: line-through;">everything</span> <em>something </em>will be back. In a while. Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://pleech.com/2010/04/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exploiting other peoples’ misery</title>
		<link>http://pleech.com/2010/02/exploiting-other-peoples%e2%80%99-misery/</link>
		<comments>http://pleech.com/2010/02/exploiting-other-peoples%e2%80%99-misery/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 06:22:15 +0000</pubDate>
		<dc:creator>Pigpromoter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ethics]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://pleech.com/?p=19</guid>
		<description><![CDATA[I never thought the Haiti disaster would be exploited by marketers.  Looks like these guys have found a  way of spreading their FB spam tool. And capture leads at the same time.  How do you spell unscrupulosity?
]]></description>
			<content:encoded><![CDATA[<p>I never thought the Haiti disaster would be exploited by marketers.  Looks like <a href="http://save-haiti.us/">these guys</a> have found a  way of spreading their FB spam tool. And capture leads at the same time.  How do you spell <a href="http://dictionary.reference.com/browse/unscrupulosity"><strong>unscrupulosity</strong></a>?</p>
]]></content:encoded>
			<wfw:commentRss>http://pleech.com/2010/02/exploiting-other-peoples%e2%80%99-misery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Review of PTCNow.info</title>
		<link>http://pleech.com/2010/01/review-of-ptcnow-info/</link>
		<comments>http://pleech.com/2010/01/review-of-ptcnow-info/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 06:17:28 +0000</pubDate>
		<dc:creator>Pigpromoter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ptc]]></category>
		<category><![CDATA[ptcnow.info]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://pleech.com/?p=14</guid>
		<description><![CDATA[A while ago I ran across ptcnow.info and, must admit, the sales page lured me into buying the ebook. The  $14.97 seemed reasonable, considering the advantages outlined there. The  Seller advertises the ebook as being “For all audiences from beginners  to PROs”. I have been in the PTC industry for several years [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I ran across <a href="http://ptcnow.info/" target="_blank">ptcnow.info</a> and, must admit, the sales page lured me into buying the ebook. The  $14.97 seemed reasonable, considering the advantages outlined there. The  Seller advertises the ebook as being “For all audiences from beginners  to PROs”. I have been in the PTC industry for several years already and,  must say, this was one of the very few lines that made me buy the book.  I hoped for some clueful, insightful information. All I got instead was  some <em>“you need to advertise to get referrals”</em> mumbo-jumbo.<span id="more-14"></span></p>
<p>The report promises to be 30 pages long, and it’s only 16, filled  with crap. Lots of phrases and ideas don’t make sense whatsoever:</p>
<blockquote><p>PTC sites are usually a lil costly, but you must  understand. You are getting targeted traffic. For eg. PTCAddicts.com has  a cost of $1.19 per 100 referrals. Now you might see about 1000 visits  in $3 only offers. But you must understand. This traffic is not  targeted.</p></blockquote>
<p>Someone please translate this…</p>
<blockquote><p>If you advertise on PTC sites, it means 2 things.  Firstly, the visitors who are coming to your ad are going to be PTC site  users themselves. So, there is a fair chance that they are going to  sign up for the PTC program you promote under them. This is a golden  opportunity, and one of the best methods of targeted ads. Most of the  sites that we have listed above have the ptc advertisement opportunities  so you can use them and get the most of the PTC website promotion.</p></blockquote>
<p>1) What’s the second thing? 2) The only remotely clueful idea here is  that advertising PTC programs on other PTC sites gets you targeted  traffic which might convert better. Well, no sh*t, silly ol’ me, I was  going to advertise on fashion and real estate blogs! &lt;/rant&gt;</p>
<p>And let’s get down the Seller’s “unheard of” promotion techniques:</p>
<p><strong>1. Signatures in forums</strong><br />
Blah, blah, blah. Every new kid on the block hopes he’ll get hootloads  of<br />
referrals by spamming DP, GPF, WF and TG with spammy posts and sig  links. It might have worked 10 years ago, it won’t do jack shit these  days.</p>
<p><strong>2. Advertising on PTC sites</strong><br />
I was hoping for some information on building landing pages that outline  the benefits of that program. But no, the section only reiterates how  advertising gets you referrals and how much money you’ll be making from  your ref’s clicks. Thank you, Captain Obvious!</p>
<p><strong>3. Mailing list</strong><br />
Lame attempt at a sales pitch for GetResponse’s services (advertises a  ref link). No mentioning of other (free) options.</p>
<p><strong>4. Article marketing</strong><br />
Presented as the only option of getting high in SERPs.</p>
<blockquote><p>A research shows that people make about 53,992,923  searches on google every month for keywords related to PTC. So what does  this mean for you? If you manage to get yourself on the top rankings  for your referral links, you will be hit upon with so many users under  you. I am sure it must be sounding insane! But it is a fact. It is so  important to have your site on top of google, and cash would be coming  in big proportions.</p></blockquote>
<p>Good luck ranking #1 for such keywords, lol. The Seller obviously has  no clue what s/he’s talking about.</p>
<p>The ebook is junk and doesn’t provide useful information for neither  newbies nor seasoned users. The sales page is highly deceptive in this  manner. The Seller *might* be making $30/day from PTC programs, but  doesn’t show any reliable information on how to do it. If I were to hire  a content writer to do such an ebook and got this piece of crap I’d  turn it down.</p>
<p>I asked for a refund and got it within 24 hours. Thank you,  Clickbank, for the prompt response!</p>
]]></content:encoded>
			<wfw:commentRss>http://pleech.com/2010/01/review-of-ptcnow-info/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PROMO: Review of PTCNow.info</title>
		<link>http://pleech.com/2010/01/promo-review-of-ptcnow-info/</link>
		<comments>http://pleech.com/2010/01/promo-review-of-ptcnow-info/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 06:14:33 +0000</pubDate>
		<dc:creator>Pigpromoter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[promo]]></category>
		<category><![CDATA[ptc]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://pleech.com/?p=11</guid>
		<description><![CDATA[We’ll post a review of the ebook some time this evening. A  straightforward and no-BS/sales hype one. Stay tuned 
]]></description>
			<content:encoded><![CDATA[<p>We’ll post a review of the ebook some time this evening. A  straightforward and no-BS/sales hype one. Stay tuned <img src="../wp-includes/images/smilies/icon_wink.gif" alt=";)" /></p>
]]></content:encoded>
			<wfw:commentRss>http://pleech.com/2010/01/promo-review-of-ptcnow-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Triond introduces Adsense</title>
		<link>http://pleech.com/2009/11/triond-introduces-adsense/</link>
		<comments>http://pleech.com/2009/11/triond-introduces-adsense/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 06:29:43 +0000</pubDate>
		<dc:creator>Pigpromoter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[triond]]></category>
		<category><![CDATA[writing]]></category>
		<category><![CDATA[ypn]]></category>

		<guid isPermaLink="false">http://pleech.com/?p=26</guid>
		<description><![CDATA[Triond has announced yesterday that they will integrate  Adsense on their pages.
There will be most likely no major fuss for the great majority of  Triond publishers. Average articles get less than 100 views per month  and, with the 50/50 revenue sharing split, you’d be lucky to get one  click per month. [...]]]></description>
			<content:encoded><![CDATA[<p>Triond <a href="http://blog.triond.com/2009/11/02/google-adsense-integration/" target="_blank">has announced</a> yesterday that they will integrate  Adsense on their pages.</p>
<p>There will be most likely no major fuss for the great majority of  Triond publishers. Average articles get less than 100 views per month  and, with the 50/50 revenue sharing split, you’d be lucky to get one  click per month. It could, however, scale if you have tons of content  published.</p>
<p>It has been said that Adsense pays better than YPN lately. Let’s just  wait and see how Google will evaluate Triond’s pages and how high the  eCPM will get.</p>
]]></content:encoded>
			<wfw:commentRss>http://pleech.com/2009/11/triond-introduces-adsense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nic.cz.cc affiliate program not playing fair</title>
		<link>http://pleech.com/2009/11/nic-cz-cc-affiliate-program-not-playing-fair/</link>
		<comments>http://pleech.com/2009/11/nic-cz-cc-affiliate-program-not-playing-fair/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 06:28:04 +0000</pubDate>
		<dc:creator>Pigpromoter</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pleech.com/?p=24</guid>
		<description><![CDATA[Later edit: After being contacted by nic.cz.cc, I re-did the experiment. It has  to do with action referral occurrence of one: if the user  clicks your affiliate link, picks ONE domain, hits the checkout button,  signs up for a new account with nic.cz.cc, then registers ANOTHER FOUR,  you only get paid [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Later edit: After being contacted by <a href="http://nic.cz.cc/">nic.cz.cc</a>, I re-did the experiment. It has  to do with <a href="http://www.affiliates4u.com/forums/commission-junction-cj-uk/23865-action-referral-occurrences.html" target="_blank">action referral occurrence of one</a>: if the user  clicks your affiliate link, picks ONE domain, hits the checkout button,  signs up for a new account with nic.cz.cc, then registers ANOTHER FOUR,  you only get paid for one sale. You are only paid for five sales if the  user registered all domains in one go. </strong></p>
<p>According to their site, affiliates get paid $0.14 for every free  domain registered.</p>
<blockquote><p>1. Earn $ 0.14 for every single Free Registered cz.cc  Domain! (<a href="http://www.nic.cz.cc/affiliates/user/index.php" target="_self">source</a>)</p></blockquote>
<p>What they <em>forgot</em> to mention was that you get paid for one  domain per customer. If a user registers 5 free .cz.cc domains (the  maximum allowed as per TOS), you only get $0.14.</p>
<p>However, it converts nicely, and the minimum thresold ($ 16.57 &lt;—  WTF?) is easy to reach.</p>
]]></content:encoded>
			<wfw:commentRss>http://pleech.com/2009/11/nic-cz-cc-affiliate-program-not-playing-fair/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
