<?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: Changing Excerpt Size Dynamically</title>
	<atom:link href="http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/</link>
	<description></description>
	<lastBuildDate>Thu, 19 Jan 2012 17:05:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: mike8</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-63</link>
		<dc:creator>mike8</dc:creator>
		<pubDate>Thu, 13 Oct 2011 22:59:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-63</guid>
		<description>Man that was very useful... It worked nice but i have a small issue.
When the last letter displayed by the excerpt contain an accent ( my site will be in french) , i have some random code instead.

Example : fabriqué becomes fabriqu� 

Thx for your help.</description>
		<content:encoded><![CDATA[<p>Man that was very useful&#8230; It worked nice but i have a small issue.<br />
When the last letter displayed by the excerpt contain an accent ( my site will be in french) , i have some random code instead.</p>
<p>Example : fabriqué becomes fabriqu� </p>
<p>Thx for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-62</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Mon, 08 Dec 2008 04:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-62</guid>
		<description>I just notice I gave a solution in the case the author doesn&#039;t write an excerpt in response to packfan77 above. Did you try that?</description>
		<content:encoded><![CDATA[<p>I just notice I gave a solution in the case the author doesn&#039;t write an excerpt in response to packfan77 above. Did you try that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek Bhatnagar</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-61</link>
		<dc:creator>Abhishek Bhatnagar</dc:creator>
		<pubDate>Mon, 24 Nov 2008 15:33:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-61</guid>
		<description>yeah I don&#039;t believe I&#039;m using anything that would not return an excerpt.

Here&#039;s my loop:

&lt;?php query_posts(&#039;category_name=home_post9&#039;); ?&gt;
&lt;?php if(have_posts()) : ?&gt;&lt;?php while(have_posts()) : the_post(); ?&gt;
&lt;div class=&quot;posts&quot;&gt;
&lt;div class=&quot;lin&quot;&gt;&lt;/div&gt;

&lt;div class=&quot;postim&quot;&gt;
&lt;img src=&quot;&lt;?php $mykey_values = get_post_custom_values(&#039;image&#039;); foreach ( $mykey_values as $key =&gt; $value ) {echo $value . &quot;&quot;;}?&gt;&quot;&gt;
&lt;/div&gt;
&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
&lt;!— INSERT YOUR CODE HERE –&gt;
&lt;/div&gt;
&lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;</description>
		<content:encoded><![CDATA[<p>yeah I don&#8217;t believe I&#8217;m using anything that would not return an excerpt.</p>
<p>Here&#8217;s my loop:</p>
<p>&lt;?php query_posts(&#8216;category_name=home_post9&#8242;); ?&gt;<br />
&lt;?php if(have_posts()) : ?&gt;&lt;?php while(have_posts()) : the_post(); ?&gt;<br />
&lt;div class=&#8221;posts&#8221;&gt;<br />
&lt;div class=&#8221;lin&#8221;&gt;&lt;/div&gt;</p>
<p>&lt;div class=&#8221;postim&#8221;&gt;<br />
&lt;img src=&#8221;&lt;?php $mykey_values = get_post_custom_values(&#8216;image&#8217;); foreach ( $mykey_values as $key =&gt; $value ) {echo $value . &#8220;&#8221;;}?&gt;&#8221;&gt;<br />
&lt;/div&gt;<br />
&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;<br />
&lt;!— INSERT YOUR CODE HERE –&gt;<br />
&lt;/div&gt;<br />
&lt;?php endwhile; ?&gt;<br />
&lt;?php endif; ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-60</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Thu, 20 Nov 2008 12:05:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-60</guid>
		<description>Have you tried printing the excerpt for those posts before using string functions to make sure wordpress is actually returning an excerpt in the first place?

As an aside, you should be able to hit enter on the comments text area without it submitting. This is a new comment system, so if anyone else is having that problem, let me know so I can look into it.</description>
		<content:encoded><![CDATA[<p>Have you tried printing the excerpt for those posts before using string functions to make sure wordpress is actually returning an excerpt in the first place?</p>
<p>As an aside, you should be able to hit enter on the comments text area without it submitting. This is a new comment system, so if anyone else is having that problem, let me know so I can look into it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Wheeler</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-59</link>
		<dc:creator>John Wheeler</dc:creator>
		<pubDate>Wed, 19 Nov 2008 10:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-59</guid>
		<description>geez...again somehow. k, I won&#039;t hit Enter Certain posts don&#039;t show an excerpt at all. These posts are those that have some tag near the beginning such as img or a. My guess is strlen and strsub fumble when they hit these tags. Any ideas?</description>
		<content:encoded><![CDATA[<p>geez&#8230;again somehow. k, I won&#039;t hit Enter Certain posts don&#039;t show an excerpt at all. These posts are those that have some tag near the beginning such as img or a. My guess is strlen and strsub fumble when they hit these tags. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Wheeler</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-58</link>
		<dc:creator>John Wheeler</dc:creator>
		<pubDate>Wed, 19 Nov 2008 10:16:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-58</guid>
		<description>oo...I must have pressed enter too early
For cert...&lt;/a&gt;&lt;/img&gt;</description>
		<content:encoded><![CDATA[<p>oo&#8230;I must have pressed enter too early<br />
For cert&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-57</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Wed, 19 Nov 2008 09:45:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-57</guid>
		<description>What&#039;s the problem?</description>
		<content:encoded><![CDATA[<p>What&#039;s the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Wheeler</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-56</link>
		<dc:creator>John Wheeler</dc:creator>
		<pubDate>Wed, 19 Nov 2008 09:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-56</guid>
		<description>great concept!
I do have a problem trying to use ...&lt;/a&gt;&lt;/img&gt;</description>
		<content:encoded><![CDATA[<p>great concept!<br />
I do have a problem trying to use &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-55</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Sat, 15 Nov 2008 12:37:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-55</guid>
		<description>My $post variable quick-reference may help a bit as well.
&lt;a href=&quot;http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/ &quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://www.rlmseo.com/blog/wordpress-post-variabl...&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>My $post variable quick-reference may help a bit as well.<br />
<a href="http://www.rlmseo.com/blog/wordpress-post-variable-quick-reference/ " target="_blank" rel="nofollow">http://www.rlmseo.com/blog/wordpress-post-variabl&#8230;</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-54</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Sat, 15 Nov 2008 12:36:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-54</guid>
		<description>If there&#039;s no excerpt, you&#039;ll need to get a snippet of the post content. Off the top of my head, the best way to do that would probably be:

1. Test if post excerpt is longer than &quot;&quot;

2. If there&#039;s no post excerpt, use the $post-&gt;post_content instead of $post-&gt;post_excerpt in the above code

That should do it, but I think $post-&gt;post_content will return html tags and all, so you may need to strip out any formatting.</description>
		<content:encoded><![CDATA[<p>If there&#39;s no excerpt, you&#39;ll need to get a snippet of the post content. Off the top of my head, the best way to do that would probably be:</p>
<p>1. Test if post excerpt is longer than &quot;&quot;</p>
<p>2. If there&#39;s no post excerpt, use the $post-&gt;post_content instead of $post-&gt;post_excerpt in the above code</p>
<p>That should do it, but I think $post-&gt;post_content will return html tags and all, so you may need to strip out any formatting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: packfan77</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-53</link>
		<dc:creator>packfan77</dc:creator>
		<pubDate>Thu, 13 Nov 2008 14:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-53</guid>
		<description>Thanks for posting this, it helps me a lot.

I want to write another case for if the post author did not include an excerpt at all.  If not, then I want to make the excerpt for them with this same code.  Kind of as a fail safe.  Is that possible?</description>
		<content:encoded><![CDATA[<p>Thanks for posting this, it helps me a lot.</p>
<p>I want to write another case for if the post author did not include an excerpt at all.  If not, then I want to make the excerpt for them with this same code.  Kind of as a fail safe.  Is that possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-52</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Fri, 07 Nov 2008 14:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-52</guid>
		<description>@Josh: Have you tried $post-&gt;post_title to retrieve the post title (I think that works within the loop only)</description>
		<content:encoded><![CDATA[<p>@Josh: Have you tried $post->post_title to retrieve the post title (I think that works within the loop only)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Ellington</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-51</link>
		<dc:creator>Josh Ellington</dc:creator>
		<pubDate>Wed, 05 Nov 2008 00:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-51</guid>
		<description>Wonderful post, very informative.

I&#039;m attempting to use the substr function to remove a number of characters from the post title. I&#039;ve tried to use the &quot;get_the_title(ID)&quot; function with no luck yet. Would you have any suggestions? Here&#039;s where I&#039;m working on it: http://dev.joshellington.com/hype/features/</description>
		<content:encoded><![CDATA[<p>Wonderful post, very informative.</p>
<p>I&#8217;m attempting to use the substr function to remove a number of characters from the post title. I&#8217;ve tried to use the &#8220;get_the_title(ID)&#8221; function with no luck yet. Would you have any suggestions? Here&#8217;s where I&#8217;m working on it: <a href="http://dev.joshellington.com/hype/features/" rel="nofollow">http://dev.joshellington.com/hype/features/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-50</link>
		<dc:creator>John Crenshaw</dc:creator>
		<pubDate>Thu, 25 Sep 2008 18:59:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-50</guid>
		<description>In the example above, I used a custom field to set the image that would appear on the home page, so it&#039;s not a part of the excerpt itself.</description>
		<content:encoded><![CDATA[<p>In the example above, I used a custom field to set the image that would appear on the home page, so it&#8217;s not a part of the excerpt itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JamesWee</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/#comment-49</link>
		<dc:creator>JamesWee</dc:creator>
		<pubDate>Thu, 25 Sep 2008 16:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.rlmseo.com/changing-excerpt-size-dynamically/#comment-49</guid>
		<description>How do you excerpt the image? My wordpress doesnt seems to excerpt the image at all. Unless I write my excerpt myself under the text editor.</description>
		<content:encoded><![CDATA[<p>How do you excerpt the image? My wordpress doesnt seems to excerpt the image at all. Unless I write my excerpt myself under the text editor.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

