<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Contextual Related Posts in WordPress</title>
	<atom:link href="http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/</link>
	<description>Weblog Tools Blogging Tools Blog</description>
	<pubDate>Thu, 08 Jan 2009 12:40:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: uncleboob</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1240567</link>
		<dc:creator>uncleboob</dc:creator>
		<pubDate>Sat, 08 Nov 2008 10:55:58 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1240567</guid>
		<description>Here are some changes I made to the related_upgrade.php
----
&#60;?php
/* Don't remove this line. */
require('wp-config.php');

global $table_prefix;

$connexion = mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Can't connect to the database".mysql_error());
$dbconnexion = mysql_select_db(DB_NAME, $connexion);

if (!$dbconnexion) {
	echo mysql_error();
	die();
}

$sql = "ALTER TABLE ".$table_prefix."posts ADD FULLTEXT(post_content,post_title)";
$result = mysql_query($sql);

if ($result)
	echo "Alter table successful, please proceed with instructions";

else
	echo "Something is amiss, please check instructions again.";
---
This one will work with Wordpress 2.6.3 and hopefully above.

Greetings</description>
		<content:encoded><![CDATA[<p>Here are some changes I made to the related_upgrade.php<br />
&#8212;-<br />
&lt;?php<br />
/* Don&#8217;t remove this line. */<br />
require(&#8217;wp-config.php&#8217;);</p>
<p>global $table_prefix;</p>
<p>$connexion = mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die(&#8221;Can&#8217;t connect to the database&#8221;.mysql_error());<br />
$dbconnexion = mysql_select_db(DB_NAME, $connexion);</p>
<p>if (!$dbconnexion) {<br />
	echo mysql_error();<br />
	die();<br />
}</p>
<p>$sql = &#8220;ALTER TABLE &#8220;.$table_prefix.&#8221;posts ADD FULLTEXT(post_content,post_title)&#8221;;<br />
$result = mysql_query($sql);</p>
<p>if ($result)<br />
	echo &#8220;Alter table successful, please proceed with instructions&#8221;;</p>
<p>else<br />
	echo &#8220;Something is amiss, please check instructions again.&#8221;;<br />
&#8212;<br />
This one will work with Wordpress 2.6.3 and hopefully above.</p>
<p>Greetings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1235681</link>
		<dc:creator>Chuck</dc:creator>
		<pubDate>Fri, 22 Aug 2008 03:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1235681</guid>
		<description>Is there an updated version of this plugin? I'm running WP version 2.5.1</description>
		<content:encoded><![CDATA[<p>Is there an updated version of this plugin? I&#8217;m running WP version 2.5.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Development</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1234674</link>
		<dc:creator>Web Development</dc:creator>
		<pubDate>Fri, 08 Aug 2008 09:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1234674</guid>
		<description>Even i'm getting the fatal error thing!! :(
So i'm using the other related posts plugin now!
Can anyone help me fixing this?</description>
		<content:encoded><![CDATA[<p>Even i&#8217;m getting the fatal error thing!! <img src='http://weblogtoolscollection.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
So i&#8217;m using the other related posts plugin now!<br />
Can anyone help me fixing this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: muhibbuddin</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1230438</link>
		<dc:creator>muhibbuddin</dc:creator>
		<pubDate>Tue, 17 Jun 2008 07:20:36 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1230438</guid>
		<description>i got fatal error . bla bla bla. but i unsintall it. and my blog was clean now :)</description>
		<content:encoded><![CDATA[<p>i got fatal error . bla bla bla. but i unsintall it. and my blog was clean now <img src='http://weblogtoolscollection.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Use related posts plugin</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1229615</link>
		<dc:creator>Use related posts plugin</dc:creator>
		<pubDate>Tue, 10 Jun 2008 07:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1229615</guid>
		<description>[...] visitors navigate around your site it also creates more keyword rich anchor text. A plug-in like Contextual Related Posts is a good one to use. After you download it follow the instructions [...]</description>
		<content:encoded><![CDATA[<p>[...] visitors navigate around your site it also creates more keyword rich anchor text. A plug-in like Contextual Related Posts is a good one to use. After you download it follow the instructions [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MauiDan</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1228959</link>
		<dc:creator>MauiDan</dc:creator>
		<pubDate>Thu, 05 Jun 2008 02:22:52 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1228959</guid>
		<description>I've fixed the problem by altering the table type to MYISAM. Here is the complete code to do this:

&lt;code&gt;
/* Don't remove this line. */
require('wp-config.php');

global $table_prefix;

$connexion = mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Can’t connect to the database".mysql_error());

$dbconnexion = mysql_select_db(DB_NAME, $connexion);

if (!$dbconnexion) {
	echo mysql_error();
	die();
}


$sql = "ALTER TABLE ".$table_prefix."posts ENGINE = MYISAM";
$result = mysql_query($sql);

if ($result) {
	echo "Alter table type successful...";
	
} else {
	echo mysql_error();
	}

$sql = "ALTER TABLE ".$table_prefix."posts ADD FULLTEXT(post_content,post_title)";
$result = mysql_query($sql);

if ($result) {
	echo "Alter table index successful, please proceed with instructions";
} else { 
	echo mysql_error();
	
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;ve fixed the problem by altering the table type to MYISAM. Here is the complete code to do this:</p>
<p><code><br />
/* Don't remove this line. */<br />
require('wp-config.php');</p>
<p>global $table_prefix;</p>
<p>$connexion = mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Can’t connect to the database".mysql_error());</p>
<p>$dbconnexion = mysql_select_db(DB_NAME, $connexion);</p>
<p>if (!$dbconnexion) {<br />
	echo mysql_error();<br />
	die();<br />
}</p>
<p>$sql = "ALTER TABLE ".$table_prefix."posts ENGINE = MYISAM";<br />
$result = mysql_query($sql);</p>
<p>if ($result) {<br />
	echo "Alter table type successful...";</p>
<p>} else {<br />
	echo mysql_error();<br />
	}</p>
<p>$sql = "ALTER TABLE ".$table_prefix."posts ADD FULLTEXT(post_content,post_title)";<br />
$result = mysql_query($sql);</p>
<p>if ($result) {<br />
	echo "Alter table index successful, please proceed with instructions";<br />
} else {<br />
	echo mysql_error();</p>
<p>}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MauiDan</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1228957</link>
		<dc:creator>MauiDan</dc:creator>
		<pubDate>Thu, 05 Jun 2008 02:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1228957</guid>
		<description>Using 	echo mysql_error(); I was able to see the "something is amiss" error is:

&lt;code&gt;
Something is amiss, please check instructions again.
The used table type doesn't support FULLTEXT indexes
&lt;/code&gt;

Any ideas?</description>
		<content:encoded><![CDATA[<p>Using 	echo mysql_error(); I was able to see the &#8220;something is amiss&#8221; error is:</p>
<p><code><br />
Something is amiss, please check instructions again.<br />
The used table type doesn't support FULLTEXT indexes<br />
</code></p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 25 Blog Optimization Tips Even Dear Old Dad Could Ace (Plus 10 More Tips for Mom!)</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1228835</link>
		<dc:creator>25 Blog Optimization Tips Even Dear Old Dad Could Ace (Plus 10 More Tips for Mom!)</dc:creator>
		<pubDate>Tue, 03 Jun 2008 12:34:15 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1228835</guid>
		<description>[...] Use a Related Posts plugin. Cross linking to related posts on your blog helps with your internal linking, making keyword rich anchor text more prominent on your blog as well as helping your visitors navigate your site. Use a related posts plugin for WordPress like Contextual Related Posts. [...]</description>
		<content:encoded><![CDATA[<p>[...] Use a Related Posts plugin. Cross linking to related posts on your blog helps with your internal linking, making keyword rich anchor text more prominent on your blog as well as helping your visitors navigate your site. Use a related posts plugin for WordPress like Contextual Related Posts. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1227686</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sat, 24 May 2008 01:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1227686</guid>
		<description>thanks. I think I'll just use the widget you use... it looks pretty easy. &lt;a href="http://www.doclix.com/home.html" rel="nofollow"&gt;Doclix&lt;/a&gt; has a similar thing... it links certain relevant words on your page. I use it, it is cool. You or anyone who reads this post who blogs should check it out.</description>
		<content:encoded><![CDATA[<p>thanks. I think I&#8217;ll just use the widget you use&#8230; it looks pretty easy. <a href="http://www.doclix.com/home.html">Doclix</a> has a similar thing&#8230; it links certain relevant words on your page. I use it, it is cool. You or anyone who reads this post who blogs should check it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Megos</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1216457</link>
		<dc:creator>Megos</dc:creator>
		<pubDate>Wed, 05 Mar 2008 05:11:47 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1216457</guid>
		<description>Warning: preg_match() expects parameter 2 to be string, array given in //wp-content/themes/smashingtheme/index.php on line 32

Anybody fixed this?</description>
		<content:encoded><![CDATA[<p>Warning: preg_match() expects parameter 2 to be string, array given in //wp-content/themes/smashingtheme/index.php on line 32</p>
<p>Anybody fixed this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jack</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1212305</link>
		<dc:creator>Jack</dc:creator>
		<pubDate>Thu, 07 Feb 2008 04:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1212305</guid>
		<description>Hi, I followed your directions in comment 44 and now I'm getting the "No Database Selected" error like Ryan in comment 46.

Can you help me?

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi, I followed your directions in comment 44 and now I&#8217;m getting the &#8220;No Database Selected&#8221; error like Ryan in comment 46.</p>
<p>Can you help me?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: New Blog Plug-In Check List &#187; Self Made Minds</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1212182</link>
		<dc:creator>New Blog Plug-In Check List &#187; Self Made Minds</dc:creator>
		<pubDate>Wed, 06 Feb 2008 12:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1212182</guid>
		<description>[...] Contextual Related Posts Displaying a list of related posts is good for both your readers and helps spiders find your content (which has an SEO benefit). I&#8217;ve manually hacked the plug-in to also display related posts in your feed (also useful when you get scraped as it means more links back to you at least). There is also a related posts plug-in for your feed though I&#8217;ve not tried it. [...]</description>
		<content:encoded><![CDATA[<p>[...] Contextual Related Posts Displaying a list of related posts is good for both your readers and helps spiders find your content (which has an SEO benefit). I&#8217;ve manually hacked the plug-in to also display related posts in your feed (also useful when you get scraped as it means more links back to you at least). There is also a related posts plug-in for your feed though I&#8217;ve not tried it. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sherif Elsisi</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1210763</link>
		<dc:creator>Sherif Elsisi</dc:creator>
		<pubDate>Mon, 28 Jan 2008 02:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1210763</guid>
		<description>Hi
I am getting hi, im getting this error:
Warning: preg_match() expects parameter 2 to be string, array given ...
A couple people already wrote about it. Could it be bcs of the version number ?
Thanks for the plugin.</description>
		<content:encoded><![CDATA[<p>Hi<br />
I am getting hi, im getting this error:<br />
Warning: preg_match() expects parameter 2 to be string, array given &#8230;<br />
A couple people already wrote about it. Could it be bcs of the version number ?<br />
Thanks for the plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Plugin Post Relacionados</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1207040</link>
		<dc:creator>Plugin Post Relacionados</dc:creator>
		<pubDate>Wed, 02 Jan 2008 04:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1207040</guid>
		<description>[...] plugin es una modificacion de Related de Anne van Kesteren (Weblogtoolscollection). Descargate el plugin y sigue los siguientes paso de [...]</description>
		<content:encoded><![CDATA[<p>[...] plugin es una modificacion de Related de Anne van Kesteren (Weblogtoolscollection). Descargate el plugin y sigue los siguientes paso de [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sir jorge</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1206588</link>
		<dc:creator>sir jorge</dc:creator>
		<pubDate>Sat, 29 Dec 2007 20:17:55 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1206588</guid>
		<description>This plugin failed, tried everything i knew.

Followed your instructions.

It didn't work.</description>
		<content:encoded><![CDATA[<p>This plugin failed, tried everything i knew.</p>
<p>Followed your instructions.</p>
<p>It didn&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Best Way to move from Blogger Beta to WordPress &#124; Money,Rich For Your Live!</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1204356</link>
		<dc:creator>The Best Way to move from Blogger Beta to WordPress &#124; Money,Rich For Your Live!</dc:creator>
		<pubDate>Sat, 15 Dec 2007 18:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1204356</guid>
		<description>[...] and go back to the post to put the links in. On the other hand, WordPress has a plugin called Related Posts which uses MySQL’s full text search capabilities to find almost perfectly related posts [...]</description>
		<content:encoded><![CDATA[<p>[...] and go back to the post to put the links in. On the other hand, WordPress has a plugin called Related Posts which uses MySQL’s full text search capabilities to find almost perfectly related posts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Ward</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1200977</link>
		<dc:creator>Ryan Ward</dc:creator>
		<pubDate>Sun, 25 Nov 2007 15:42:43 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1200977</guid>
		<description>Actually, I changed the quotes and now it says "No Database Selected".

I then added DB_NAME and then I got another error and have removed it back to what your change was and it says "No database Selected"

Any other suggestions...</description>
		<content:encoded><![CDATA[<p>Actually, I changed the quotes and now it says &#8220;No Database Selected&#8221;.</p>
<p>I then added DB_NAME and then I got another error and have removed it back to what your change was and it says &#8220;No database Selected&#8221;</p>
<p>Any other suggestions&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Ward</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1200974</link>
		<dc:creator>Ryan Ward</dc:creator>
		<pubDate>Sun, 25 Nov 2007 15:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1200974</guid>
		<description>Mark,

Thank you, it helped, but, now I am getting this:

Parse error: parse error, unexpected T_STRING in /homepages/8/d196824117/htdocs/wordpress-testblog/related_upgrade.php on line 7

This is all prior to activating the plugin, correct?</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Thank you, it helped, but, now I am getting this:</p>
<p>Parse error: parse error, unexpected T_STRING in /homepages/8/d196824117/htdocs/wordpress-testblog/related_upgrade.php on line 7</p>
<p>This is all prior to activating the plugin, correct?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Ghosh</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1200973</link>
		<dc:creator>Mark Ghosh</dc:creator>
		<pubDate>Sun, 25 Nov 2007 15:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1200973</guid>
		<description>Ryan: 
In related_upgrade.php, Change 
$connexion = mysql_connect($server,$loginsql,$passsql) or die("Can't connect to the database&lt;br&gt;".mysql_error());
To
$connexion = mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die("Can't connect to the database&lt;br&gt;".mysql_error());

Hope that helps</description>
		<content:encoded><![CDATA[<p>Ryan:<br />
In related_upgrade.php, Change<br />
$connexion = mysql_connect($server,$loginsql,$passsql) or die(&#8221;Can&#8217;t connect to the database<br />&#8220;.mysql_error());<br />
To<br />
$connexion = mysql_connect(DB_HOST,DB_USER,DB_PASSWORD) or die(&#8221;Can&#8217;t connect to the database<br />&#8220;.mysql_error());</p>
<p>Hope that helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Ward</title>
		<link>http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1200971</link>
		<dc:creator>Ryan Ward</dc:creator>
		<pubDate>Sun, 25 Nov 2007 14:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2004/06/08/contextual-related-posts-in-wordpress/#comment-1200971</guid>
		<description>I'm getting this error:

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /homepages/8/d196824117/htdocs/wordpress-testblog/related_upgrade.php on line 7
Can't connect to the database

Any fix for this?

Thanks,</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting this error:</p>
<p>Warning: mysql_connect() [function.mysql-connect]: Can&#8217;t connect to local MySQL server through socket &#8216;/var/lib/mysql/mysql.sock&#8217; (2) in /homepages/8/d196824117/htdocs/wordpress-testblog/related_upgrade.php on line 7<br />
Can&#8217;t connect to the database</p>
<p>Any fix for this?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
</channel>
</rss>
