<?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: Now using smart links!</title>
	<atom:link href="http://mgeisler.net/2005/05/now-using-smart-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://mgeisler.net/2005/05/now-using-smart-links/</link>
	<description>Adventures with Computers</description>
	<pubDate>Tue, 06 Jan 2009 10:49:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6-bleeding</generator>
		<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/05/now-using-smart-links/#comment-244</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Mon, 23 May 2005 11:48:40 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/21/now-using-smart-links/#comment-244</guid>
		<description>&lt;p&gt;Thanks for the tip --- I've sent a note to Brian asking him to update his plugin.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for the tip &#8212; I&#8217;ve sent a note to Brian asking him to update his plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis de Bernardy</title>
		<link>http://mgeisler.net/2005/05/now-using-smart-links/#comment-240</link>
		<dc:creator>Denis de Bernardy</dc:creator>
		<pubDate>Mon, 23 May 2005 11:10:28 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/21/now-using-smart-links/#comment-240</guid>
		<description>&lt;p&gt;I'd add a &lt;code&gt;if ( function_exists( 'sem_smart_link_cache_comments' ) )&lt;/code&gt; statement in there, but otherwise that's the way to do it. It would be nice if you reported the fix to the plugin's author, so other users will not have a similar problem.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I&#8217;d add a <code>if ( function_exists( 'sem_smart_link_cache_comments' ) )</code> statement in there, but otherwise that&#8217;s the way to do it. It would be nice if you reported the fix to the plugin&#8217;s author, so other users will not have a similar problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/05/now-using-smart-links/#comment-234</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Sun, 22 May 2005 17:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/21/now-using-smart-links/#comment-234</guid>
		<description>&lt;p&gt;Okay, thanks a lot for the reply.  The fix was a simple as adding
&lt;code&gt;sem_smart_link_cache_comments($comments);&lt;/code&gt;
in the &lt;code&gt;comments.php&lt;/code&gt; file provided with the
&lt;a href="http://meidell.dk/archives/category/wordpress/threaded-comments/"&gt;Brian's threaded comments plugin&lt;/a&gt;.  If anybody is interested,
then I added this just before the &lt;code&gt;foreach($comments as $c)&lt;/code&gt;
around line 113.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Okay, thanks a lot for the reply.  The fix was a simple as adding<br />
<code>sem_smart_link_cache_comments($comments);</code><br />
in the <code>comments.php</code> file provided with the<br />
<a href="http://meidell.dk/archives/category/wordpress/threaded-comments/">Brian&#8217;s threaded comments plugin</a>.  If anybody is interested,<br />
then I added this just before the <code>foreach($comments as $c)</code><br />
around line 113.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis de Bernardy</title>
		<link>http://mgeisler.net/2005/05/now-using-smart-links/#comment-233</link>
		<dc:creator>Denis de Bernardy</dc:creator>
		<pubDate>Sat, 21 May 2005 12:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/21/now-using-smart-links/#comment-233</guid>
		<description>&lt;p&gt;Actually, there's good odds it's a feature. The bug would come from two plugins interacting poorly.&lt;/p&gt;

&lt;p&gt;To speed things up, I mass query the DB and cache the resulting links for use in other comments, posts, etc. Thus, on first call in a comment, I fetch all $comments as $comment and process all the smart links at once, to avoid 100+ calls to the DB when a highly commented page gets a smart link.&lt;/p&gt;

&lt;p&gt;so basically, to make the threaded comments work together with smart link, you'll either need to refresh the cache at each node (a poor solution imho) with some kind of refresh_comment_cache function. Or you'll need to optimize the way the threaded comments gets its comments (a more proper solution).&lt;/p&gt;

&lt;p&gt;i'm not sure i understand what you mean with the 'search engine' feature&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Actually, there&#8217;s good odds it&#8217;s a feature. The bug would come from two plugins interacting poorly.</p>
<p>To speed things up, I mass query the DB and cache the resulting links for use in other comments, posts, etc. Thus, on first call in a comment, I fetch all $comments as $comment and process all the smart links at once, to avoid 100+ calls to the DB when a highly commented page gets a smart link.</p>
<p>so basically, to make the threaded comments work together with smart link, you&#8217;ll either need to refresh the cache at each node (a poor solution imho) with some kind of refresh_comment_cache function. Or you&#8217;ll need to optimize the way the threaded comments gets its comments (a more proper solution).</p>
<p>i&#8217;m not sure i understand what you mean with the &#8217;search engine&#8217; feature</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/05/now-using-smart-links/#comment-231</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Sat, 21 May 2005 11:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/21/now-using-smart-links/#comment-231</guid>
		<description>&lt;p&gt;And now that link worked too down here in the comments.  So I guess that it is only links made in the post that are available in the comments?  Weird, that must be a bug...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>And now that link worked too down here in the comments.  So I guess that it is only links made in the post that are available in the comments?  Weird, that must be a bug&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/05/now-using-smart-links/#comment-230</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Sat, 21 May 2005 11:06:45 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/21/now-using-smart-links/#comment-230</guid>
		<description>&lt;p&gt;Hmm... only the link to the book worked, and yet the link to my enhanced Markdown post worked when made in the post itself.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hmm&#8230; only the link to the book worked, and yet the link to my enhanced Markdown post worked when made in the post itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Geisler</title>
		<link>http://mgeisler.net/2005/05/now-using-smart-links/#comment-229</link>
		<dc:creator>Martin Geisler</dc:creator>
		<pubDate>Sat, 21 May 2005 10:50:06 +0000</pubDate>
		<guid isPermaLink="false">http://mgeisler.net/2005/05/21/now-using-smart-links/#comment-229</guid>
		<description>&lt;p&gt;Some simple tests of the plugin:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A link to the post about making things neat.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A link to my PHP Tutorial.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A link to a classic book. This "search engine" wasn't originally supported, but I've added it.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
		<content:encoded><![CDATA[<p>Some simple tests of the plugin:</p>
<ul>
<li>
<p>A link to the post about making things neat.</p>
</li>
<li>
<p>A link to my PHP Tutorial.</p>
</li>
<li>
<p>A link to a classic book. This &#8220;search engine&#8221; wasn&#8217;t originally supported, but I&#8217;ve added it.</p>
</li>
</ul>
]]></content:encoded>
	</item>
</channel>
</rss>
