<?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 Thoughts on Design</title>
	<atom:link href="http://www.jamischarles.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamischarles.com/blog</link>
	<description>Thoughts on Web Design and Front-end Coding. Served up Monthly by Jamis Charles</description>
	<lastBuildDate>Thu, 02 Sep 2010 15:10:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on How to add recent WordPress post exceprts on an external html page by Shilin</title>
		<link>http://www.jamischarles.com/blog/how-to-add-recent-wordpress-posts-on-an-external-html-page/comment-page-2/#comment-1950</link>
		<dc:creator>Shilin</dc:creator>
		<pubDate>Thu, 02 Sep 2010 15:10:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=11#comment-1950</guid>
		<description>Sorry for the double post; I forgot to use the code format so my linebreak html got eaten. But in the line I&#039;ve added, between the double quotation marks is supposed to be a br.</description>
		<content:encoded><![CDATA[<p>Sorry for the double post; I forgot to use the code format so my linebreak html got eaten. But in the line I&#8217;ve added, between the double quotation marks is supposed to be a br.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to add recent WordPress post exceprts on an external html page by Shilin</title>
		<link>http://www.jamischarles.com/blog/how-to-add-recent-wordpress-posts-on-an-external-html-page/comment-page-2/#comment-1949</link>
		<dc:creator>Shilin</dc:creator>
		<pubDate>Wed, 01 Sep 2010 19:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=11#comment-1949</guid>
		<description>Like some of the posters, originally I could not figure out how to preserve line breaks because I actually have very little coding knowledge. But I&#039;ve found the solution here: 

http://mu.wordpress.org/forums/topic/14096

The solution used is str_replace(). I&#039;ve looked through his code, then looked up the php manual and found that chr(13).chr(10) represents a line break. 

So after your line 15:
$blog_content = mysql_result($query_result, 0, &quot;post_content&quot;);  

I&#039;ve added this line: 
$blog_content=str_replace(chr(13).chr(10), &quot;&quot;, $blog_content);

which replaces those two characters with a line break, subsequently properly formatting the post. 

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Like some of the posters, originally I could not figure out how to preserve line breaks because I actually have very little coding knowledge. But I&#8217;ve found the solution here: </p>
<p><a href="http://mu.wordpress.org/forums/topic/14096" rel="nofollow">http://mu.wordpress.org/forums/topic/14096</a></p>
<p>The solution used is str_replace(). I&#8217;ve looked through his code, then looked up the php manual and found that chr(13).chr(10) represents a line break. </p>
<p>So after your line 15:<br />
$blog_content = mysql_result($query_result, 0, &#8220;post_content&#8221;);  </p>
<p>I&#8217;ve added this line:<br />
$blog_content=str_replace(chr(13).chr(10), &#8220;&#8221;, $blog_content);</p>
<p>which replaces those two characters with a line break, subsequently properly formatting the post. </p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to add recent WordPress post exceprts on an external html page by Reneé Le Vine</title>
		<link>http://www.jamischarles.com/blog/how-to-add-recent-wordpress-posts-on-an-external-html-page/comment-page-2/#comment-1947</link>
		<dc:creator>Reneé Le Vine</dc:creator>
		<pubDate>Fri, 25 Jun 2010 19:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=11#comment-1947</guid>
		<description>Hi there. I added your code to my site&#039;s index page so I could display post excerpts there but the post date display is not displaying. The &quot;more&quot; permalink is also not working even though I didn&#039;t change any of the permalink PHP. Plus I decided I did want the display to have some of the blog content, so I took out the &quot;strip the HTML&quot; tag and it didn&#039;t change anything. What should I do?</description>
		<content:encoded><![CDATA[<p>Hi there. I added your code to my site&#8217;s index page so I could display post excerpts there but the post date display is not displaying. The &#8220;more&#8221; permalink is also not working even though I didn&#8217;t change any of the permalink PHP. Plus I decided I did want the display to have some of the blog content, so I took out the &#8220;strip the HTML&#8221; tag and it didn&#8217;t change anything. What should I do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to add recent WordPress post exceprts on an external html page by Justin Moser</title>
		<link>http://www.jamischarles.com/blog/how-to-add-recent-wordpress-posts-on-an-external-html-page/comment-page-2/#comment-1946</link>
		<dc:creator>Justin Moser</dc:creator>
		<pubDate>Thu, 10 Jun 2010 13:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=11#comment-1946</guid>
		<description>Hiya,
I have used this code to great success on a client&#039;s site to display their latest blog post, however, a very strange thing has occured, using the EXACT code from this page, and from the WORKING client page, I have tried to replicate this on my own webpage:

http://www.baysickdesign.com/SiteTest/

however, now on my own server, I recieve these error messages:

Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /usr/home/w10134/domains/baysickdesign.com/public_html/SiteTest/index.php on line 17

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/home/w10134/domains/baysickdesign.com/public_html/SiteTest/index.php on line 23

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/home/w10134/domains/baysickdesign.com/public_html/SiteTest/index.php on line 24

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/home/w10134/domains/baysickdesign.com/public_html/SiteTest/index.php on line 25

Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/home/w10134/domains/baysickdesign.com/public_html/SiteTest/index.php on line 28

I am absolutley stumped as to why its working on one site but not my own!

Can anyone help with this? Thanks!

Justin</description>
		<content:encoded><![CDATA[<p>Hiya,<br />
I have used this code to great success on a client&#8217;s site to display their latest blog post, however, a very strange thing has occured, using the EXACT code from this page, and from the WORKING client page, I have tried to replicate this on my own webpage:</p>
<p><a href="http://www.baysickdesign.com/SiteTest/" rel="nofollow">http://www.baysickdesign.com/SiteTest/</a></p>
<p>however, now on my own server, I recieve these error messages:</p>
<p>Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /usr/home/w10134/domains/baysickdesign.com/public_html/SiteTest/index.php on line 17</p>
<p>Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/home/w10134/domains/baysickdesign.com/public_html/SiteTest/index.php on line 23</p>
<p>Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/home/w10134/domains/baysickdesign.com/public_html/SiteTest/index.php on line 24</p>
<p>Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/home/w10134/domains/baysickdesign.com/public_html/SiteTest/index.php on line 25</p>
<p>Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/home/w10134/domains/baysickdesign.com/public_html/SiteTest/index.php on line 28</p>
<p>I am absolutley stumped as to why its working on one site but not my own!</p>
<p>Can anyone help with this? Thanks!</p>
<p>Justin</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to add 5 full WordPress posts on an external html page by Schun Kamps</title>
		<link>http://www.jamischarles.com/blog/how-to-add-5-full-wordpress-posts-on-an-external-html-page/comment-page-2/#comment-1945</link>
		<dc:creator>Schun Kamps</dc:creator>
		<pubDate>Tue, 04 May 2010 07:24:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=18#comment-1945</guid>
		<description>Oh,,, Wow thank you very much. This help me a lot.</description>
		<content:encoded><![CDATA[<p>Oh,,, Wow thank you very much. This help me a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to add recent WordPress post exceprts on an external html page by Matt</title>
		<link>http://www.jamischarles.com/blog/how-to-add-recent-wordpress-posts-on-an-external-html-page/comment-page-2/#comment-1944</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 02 Apr 2010 09:42:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=11#comment-1944</guid>
		<description>Hi, I got this working, put when the posts are displayed on external page all formatting from the original post is lost?  I have to use ASCII character codes to get the text to display correctly?  Can any help?</description>
		<content:encoded><![CDATA[<p>Hi, I got this working, put when the posts are displayed on external page all formatting from the original post is lost?  I have to use ASCII character codes to get the text to display correctly?  Can any help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to add recent WordPress post exceprts on an external html page by http://www.mark-ellis.net/blog/2010/03/28/additions-to-the-site/ Additions to the site.</title>
		<link>http://www.jamischarles.com/blog/how-to-add-recent-wordpress-posts-on-an-external-html-page/comment-page-2/#comment-1942</link>
		<dc:creator>http://www.mark-ellis.net/blog/2010/03/28/additions-to-the-site/ Additions to the site.</dc:creator>
		<pubDate>Sun, 28 Mar 2010 17:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=11#comment-1942</guid>
		<description>[...] just by opening the first few offerings that google presented i come across this blog post &#8220;http://www.jamischarles.com/blog/how-to-add-recent-wordpress-posts-on-an-external-html-page/&#8221; from 2007 by Jamis Charles that was excellently written and 100% what i needed [...]</description>
		<content:encoded><![CDATA[<p>[...] just by opening the first few offerings that google presented i come across this blog post &#8220;http://www.jamischarles.com/blog/how-to-add-recent-wordpress-posts-on-an-external-html-page/&#8221; from 2007 by Jamis Charles that was excellently written and 100% what i needed [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to add 5 full WordPress posts on an external html page by lavsj</title>
		<link>http://www.jamischarles.com/blog/how-to-add-5-full-wordpress-posts-on-an-external-html-page/comment-page-2/#comment-1941</link>
		<dc:creator>lavsj</dc:creator>
		<pubDate>Tue, 16 Feb 2010 15:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=18#comment-1941</guid>
		<description>How does one strip the html tags from the wordpress post before bringing it into my external site. I want it to use the external sites&#039; css.</description>
		<content:encoded><![CDATA[<p>How does one strip the html tags from the wordpress post before bringing it into my external site. I want it to use the external sites&#8217; css.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to add recent WordPress post exceprts on an external html page by rhonda</title>
		<link>http://www.jamischarles.com/blog/how-to-add-recent-wordpress-posts-on-an-external-html-page/comment-page-2/#comment-1939</link>
		<dc:creator>rhonda</dc:creator>
		<pubDate>Sun, 24 Jan 2010 20:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=11#comment-1939</guid>
		<description>I know this is probably has an obvious answer but where or how do you find your database name.</description>
		<content:encoded><![CDATA[<p>I know this is probably has an obvious answer but where or how do you find your database name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to add recent WordPress post exceprts on an external html page by Nick</title>
		<link>http://www.jamischarles.com/blog/how-to-add-recent-wordpress-posts-on-an-external-html-page/comment-page-2/#comment-1938</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 22 Jan 2010 09:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.bluebreeze.net/blog/?p=11#comment-1938</guid>
		<description>Hi, I have also implemented this code and it works magic. Question? How do i get line breaks or paragraph to show as it is on the blog? better yet, how do i get a short form so that someone can click read more? 

As it is, it brings the entire post without line breaks.

Help.</description>
		<content:encoded><![CDATA[<p>Hi, I have also implemented this code and it works magic. Question? How do i get line breaks or paragraph to show as it is on the blog? better yet, how do i get a short form so that someone can click read more? </p>
<p>As it is, it brings the entire post without line breaks.</p>
<p>Help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
