<?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 for Palehorse Information Services</title>
	<atom:link href="http://palehorseinformation.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://palehorseinformation.com</link>
	<description>Bridging the gap between web development and web design</description>
	<lastBuildDate>Thu, 18 Mar 2010 00:21:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Comment on Fixing The Excerpt In WordPress by Joan</title>
		<link>http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/comment-page-1/#comment-41</link>
		<dc:creator>Joan</dc:creator>
		<pubDate>Thu, 18 Mar 2010 00:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://palehorseinformation.com/?p=74#comment-41</guid>
		<description>That is not the entire code I wanted to display.
I see, there is a restriction about the html code in the comments. Nevermind, I think the essential concepts had been explained.</description>
		<content:encoded><![CDATA[<p>That is not the entire code I wanted to display.<br />
I see, there is a restriction about the html code in the comments. Nevermind, I think the essential concepts had been explained.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing The Excerpt In WordPress by Joan</title>
		<link>http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/comment-page-1/#comment-40</link>
		<dc:creator>Joan</dc:creator>
		<pubDate>Wed, 17 Mar 2010 22:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://palehorseinformation.com/?p=74#comment-40</guid>
		<description>Hi Duncan, and again excuse me for my poor english.
I&#039;m not familiar either with mootols, well, in fact I&#039;m not a developer, just an anthropologist trying to be a webmaster in my free time.
Tried your first advice, and don&#039;t work.
About the second, the theme don&#039;t use shortcodes for the gallery. One must only indicate, in the admin area, the post&#039;s category for the featured gallery. The mootols and js libraries are loaded in header.php, and also the call to that gallery, wich I display here:


 
   
    
      
      
      &lt;a href=&quot;&quot; title=&quot;Leer m&#225;s&quot; class=&quot;open&quot;&gt;&lt;/a&gt;
      
      &lt;img src=&quot;&quot; class=&quot;full&quot; alt=&quot;&quot;/&gt;
    &lt;!--/imageElement--&gt;
   
&lt;!--/myGallery--&gt;

I don&#039;t know much about iframes (but hope I learn quickly). Now I&#039;m googling &quot;smoothgallery iframe&quot; and looking through the smoothgallery forum. Don&#039;t want you waste your time too much in it.
Many thanks.</description>
		<content:encoded><![CDATA[<p>Hi Duncan, and again excuse me for my poor english.<br />
I&#8217;m not familiar either with mootols, well, in fact I&#8217;m not a developer, just an anthropologist trying to be a webmaster in my free time.<br />
Tried your first advice, and don&#8217;t work.<br />
About the second, the theme don&#8217;t use shortcodes for the gallery. One must only indicate, in the admin area, the post&#8217;s category for the featured gallery. The mootols and js libraries are loaded in header.php, and also the call to that gallery, wich I display here:</p>
<p>      &lt;a href=&quot;&#8221; title=&#8221;Leer m&aacute;s&#8221; class=&#8221;open&#8221;&gt;</p>
<p>      &lt;img src=&quot;&#8221; class=&#8221;full&#8221; alt=&#8221;"/&gt;<br />
    <!--/imageElement--></p>
<p><!--/myGallery--></p>
<p>I don&#8217;t know much about iframes (but hope I learn quickly). Now I&#8217;m googling &#8220;smoothgallery iframe&#8221; and looking through the smoothgallery forum. Don&#8217;t want you waste your time too much in it.<br />
Many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing The Excerpt In WordPress by Duncan MacLeod</title>
		<link>http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/comment-page-1/#comment-39</link>
		<dc:creator>Duncan MacLeod</dc:creator>
		<pubDate>Wed, 17 Mar 2010 10:28:08 +0000</pubDate>
		<guid isPermaLink="false">http://palehorseinformation.com/?p=74#comment-39</guid>
		<description>Hi Joan. Thanks for the kind words, and I&#039;m sorry you&#039;re having trouble with the fix.

I&#039;m not very familiar with Mootools, or SmoothGallery, but from what I can tell right off the bat is that SmoothGallery is JavaScript based, so the first thing I would try is to remove the line that strips out JavaScript from the plugin. Just comment out (add &lt;code&gt;//&lt;/code&gt; to the beginning of the line) the following line in the function first, and if that works, you can go ahead and delete it:
&lt;pre&gt;
$text = preg_replace( &#039;@&lt;script[^&gt;]*?&gt; . *?&lt;/script&gt;@si&#039;, &#039;&#039;, $text );
&lt;/pre&gt;

I haven&#039;t tested that, so beware. 

If that fails to work, try embedding the SmoothGallery inside an iFrame (add &lt;code&gt;iframe=1&lt;/code&gt; as an attribute to the shortcode).
Try those, in that order, and get back to me.

Good luck!</description>
		<content:encoded><![CDATA[<p>Hi Joan. Thanks for the kind words, and I&#8217;m sorry you&#8217;re having trouble with the fix.</p>
<p>I&#8217;m not very familiar with Mootools, or SmoothGallery, but from what I can tell right off the bat is that SmoothGallery is JavaScript based, so the first thing I would try is to remove the line that strips out JavaScript from the plugin. Just comment out (add <code>//</code> to the beginning of the line) the following line in the function first, and if that works, you can go ahead and delete it:</p>
<pre>
$text = preg_replace( '@&lt;script[^&gt;]*?&gt; . *?&lt;/script&gt;@si', '', $text );
</pre>
<p>I haven&#8217;t tested that, so beware. </p>
<p>If that fails to work, try embedding the SmoothGallery inside an iFrame (add <code>iframe=1</code> as an attribute to the shortcode).<br />
Try those, in that order, and get back to me.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing The Excerpt In WordPress by Joan</title>
		<link>http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/comment-page-1/#comment-38</link>
		<dc:creator>Joan</dc:creator>
		<pubDate>Wed, 17 Mar 2010 07:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://palehorseinformation.com/?p=74#comment-38</guid>
		<description>I&#039;m sorry, it&#039;s me again...
What a shame! It seems that this fix (fantastic in any case) has broken something in my home page. Specifically the excerpts of the posts showed inside the gallery (SmoothGallery, based on Mootols) in the header of this page.
I&#039;ve been playing with your code, without success.
Can I put some code somewhere to exclude your function only for this excerpt? Or exclude the gallery variables from your function? or some else? I don&#039;t know...
Sorry again, and thanks for your attention</description>
		<content:encoded><![CDATA[<p>I&#8217;m sorry, it&#8217;s me again&#8230;<br />
What a shame! It seems that this fix (fantastic in any case) has broken something in my home page. Specifically the excerpts of the posts showed inside the gallery (SmoothGallery, based on Mootols) in the header of this page.<br />
I&#8217;ve been playing with your code, without success.<br />
Can I put some code somewhere to exclude your function only for this excerpt? Or exclude the gallery variables from your function? or some else? I don&#8217;t know&#8230;<br />
Sorry again, and thanks for your attention</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing The Excerpt In WordPress by Joan</title>
		<link>http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/comment-page-1/#comment-37</link>
		<dc:creator>Joan</dc:creator>
		<pubDate>Wed, 17 Mar 2010 04:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://palehorseinformation.com/?p=74#comment-37</guid>
		<description>Sorry for my bad english.
Write from Barcelona.
Your post was for me really, really helpful ! Exactly what I had searching for, after googling for some hours.
You are a true expert, with original content and inventiveness... Other people only are copying one from another.
I hope you&#039;ll write soon other interesting wordpress posts.
Well, in fact I want to propose you two ideas: 1)database cleaning and optimization from the Wordpress point of view, and 2)optimization of the theme&#039;s functions.php file, that maybe contains various fixes or plugins in it like yours (how and when to use !is_admin, etc.)
Thanks</description>
		<content:encoded><![CDATA[<p>Sorry for my bad english.<br />
Write from Barcelona.<br />
Your post was for me really, really helpful ! Exactly what I had searching for, after googling for some hours.<br />
You are a true expert, with original content and inventiveness&#8230; Other people only are copying one from another.<br />
I hope you&#8217;ll write soon other interesting wordpress posts.<br />
Well, in fact I want to propose you two ideas: 1)database cleaning and optimization from the WordPress point of view, and 2)optimization of the theme&#8217;s functions.php file, that maybe contains various fixes or plugins in it like yours (how and when to use !is_admin, etc.)<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing The Excerpt In WordPress by Duncan MacLeod</title>
		<link>http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/comment-page-1/#comment-36</link>
		<dc:creator>Duncan MacLeod</dc:creator>
		<pubDate>Sat, 06 Mar 2010 05:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://palehorseinformation.com/?p=74#comment-36</guid>
		<description>Sorry, Erik, this function doesn&#039;t touch the manual Excerpt creation (the field under the post edit box) in any way, it only modifies the way the standard automatic Excerpt is created.

However, if I understand your question correctly, you can try something like the following to give you a &quot;Read More...&quot; type link at the end of a manually created Excerpt. Just add this where appropriate in place of the &lt;code&gt;the_excerpt()&lt;/code&gt; tags in your template files:

&lt;pre&gt;
&lt;?php the_excerpt(); ?&gt;
	&lt;?php if ( has_excerpt() ) { ?&gt;
		&lt;p&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot; rel=&quot;nofollow&quot; title=&quot;Continue Reading &lt;?php the_title_attribute(); ?&gt;...&quot;&gt;Read the rest of &lt;?php the_title(); ?&gt; &raquo;&lt;/a&gt;&lt;/p&gt;
	&lt;?php } ?&gt;
&lt;/pre&gt;

Try that, and let me know if that was what you are looking for. Good luck!</description>
		<content:encoded><![CDATA[<p>Sorry, Erik, this function doesn&#8217;t touch the manual Excerpt creation (the field under the post edit box) in any way, it only modifies the way the standard automatic Excerpt is created.</p>
<p>However, if I understand your question correctly, you can try something like the following to give you a &#8220;Read More&#8230;&#8221; type link at the end of a manually created Excerpt. Just add this where appropriate in place of the <code>the_excerpt()</code> tags in your template files:</p>
<pre>
&lt;?php the_excerpt(); ?&gt;
	&lt;?php if ( has_excerpt() ) { ?&gt;
		&lt;p&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" rel="nofollow" title="Continue Reading &lt;?php the_title_attribute(); ?&gt;..."&gt;Read the rest of &lt;?php the_title(); ?&gt; &amp;raquo;&lt;/a&gt;&lt;/p&gt;
	&lt;?php } ?&gt;
</pre>
<p>Try that, and let me know if that was what you are looking for. Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing The Excerpt In WordPress by Erik</title>
		<link>http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/comment-page-1/#comment-33</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Thu, 04 Mar 2010 21:43:32 +0000</pubDate>
		<guid isPermaLink="false">http://palehorseinformation.com/?p=74#comment-33</guid>
		<description>I would like the manual excerpt to display something like &lt;em&gt;&lt;code&gt;&lt;a href=&quot;permalink&quot; rel=&quot;nofollow&quot;&gt;link&lt;/a&gt;&lt;/code&gt;&lt;/em&gt; Is it possible so that when I write in custom excerpt (under the create post in admin) so that something like &lt;em&gt;&lt;code&gt;&quot;%link  %something%&quot;&lt;/code&gt;&lt;/em&gt; becomes &lt;em&gt;&lt;code&gt;&quot;&lt;a href=&quot;http://www.domain.com/2010/03/name-of-a-post&quot; rel=&quot;nofollow&quot;&gt;&lt;/a&gt;&quot;&lt;/code&gt;&lt;/em&gt;? I&#039;m thinking with help of an function in functions.php?</description>
		<content:encoded><![CDATA[<p>I would like the manual excerpt to display something like <em><code>&lt;a href="permalink" rel="nofollow"&gt;link&lt;/a&gt;</code></em> Is it possible so that when I write in custom excerpt (under the create post in admin) so that something like <em><code>"%link  %something%"</code></em> becomes <em><code>"&lt;a href="http://www.domain.com/2010/03/name-of-a-post" rel="nofollow"&gt;&lt;/a&gt;"</code></em>? I&#8217;m thinking with help of an function in functions.php?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing The Excerpt In WordPress by Duncan MacLeod</title>
		<link>http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/comment-page-1/#comment-31</link>
		<dc:creator>Duncan MacLeod</dc:creator>
		<pubDate>Mon, 08 Feb 2010 20:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://palehorseinformation.com/?p=74#comment-31</guid>
		<description>Great! Glad you got it sorted out.</description>
		<content:encoded><![CDATA[<p>Great! Glad you got it sorted out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing The Excerpt In WordPress by a34r</title>
		<link>http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/comment-page-1/#comment-29</link>
		<dc:creator>a34r</dc:creator>
		<pubDate>Mon, 08 Feb 2010 18:29:18 +0000</pubDate>
		<guid isPermaLink="false">http://palehorseinformation.com/?p=74#comment-29</guid>
		<description>Thank you for the prompt reply....all sorted now.

I didn&#039;t realises I already had the following in my functions.php at very top of the page. (provided by theme author)

remove_filter( &#039;get_the_excerpt&#039;, &#039;wp_trim_excerpt&#039; );
add_filter( &#039;get_the_excerpt&#039;, &#039;custom_excerpt&#039; );

Now I removed the &quot;custom_excerpt&quot; and using your.....works like a dream.

cheers</description>
		<content:encoded><![CDATA[<p>Thank you for the prompt reply&#8230;.all sorted now.</p>
<p>I didn&#8217;t realises I already had the following in my functions.php at very top of the page. (provided by theme author)</p>
<p>remove_filter( &#8216;get_the_excerpt&#8217;, &#8216;wp_trim_excerpt&#8217; );<br />
add_filter( &#8216;get_the_excerpt&#8217;, &#8216;custom_excerpt&#8217; );</p>
<p>Now I removed the &#8220;custom_excerpt&#8221; and using your&#8230;..works like a dream.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing The Excerpt In WordPress by Duncan MacLeod</title>
		<link>http://palehorseinformation.com/2009/12/23/fixing-the-wordpress-excerpt/comment-page-1/#comment-28</link>
		<dc:creator>Duncan MacLeod</dc:creator>
		<pubDate>Mon, 08 Feb 2010 15:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://palehorseinformation.com/?p=74#comment-28</guid>
		<description>You shouldn&#039;t need to do anything differently than you would normally do when calling &lt;code&gt;the_excerpt()&lt;/code&gt;. Just copy and paste the function described above into your theme&#039;s &lt;code&gt;functions.php&lt;/code&gt; file, then call &lt;code&gt;the_excerpt();&lt;/code&gt; where you want the excerpt to be shown (in your &lt;code&gt;index.php&lt;/code&gt; or wherever).

Just remember that the &lt;code&gt;the_excerpt();&lt;/code&gt; template tag needs to be used within &lt;a href=&quot;http://codex.wordpress.org/The_Loop&quot; rel=&quot;nofollow&quot;&gt;The Loop&lt;/a&gt;. It also needs to be wrapped in &lt;code&gt;php&lt;/code&gt; tags, like this:

&lt;code&gt;&lt;?php the_excerpt(); ?&gt;&lt;/code&gt;

Hope that helps.</description>
		<content:encoded><![CDATA[<p>You shouldn&#8217;t need to do anything differently than you would normally do when calling <code>the_excerpt()</code>. Just copy and paste the function described above into your theme&#8217;s <code>functions.php</code> file, then call <code>the_excerpt();</code> where you want the excerpt to be shown (in your <code>index.php</code> or wherever).</p>
<p>Just remember that the <code>the_excerpt();</code> template tag needs to be used within <a href="http://codex.wordpress.org/The_Loop" rel="nofollow">The Loop</a>. It also needs to be wrapped in <code>php</code> tags, like this:</p>
<p><code>&lt;?php the_excerpt(); ?&gt;</code></p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
