<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.2" -->
<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/"
>

<channel>
	<title>WordPress Test Bed</title>
	<link>http://www.keyvan.net/wordpress-testbed</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Tue, 07 Nov 2006 12:26:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>
	<language>en</language>

		<item>
		<title>Paged Comments: Ajax Style!</title>
		<link>http://www.keyvan.net/wordpress-testbed/2005/12/21/paged-comments-ajax/</link>
		<comments>http://www.keyvan.net/wordpress-testbed/2005/12/21/paged-comments-ajax/#comments</comments>
		<pubDate>Thu, 22 Dec 2005 02:37:43 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Uncategorized</category>
		<guid>http://www.keyvan.net/wordpress-testbed/2005/12/21/paged-comments-ajax/</guid>
		<description><![CDATA[	This post serves to demonstrate my very flaky and highly experimental AJAX implementation of the Paged Comments plugin. I will be working on this over the next few days so expect lots of errors! 

]]></description>
			<content:encoded><![CDATA[	<p>This post serves to demonstrate my very flaky and highly experimental <a href="http://en.wikipedia.org/wiki/AJAX">AJAX</a> implementation of the Paged Comments plugin. I will be working on this over the next few days so expect lots of errors! <img src='http://www.keyvan.net/wordpress-testbed/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.keyvan.net/wordpress-testbed/2005/12/21/paged-comments-ajax/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Excluding article body when navigating comment pages</title>
		<link>http://www.keyvan.net/wordpress-testbed/2005/12/21/excluding-article-body-when-navigating-comment-pages/</link>
		<comments>http://www.keyvan.net/wordpress-testbed/2005/12/21/excluding-article-body-when-navigating-comment-pages/#comments</comments>
		<pubDate>Thu, 22 Dec 2005 02:35:32 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Uncategorized</category>
		<guid>http://www.keyvan.net/wordpress-testbed/2005/12/21/excluding-article-body-when-navigating-comment-pages/</guid>
		<description><![CDATA[	In response to Massimo&#8217;s question:
	&#8230;would it be possible to have comments only in the first paged one, the one with the article body and NO article body text in the following pages?
	example:
http://www.example.org/2005/08/12/my-article/
includes the article plus the first 10 comments
while
http://www.example.org/2005/08/12/my-article/comments/2
includes ONLY the following 10 comments with NO article and possible a link the the former page.
	Many [...]]]></description>
			<content:encoded><![CDATA[	<p>In response to Massimo&#8217;s question:</p>
	<blockquote><p>&#8230;would it be possible to have comments only in the first paged one, the one with the article body and NO article body text in the following pages?</p>
	<p>example:<br />
http://www.example.org/2005/08/12/my-article/<br />
includes the article plus the first 10 comments<br />
while<br />
http://www.example.org/2005/08/12/my-article/comments/2<br />
includes ONLY the following 10 comments with NO article and possible a link the the former page.</p>
	<p>Many thanks.<br />
Massimo.
</p></blockquote>
	<p>A very simple solution would be to edit single.php (if you&#8217;re using the default theme), qualifying the call to <code>the_content()</code> with an if statement. For example:</p>
	<blockquote><p><code>&lt;?php the_content('&lt;p class="serif"&gt;Read the rest of this entry &amp;raquo;&lt;/p&gt;'); ?></code></p></blockquote>
	<p>would become</p>
	<blockquote><p><code>&lt;?php <strong>if (!isset($_GET[&#8217;cp&#8217;]))</strong> the_content(&#8217;&lt;p class=&#8221;serif&#8221;&gt;Read the rest of this entry &amp;raquo;&lt;/p&gt;&#8217;); ?&gt;</code></p></blockquote>
	<p>If you&#8217;d like to guide visitors to the full content, you can include an else statement with a link to the main article:</p>
	<blockquote><p><code>&lt;?php if (!isset($_GET['cp'])) {<br />
	the_content('&lt;p class="serif"&gt;Read the rest of this entry &amp;raquo;&lt;/p&gt;');<br />
} else {<br />
	echo '&lt;p&gt;You are browsing comments, &lt;a href="', get_permalink(), '"&gt;read full entry here&lt;/a&gt;.&lt;/p&gt;';<br />
} ?&gt;</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRSS>http://www.keyvan.net/wordpress-testbed/2005/12/21/excluding-article-body-when-navigating-comment-pages/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.keyvan.net/wordpress-testbed/2005/08/13/hello-world/</link>
		<comments>http://www.keyvan.net/wordpress-testbed/2005/08/13/hello-world/#comments</comments>
		<pubDate>Sat, 13 Aug 2005 14:58:30 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
		
	<category>Uncategorized</category>
		<guid>http://www.keyvan.net/wordpress-testbed/2005/08/13/hello-world/</guid>
		<description><![CDATA[	This WP setup is my test bed for experimenting with plugins and hacks.

]]></description>
			<content:encoded><![CDATA[	<p>This WP setup is my test bed for experimenting with plugins and hacks.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.keyvan.net/wordpress-testbed/2005/08/13/hello-world/feed/</wfw:commentRSS>
	</item>
	</channel>
</rss>
