<?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>&#60;title&#62; &#187; HOWTO</title>
	<atom:link href="http://www.adammoro.com/blog/howto/feed" rel="self" type="application/rss+xml" />
	<link>http://www.adammoro.com/blog</link>
	<description>Internet Marketing, Web Development and Programming Stuff</description>
	<lastBuildDate>Wed, 10 Mar 2010 14:57:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simulate Neural Networks with PHP</title>
		<link>http://www.adammoro.com/blog/simulate-neural-networks-with-php.html</link>
		<comments>http://www.adammoro.com/blog/simulate-neural-networks-with-php.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 15:47:30 +0000</pubDate>
		<dc:creator>Adam Moro</dc:creator>
				<category><![CDATA[Applications, Frameworks & Services]]></category>
		<category><![CDATA[Artificial Intelligence]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[skynet]]></category>

		<guid isPermaLink="false">http://www.adammoro.com/blog/?p=148</guid>
		<description><![CDATA[Modern usage of the term, "neural networks" refers to artificial neural networks, which, in short are, interconnected artificial neurons or programming constructs that simulate the properties of biological neurons. Neural Mesh has developed a PHP-based neural network framework for simulating and administrating artificial neural networks. 
Still there? In other words, they have created a system ...]]></description>
			<content:encoded><![CDATA[<p>Modern usage of the term, "neural networks" refers to <em>artificial</em> neural networks, which, in short are, interconnected artificial neurons or programming constructs that simulate the properties of biological neurons. <a title="Neural Mesh PHP Neural Network Simulation" href="http://neuralmesh.com/">Neural Mesh</a> has developed a PHP-based neural network framework for simulating and administrating artificial neural networks. </p>
<p>Still there? In other words, they have created a system that mimics a brain. To see how the framework works in a real-world example, play a game of Connect 4 with it below:</p>
<p><object width="370" height="325"><param value="connect4.swf" name="movie"><embed width="370" height="325" src="http://neuralmesh.com/connect4.swf"><br />
</object></p>
<p><em>Source: http://neuralmesh.com/examples.php</em></p>
<p>Neural Mesh has opened up a <a href="http://neuralmesh.com/neuralmesh/nm-admin/index.php" title="Demo the Neural Network Framework">demo section</a> (demo/password) where you can get started with your neural network and bring artificial life to your projects. Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adammoro.com/blog/simulate-neural-networks-with-php.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Remove WordPress Post Revisions for Database Optimization</title>
		<link>http://www.adammoro.com/blog/remove-wordpress-revisions.html</link>
		<comments>http://www.adammoro.com/blog/remove-wordpress-revisions.html#comments</comments>
		<pubDate>Tue, 09 Mar 2010 14:33:28 +0000</pubDate>
		<dc:creator>Adam Moro</dc:creator>
				<category><![CDATA[Code Snippets & Examples]]></category>
		<category><![CDATA[Content Management]]></category>
		<category><![CDATA[Database Management]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.adammoro.com/blog/?p=136</guid>
		<description><![CDATA[Ever since WordPress introduced autosaving and revision control features, larger blogs have seen a significant increase in the size of their databases. If your WordPress installation has slowed dramatically or you are simply looking to optimize your database by removing countless records you'll never end up actually needing, run the following query on your WordPress ...]]></description>
			<content:encoded><![CDATA[<p>Ever since WordPress introduced autosaving and revision control features, larger blogs have seen a significant increase in the size of their databases. If your WordPress installation has slowed dramatically or you are simply looking to optimize your database by removing countless records you'll never end up actually needing, run the following query on your WordPress database:</p>
<pre>delete from wp_posts where post_type = "revision";</pre>
<p>If you're wondering how to use this query, it may not be the best idea to do it yourself and you should probably have your database administrator help you out with this. Then again, if you have a DBA you probably aren't reading this post so here's how you use it.</p>
<p>Using <a title="phpMyAdmin" href="http://www.phpmyadmin.net/home_page/index.php">phpMyAdmin</a>, <a title="SQLyog" href="http://www.webyog.com/en/">SQLyog</a>, <a title="Sequel Pro" href="http://code.google.com/p/sequel-pro/">Sequel Pro</a> or another <a title="MySQL GUI tools" href="http://www.google.com/search?q=MySQL+GUI+tool">MySQL GUI tool</a>, login to MySQL and select the appropriate WordPress database (if you have more than one WordPress database, be very careful making sure you are selecting the database connected to the blog you are working on). Then run the query from above and you're done. For example, if you're using phpMyAdmin, click on "SQL" from the top menu, paste in the query and click, "Go."</p>
<p>If you do not have access to a MySQL GUI tool, you can do this from a Unix shell such as Terminal. To login to MySQL from Terminal, run the following command:</p>
<pre>mysql -u &lt;username&gt; -p&lt;password&gt; &lt;database&gt;</pre>
<p>An sample command for the above command example is:</p>
<pre>mysql -u root -pyourpassword wordpress</pre>
<p>Then, simply copy the query provided at the start of this post into the command line (as depicted below):</p>
<pre>mysql&gt; delete from wp_posts where post_type = "revision";</pre>
<p>Hit, "return" and you're done!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adammoro.com/blog/remove-wordpress-revisions.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find Out if an SEO is Lying in Five Steps</title>
		<link>http://www.adammoro.com/blog/find-out-if-an-seo-is-lying-in-five-steps.html</link>
		<comments>http://www.adammoro.com/blog/find-out-if-an-seo-is-lying-in-five-steps.html#comments</comments>
		<pubDate>Thu, 25 Feb 2010 01:46:47 +0000</pubDate>
		<dc:creator>Adam Moro</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Search Engine Optimization]]></category>
		<category><![CDATA[snake oil]]></category>

		<guid isPermaLink="false">http://www.adammoro.com/blog/?p=67</guid>
		<description><![CDATA[I've had my fair share of run-ins with unethical car repair shops but a recent experience made me realize that there's an analogy to be drawn between shady SEO salesmen and shady auto mechanics.
To test this I simply copied an article from eHow titled, "How to Tell if a Mechanic is Lying" and made a ...]]></description>
			<content:encoded><![CDATA[<p>I've had my fair share of run-ins with unethical car repair shops but a recent experience made me realize that there's an analogy to be drawn between shady SEO salesmen and shady auto mechanics.</p>
<p>To test this I simply copied an article from eHow titled, "<a href="http://www.ehow.com/how_2311976_tell-mechanic-lying.html">How to Tell if a Mechanic is Lying</a>" and made a few minor adjustments. As you will see, there were not many adjustments to make and that's what I found really interesting. So here are five steps you can take to find out if your SEO is lying to you.</p>
<ol>
<li>Simply ask if the work that needs to be done can wait. If the <del>mechanic</del> <strong>SEO</strong> says that it is not an emergency, it is alright to hold off on getting it done. This is not to say that you should neglect getting <del>repairs</del> <strong>your website optimized</strong>, but there is nothing wrong with putting unnecessary work off.</li>
<li>Ask your <del>mechanic</del> <strong>SEO</strong> to show you the problem. For instance, your <del>mechanic</del> <strong>SEO</strong> tells you that you need <del>new rear brake pads</del> <strong>better rankings</strong>. But when it is time to show you, you realize that they are <del>not nearly as worn as he said</del> <strong>referring to terms for which nobody ever actually searches</strong>. In fact, <del>they</del> <strong><a title="Rank Checker" href="http://tools.seobook.com/firefox/rank-checker/">your rankings</a></strong> are not bad, <del>compared to the front brake pads</del> <strong>when you check them for <a href="http://freekeywords.wordtracker.com/">the words and phrases your prospects are actually using to find businesses like yours</a></strong>. If you are not having any problems with <del>braking when you drive</del> <strong>your prospects finding your website</strong>, there is a possibility that your <del>mechanic</del> <strong>SEO</strong> is lying.</li>
<li>Get a second opinion, if you <del>drive into the auto shop</del> <strong>contact an SEO company</strong> and you do not trust the <del>mechanic</del> <strong>SEO</strong>. People get second opinions for doctors and dentists. So why not <del>leave your mechanics shop</del> <strong>find another <a title="SEO Company" href="http://www.webosis.com/">SEO company</a></strong> and ask <del>another</del> <strong>them</strong> who is equally, if not more qualified.</li>
<li>Trust that your <del>mechanic</del> <strong>SEO</strong> is lying, if every time you get your <del>car serviced</del> <strong>website audited</strong>, they come back with a laundry list of other, unexpected issues. Unless your <del>car</del> <strong>website</strong> was <del>pre-owned or very old</del> <strong>worked on by another SEO company since the last time this one worked on it</strong>, there is a possibility your <del>mechanic</del> <strong>SEO</strong> is lying.</li>
<li>Acquaint yourself with the basic <del>car servicing</del> <strong>search engine optimization</strong> recommendations according to <del>your car mileage</del> <strong><a title="Top 25 SEO Blogs" href="http://www.dailyblogtips.com/top-25-seo-blogs/">leading SEO bloggers</a></strong>. You can do this by going online and printing out a standard <del>car servicing</del> <a href="http://www.google.com/custom?hl=en&amp;client=pub-7146407278816649&amp;cof=FORID:13%3BAH:left%3BCX:Search%2520Engine%2520Marketing%3BL:http://www.google.com/intl/en/images/logos/custom_search_logo_sm.gif%3BLH:30%3BLP:1%3BKMBOC:%23336699%3B&amp;adkw=AELymgX2h2mQha-7haTvmKy-BakG8Qn3X2TEWCyxD21-qf1_XzU2ID6f7BWeZQ0ccz6JsqGYnMjvWnYtHly9FbKPQiS-veHVC3nXQ2F-5e0KPQ1WHRmKf9E&amp;boostcse=0&amp;q=seo+checklist+more:seo_blogs&amp;cx=007034791159484234057:gek6_ly1ukk&amp;sa=N&amp;ei=AtCFS6qJFc_OlAfWkuitDA&amp;oi=coopctx&amp;resnum=0&amp;ct=col2&amp;cd=2"><strong>SEO</strong> checklist</a>. This is important information to know, especially if your <del>mechanic</del> <strong>SEO</strong> says you need <del>an oil change</del> <strong>a site redesign</strong> or new <del>tires</del> <strong>content</strong> and you know that he/she is lying because you are <del>not due for an oil change</del> <strong>meeting all the recommendations of the checklist</strong> and you have <del>a decent amount of tread on your tires</del> <strong>unique and relevant content on your site already</strong>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.adammoro.com/blog/find-out-if-an-seo-is-lying-in-five-steps.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Chunk Data for Easier Scraping</title>
		<link>http://www.adammoro.com/blog/chunk-data-for-easier-scraping.html</link>
		<comments>http://www.adammoro.com/blog/chunk-data-for-easier-scraping.html#comments</comments>
		<pubDate>Sun, 21 Feb 2010 22:41:32 +0000</pubDate>
		<dc:creator>Adam Moro</dc:creator>
				<category><![CDATA[Data Mining]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[scraping]]></category>

		<guid isPermaLink="false">http://www.adammoro.com/blog/?p=56</guid>
		<description><![CDATA[Before you spend an hour writing some elaborate regular expression, try chunking the data and matching several expressions to make for a much simpler (and faster) scrape. So, assuming you're using PHP, after you've pulled the data (e.g. with file_get_contents()), use preg_replace with the following regex to chunk the data into a much easier "soup" ...]]></description>
			<content:encoded><![CDATA[<p>Before you spend an hour writing some elaborate regular expression, try chunking the data and matching several expressions to make for a much simpler (and faster) scrape. So, assuming you're using PHP, after you've pulled the data (e.g. with file_get_contents()), use preg_replace with the following regex to chunk the data into a much easier "soup" to work with.</p>
<pre>[ \t\r\n]</pre>
<p>Here's an example of how to use this with PHP:</p>
<pre>&lt;?php
	$data = file_get_contents("http://www.adammoro.com/");
	$data = preg_replace('~[ \t\r\n]~', '', $data);
	print_r($data);
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.adammoro.com/blog/chunk-data-for-easier-scraping.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Force Google to Show &#8220;Latest results for&#8230;&#8221;</title>
		<link>http://www.adammoro.com/blog/force-google-to-show-latest-results-for.html</link>
		<comments>http://www.adammoro.com/blog/force-google-to-show-latest-results-for.html#comments</comments>
		<pubDate>Tue, 16 Feb 2010 20:08:58 +0000</pubDate>
		<dc:creator>Adam Moro</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[real-time results]]></category>
		<category><![CDATA[search url parameters]]></category>

		<guid isPermaLink="false">http://www.adammoro.com/blog/?p=50</guid>
		<description><![CDATA[If you've read the article at Vizion Interactive about how to force Google into showing the "Latest results for..." (also referred to as, "Real-time results") in the search results and felt like it left you, well, wanting more, then here's how it's done.
Simply append, "&#38;tbs=rltm:1" to Google's url for their search results. For example:
google.com/search?q=anything&#38;tbs=rltm:1
So in ...]]></description>
			<content:encoded><![CDATA[<p>If you've read the <a href="http://www.vizioninteractive.com/search-engine-optimization-pushing-google-to-display-real-time-web-for-any-keyword/">article at Vizion Interactive</a> about how to force Google into showing the "Latest results for..." (also referred to as, "Real-time results") in the search results and felt like it left you, well, wanting more, then here's how it's done.</p>
<p>Simply append, "&amp;tbs=rltm:1" to Google's url for their search results. For example:</p>
<p>google.com/search?q=anything<strong>&amp;tbs=rltm:1</strong></p>
<p>So in other words, do a search for anything, then click in the address bar of your browser and add <strong>&amp;tbs=rltm:1</strong> to the end of the URL. That's it.</p>
<p>For more of these fun Google search URL parameters, Yoast has <a href="http://yoast.com/google-search-url-parameters-cheat-sheet/">a bunch here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adammoro.com/blog/force-google-to-show-latest-results-for.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fake Your Google PageRank</title>
		<link>http://www.adammoro.com/blog/fake-google-pagerank.html</link>
		<comments>http://www.adammoro.com/blog/fake-google-pagerank.html#comments</comments>
		<pubDate>Sun, 30 Aug 2009 17:27:26 +0000</pubDate>
		<dc:creator>Adam Moro</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[pagerank]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.adammoro.com/blog/?p=10</guid>
		<description><![CDATA[
Every SEO has seen the Dark SEO PR 10 page (which is banned and probably has been for a long time now) and regardless of whether they’ll admit it, have always wanted to give it a shot.
Here’s the code:
&#60;?php
$agent = strtolower($_SERVER['HTTP_USER_AGENT']);
if(strpos($agent, "google") != "") {
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.w3.org/");
exit;
}
?&#62;
Just place this at the top (important ...]]></description>
			<content:encoded><![CDATA[<div id="post-105">
<div>
<p>Every SEO has seen the Dark SEO PR 10 page (which is banned and probably has been for a long time now) and regardless of whether they’ll admit it, have always wanted to give it a shot.</p>
<p>Here’s the code:</p>
<pre>&lt;?php
$agent = strtolower($_SERVER['HTTP_USER_AGENT']);
if(strpos($agent, "google") != "") {
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.w3.org/");
exit;
}
?&gt;</pre>
<p>Just place this at the top (important that it’s at the <strong>very top</strong>) of the page for which you want to fake PageRank. As you can see, I’m shooting for a 10 but you can obviously change the url (http://www.w3.org/) to get your desired PR.</p>
<p>If you're wondering how this can be used to boost organic placement, it can't. You would have to use something like this (and replace the link on line 2 with a link to a page you want to promote:</p>
<pre>&lt;?php ob_start(); ?&gt;
&lt;a href="http://www.php.net/"&gt;php is cool&lt;/a&gt;
&lt;?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.w3.org/“);
exit;
?&gt;
&lt;?php ob_end_flush(); ?&gt;</pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.adammoro.com/blog/fake-google-pagerank.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use PHP Scripts in 3 Steps</title>
		<link>http://www.adammoro.com/blog/use-php-scripts-in-3-steps.html</link>
		<comments>http://www.adammoro.com/blog/use-php-scripts-in-3-steps.html#comments</comments>
		<pubDate>Sun, 11 Jan 2009 17:22:55 +0000</pubDate>
		<dc:creator>Adam Moro</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.adammoro.com/blog/?p=7</guid>
		<description><![CDATA[
Here’s a simple three-step process for using/running PHP scripts on a Windows machine.

Download/Install WampServer.
Place script.php into the www directory of your wamp install. If you did everything default it should be located at c:\wamp\www
Run the script by pointing your browser at: http://localhost/script.php. In other words consider the “http://localhost/” to be your domain and the www ...]]></description>
			<content:encoded><![CDATA[<div id="post-154">
<div>
<p>Here’s a simple three-step process for using/running PHP scripts <strong>on a Windows machine</strong>.</p>
<ol>
<li>Download/Install <a title="Download Wampserver" href="http://www.wampserver.com/dl.php">WampServer</a>.</li>
<li>Place script.php into the www directory of your wamp install. If you did everything default it should be located at c:\wamp\www</li>
<li>Run the script by pointing your browser at: http://localhost/script.php. In other words consider the “http://localhost/” to be your domain and the www directory to be the root directory of your server/hosting plan.</li>
</ol>
<p>If a script isn’t interfaced, step 3 might not be that simple. If you’re lost when this happens, you can do several things: 1) leave a comment here with your question and I’ll do my best to get you through it. 2) learn the basics of PHP. 3) Hire  <a title="Vadim Zanfirov" href="http://www.odesk.com/users/%7E%7E8b48f03869323606">Vadim Zanfirov</a>.</p>
<p><strong>*Mac users</strong>: Replace WampServer with <a title="XAMPP" rel="nofollow" href="http://www.apachefriends.org/en/xampp-macosx.html">XAMPP</a> in step 1. Replace c:\wamp\www with <strong>/Applications/XAMPP/htdocs/</strong> in step 2.</p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.adammoro.com/blog/use-php-scripts-in-3-steps.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
