<?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>SEO, PPC, Web Design &#38; Optimization</description>
	<lastBuildDate>Thu, 11 Mar 2010 02:46:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/comment-page-1/#comment-61</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-61</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-page-1/#comment-60</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-60</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-page-1/#comment-59</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-59</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-page-1/#comment-58</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-58</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-page-1/#comment-57</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-57</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-page-1/#comment-56</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-56</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-page-1/#comment-55</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-55</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-page-1/#comment-54</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-54</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"></a><a href="http://www.rlmseo.com/blog/wordpress-post-variabl.." rel="nofollow">http://www.rlmseo.com/blog/wordpress-post-variabl..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Crenshaw</title>
		<link>http://www.rlmseo.com/blog/changing-excerpt-size-dynamically/comment-page-1/#comment-53</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-53</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-page-1/#comment-52</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-52</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>
</channel>
</rss>
