<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Snippet: WordPress &#8211; Customise the Excerpt Length and More string</title>
	<atom:link href="http://erisds.co.uk/wordpress/snippet-wordpress-customise-the-excerpt-length-and-more-string/feed" rel="self" type="application/rss+xml" />
	<link>http://erisds.co.uk/wordpress/snippet-wordpress-customise-the-excerpt-length-and-more-string</link>
	<description>Web development, Symfony, Wordpress and general geekery</description>
	<lastBuildDate>Wed, 28 Jul 2010 06:55:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: ErisDS</title>
		<link>http://erisds.co.uk/wordpress/snippet-wordpress-customise-the-excerpt-length-and-more-string/comment-page-1#comment-693</link>
		<dc:creator>ErisDS</dc:creator>
		<pubDate>Fri, 25 Jun 2010 12:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://erisds.co.uk/?p=944#comment-693</guid>
		<description>I&#039;ve just updated this post to add that the default length of the excerpt is 55 words :)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve just updated this post to add that the default length of the excerpt is 55 words :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ErisDS</title>
		<link>http://erisds.co.uk/wordpress/snippet-wordpress-customise-the-excerpt-length-and-more-string/comment-page-1#comment-486</link>
		<dc:creator>ErisDS</dc:creator>
		<pubDate>Thu, 04 Mar 2010 08:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://erisds.co.uk/?p=944#comment-486</guid>
		<description>Thanks, it&#039;s always good to know that my content has been useful :)</description>
		<content:encoded><![CDATA[<p>Thanks, it&#8217;s always good to know that my content has been useful :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jenny</title>
		<link>http://erisds.co.uk/wordpress/snippet-wordpress-customise-the-excerpt-length-and-more-string/comment-page-1#comment-485</link>
		<dc:creator>Jenny</dc:creator>
		<pubDate>Thu, 04 Mar 2010 03:34:02 +0000</pubDate>
		<guid isPermaLink="false">http://erisds.co.uk/?p=944#comment-485</guid>
		<description>I&#039;ve been searching everywhere for how to customize my Wordpress excerpts, thanks for sharing!</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been searching everywhere for how to customize my WordPress excerpts, thanks for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://erisds.co.uk/wordpress/snippet-wordpress-customise-the-excerpt-length-and-more-string/comment-page-1#comment-450</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Sun, 17 Jan 2010 18:41:17 +0000</pubDate>
		<guid isPermaLink="false">http://erisds.co.uk/?p=944#comment-450</guid>
		<description>@ErisDS @Rob
I&#039;ve got an adjustment on the &#039;more&#039; text, not the length though, perhaps using substr_replace() after the trim?
&lt;code lang=&quot;php&quot;&gt;
function feed_more( $text ) { 
$text = str_replace(&#039;[...]&#039;, &#039;&#039;, $text);
$text = trim( $text );
return $text = &#039;ABC&#039;; // where ABC is what you want, template tags work!
}
add_filter(&#039;the_excerpt_rss&#039;, &#039;feed_more&#039;);
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>@ErisDS @Rob<br />
I&#8217;ve got an adjustment on the &#8216;more&#8217; text, not the length though, perhaps using substr_replace() after the trim?</p>
<div class="codecolorer-container php twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">function</span> feed_more<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$text</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <br />
<span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'[...]'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">,</span> <span style="color: #000088;">$text</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/trim"><span style="color: #990000;">trim</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000088;">$text</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">return</span> <span style="color: #000088;">$text</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'ABC'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// where ABC is what you want, template tags work!</span><br />
<span style="color: #009900;">&#125;</span><br />
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_excerpt_rss'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'feed_more'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: ErisDS</title>
		<link>http://erisds.co.uk/wordpress/snippet-wordpress-customise-the-excerpt-length-and-more-string/comment-page-1#comment-449</link>
		<dc:creator>ErisDS</dc:creator>
		<pubDate>Sat, 16 Jan 2010 20:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://erisds.co.uk/?p=944#comment-449</guid>
		<description>&lt;strong&gt;@mike&lt;/strong&gt; You&#039;re welcome, not sure how I stumbled across it now.

&lt;strong&gt;@rob&lt;/strong&gt; I&#039;m not sure about the rss feed. I would have thought these filters worked the same. There is a filter called the_excerpt_rss which may have something to do with it though! </description>
		<content:encoded><![CDATA[<p><strong>@mike</strong> You&#8217;re welcome, not sure how I stumbled across it now.</p>
<p><strong>@rob</strong> I&#8217;m not sure about the rss feed. I would have thought these filters worked the same. There is a filter called the_excerpt_rss which may have something to do with it though!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Mason</title>
		<link>http://erisds.co.uk/wordpress/snippet-wordpress-customise-the-excerpt-length-and-more-string/comment-page-1#comment-448</link>
		<dc:creator>Rob Mason</dc:creator>
		<pubDate>Sat, 16 Jan 2010 17:04:34 +0000</pubDate>
		<guid isPermaLink="false">http://erisds.co.uk/?p=944#comment-448</guid>
		<description>Been meaning to figure this out for a while, but this saves me the effort. Good work old girl. One quick question though: how do you do the same but for the RSS feed?

R</description>
		<content:encoded><![CDATA[<p>Been meaning to figure this out for a while, but this saves me the effort. Good work old girl. One quick question though: how do you do the same but for the RSS feed?</p>
<p>R</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://erisds.co.uk/wordpress/snippet-wordpress-customise-the-excerpt-length-and-more-string/comment-page-1#comment-446</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Fri, 15 Jan 2010 19:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://erisds.co.uk/?p=944#comment-446</guid>
		<description>Nice technique.  I&#039;ve never adjusted the excerpt using filters before, the code I do use is so ugly in comparison.  I obviously missed the length and more hooks brought in 2.8&#124;2.9 that make excerpt messing so much easier.  Thanks for the pointer will have to make use of this in my sites spring clean. :)</description>
		<content:encoded><![CDATA[<p>Nice technique.  I&#8217;ve never adjusted the excerpt using filters before, the code I do use is so ugly in comparison.  I obviously missed the length and more hooks brought in 2.8|2.9 that make excerpt messing so much easier.  Thanks for the pointer will have to make use of this in my sites spring clean. :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
