<?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: Displaying HTML Source Code in Your Blog Posts</title>
	<atom:link href="http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/feed/" rel="self" type="application/rss+xml" />
	<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/</link>
	<description>WordPress news and updates from around the web.</description>
	<lastBuildDate>Thu, 27 Sep 2007 14:09:01 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: trk&#8217;s weblog / Online Spell Checker...</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151991</link>
		<dc:creator>trk&#8217;s weblog / Online Spell Checker...</dc:creator>
		<pubDate>Wed, 13 Jun 2007 13:23:57 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151991</guid>
		<description>[...] Cool. P.S. Should have known that, to display code in wordress, should have used htmlentities.Thanks.   Share and Enjoy: These icons link to social bookmarking sites where readers can share and [...]</description>
		<content:encoded><![CDATA[<p>[...] Cool. P.S. Should have known that, to display code in wordress, should have used htmlentities.Thanks.   Share and Enjoy: These icons link to social bookmarking sites where readers can share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Azmeen</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151258</link>
		<dc:creator>Azmeen</dc:creator>
		<pubDate>Wed, 16 May 2007 13:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151258</guid>
		<description>Just use a combination of both &lt;code&gt; and &lt; &gt;

For example:

&lt;code&gt;&lt;link rel=&#039;archives&#039; title=&#039;May 2007&#039; href=&#039;http://wordlog.com/archives/2007/05/&#039; /&gt;&lt;/code&gt;

Praying this works as I press the Submit Comment button ;)</description>
		<content:encoded><![CDATA[<p>Just use a combination of both &lt;code&gt; and &amp;lt; &amp;gt;</p>
<p>For example:</p>
<p><code>&lt;link rel='archives' title='May 2007' href='http://wordlog.com/archives/2007/05/' /&gt;</code></p>
<p>Praying this works as I press the Submit Comment button <img src='http://wordlog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OmegaMan</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151245</link>
		<dc:creator>OmegaMan</dc:creator>
		<pubDate>Tue, 15 May 2007 16:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151245</guid>
		<description>I am a developer that has to publish code snippets constantly in my blog. I have begun to use the tool Microsoft&#039;s Windows Live Writer (in beta at this time) which actually interfaces with WordPress! Its basic function as a blogging tool is excellent and I can post my blogs from it to WordPress and extract from the server to my local machine.

But when I combine it with a Code Snippet addin tool, I can blog about HTML, XML, and C#. It handles other languages as well. It also allows one to embed styles, alternate lines, enclose in a box...really a nice addin which makes using WLW to blog tech topics no longer a chore.

Here are the links. Microsoft plans to keep the WLW free after beta. Note the belows are all PC installs programs, so no need to figure out PHP commands or wordpress blog nuances.

WLW: http://windowslivewriter.spaces.live.com/
Code Snippet Add in: http://lvildosola.blogspot.com/2007/02/code-snippet-plugin-for-windows-live.html</description>
		<content:encoded><![CDATA[<p>I am a developer that has to publish code snippets constantly in my blog. I have begun to use the tool Microsoft&#8217;s Windows Live Writer (in beta at this time) which actually interfaces with WordPress! Its basic function as a blogging tool is excellent and I can post my blogs from it to WordPress and extract from the server to my local machine.</p>
<p>But when I combine it with a Code Snippet addin tool, I can blog about HTML, XML, and C#. It handles other languages as well. It also allows one to embed styles, alternate lines, enclose in a box&#8230;really a nice addin which makes using WLW to blog tech topics no longer a chore.</p>
<p>Here are the links. Microsoft plans to keep the WLW free after beta. Note the belows are all PC installs programs, so no need to figure out PHP commands or wordpress blog nuances.</p>
<p>WLW: <a href="http://windowslivewriter.spaces.live.com/" rel="nofollow">http://windowslivewriter.spaces.live.com/</a><br />
Code Snippet Add in: <a href="http://lvildosola.blogspot.com/2007/02/code-snippet-plugin-for-windows-live.html" rel="nofollow">http://lvildosola.blogspot.com/2007/02/code-snippet-plugin-for-windows-live.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: engtech</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151231</link>
		<dc:creator>engtech</dc:creator>
		<pubDate>Mon, 14 May 2007 18:55:31 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151231</guid>
		<description>@schuen: You still hit the smartquotes issue with using the visual editor.</description>
		<content:encoded><![CDATA[<p>@schuen: You still hit the smartquotes issue with using the visual editor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: engtech</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151230</link>
		<dc:creator>engtech</dc:creator>
		<pubDate>Mon, 14 May 2007 18:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151230</guid>
		<description>One thing you *have* to watch out for is those !@#@#!$ing smartquotes.

All code samples need to be:

- entity encoded
- put in a PRE tag

or all of your quotations will be turned into smartquotes (which are anything but) and will break for people who try to use their code samples.

Whoever thought converting quotes to smartquotes was a good idea should be raked over the coals.</description>
		<content:encoded><![CDATA[<p>One thing you *have* to watch out for is those !@#@#!$ing smartquotes.</p>
<p>All code samples need to be:</p>
<p>- entity encoded<br />
- put in a PRE tag</p>
<p>or all of your quotations will be turned into smartquotes (which are anything but) and will break for people who try to use their code samples.</p>
<p>Whoever thought converting quotes to smartquotes was a good idea should be raked over the coals.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: schuen</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151229</link>
		<dc:creator>schuen</dc:creator>
		<pubDate>Mon, 14 May 2007 18:50:45 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151229</guid>
		<description>Just write html code in the &quot;Visual&quot; editor in WordPress and you will get the encoded code automatically.</description>
		<content:encoded><![CDATA[<p>Just write html code in the &#8220;Visual&#8221; editor in WordPress and you will get the encoded code automatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lorelle</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151227</link>
		<dc:creator>Lorelle</dc:creator>
		<pubDate>Mon, 14 May 2007 15:46:46 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151227</guid>
		<description>Little problem with your example, Carthik. You forgot to encode the apostrophes and quote marks. This is really common and if the code is copied will break upon use.

I wrote about this and included converters and the actual code in &lt;a href=&quot;http://lorelle.wordpress.com/2007/02/04/wordpresscom-blog-bling-signatures-and-writing-code/&quot; title=&quot;Signatures and Writing Code&quot; rel=&quot;nofollow&quot;&gt;Blog Bling: Signatures and Writing Code&lt;/a&gt;, and did a bit of a review and listing of &lt;a href=&quot;http://lorelle.wordpress.com/2007/02/23/wordpress-plugins-that-help-you-write-code/&quot; title=&quot;WordPress Plugins That Help You Write Code&quot; rel=&quot;nofollow&quot;&gt;WordPress Plugins That Help You Write Code&lt;/a&gt; for those who do this all the time.</description>
		<content:encoded><![CDATA[<p>Little problem with your example, Carthik. You forgot to encode the apostrophes and quote marks. This is really common and if the code is copied will break upon use.</p>
<p>I wrote about this and included converters and the actual code in <a href="http://lorelle.wordpress.com/2007/02/04/wordpresscom-blog-bling-signatures-and-writing-code/" title="Signatures and Writing Code" rel="nofollow">Blog Bling: Signatures and Writing Code</a>, and did a bit of a review and listing of <a href="http://lorelle.wordpress.com/2007/02/23/wordpress-plugins-that-help-you-write-code/" title="WordPress Plugins That Help You Write Code" rel="nofollow">WordPress Plugins That Help You Write Code</a> for those who do this all the time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajay</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151225</link>
		<dc:creator>Ajay</dc:creator>
		<pubDate>Mon, 14 May 2007 13:40:47 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151225</guid>
		<description>I use Notepad++ for encoding the HTML code before I display it on my blog.</description>
		<content:encoded><![CDATA[<p>I use Notepad++ for encoding the HTML code before I display it on my blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WP_CodeShield :: Dammit Jim!</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151223</link>
		<dc:creator>WP_CodeShield :: Dammit Jim!</dc:creator>
		<pubDate>Mon, 14 May 2007 13:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151223</guid>
		<description>[...] the plugin most of the way done and then got distracted with other things. But after reading about another person having the same annoyance, I decided I should finish the [...]</description>
		<content:encoded><![CDATA[<p>[...] the plugin most of the way done and then got distracted with other things. But after reading about another person having the same annoyance, I decided I should finish the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Serge K. Keller</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151217</link>
		<dc:creator>Serge K. Keller</dc:creator>
		<pubDate>Mon, 14 May 2007 07:28:58 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151217</guid>
		<description>Don&#039;t take my word 100% on this, but if I remember well Markdown (and Textile) is &#039;parallel-compatible&#039; with HTML. If you activate Markdown, new posts written with it will show up fine and old posts written in HTML will show as they were before. But if you want to come back to HTML, you should leave Markdown activated or risk to see your markdown-written posts scrambled.

Can anyone confirm (or infirm) this?</description>
		<content:encoded><![CDATA[<p>Don&#8217;t take my word 100% on this, but if I remember well Markdown (and Textile) is &#8216;parallel-compatible&#8217; with HTML. If you activate Markdown, new posts written with it will show up fine and old posts written in HTML will show as they were before. But if you want to come back to HTML, you should leave Markdown activated or risk to see your markdown-written posts scrambled.</p>
<p>Can anyone confirm (or infirm) this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ozh</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151216</link>
		<dc:creator>Ozh</dc:creator>
		<pubDate>Mon, 14 May 2007 06:33:50 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151216</guid>
		<description>If you want to post code, be it HTML PHP or anything, your &lt;b&gt;just can&#039;t live&lt;/b&gt; with a plugin to do so. WP&#039;s formatting functions are uber annoying when you&#039;re dealing with code, and workaround like encoding entities, using markdown etc... are all but futureproof.

Recommended: http://blog.igeek.info/wp-plugins/igsyntax-hiliter/ or http://codex.wordpress.org/Plugins/Syntax_Highlighting</description>
		<content:encoded><![CDATA[<p>If you want to post code, be it HTML PHP or anything, your <b>just can&#8217;t live</b> with a plugin to do so. WP&#8217;s formatting functions are uber annoying when you&#8217;re dealing with code, and workaround like encoding entities, using markdown etc&#8230; are all but futureproof.</p>
<p>Recommended: <a href="http://blog.igeek.info/wp-plugins/igsyntax-hiliter/" rel="nofollow">http://blog.igeek.info/wp-plugins/igsyntax-hiliter/</a> or <a href="http://codex.wordpress.org/Plugins/Syntax_Highlighting" rel="nofollow">http://codex.wordpress.org/Plugins/Syntax_Highlighting</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carthik</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151215</link>
		<dc:creator>Carthik</dc:creator>
		<pubDate>Mon, 14 May 2007 05:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151215</guid>
		<description>Good point about the apostrophes and the quotes. 

Don&#039;t you have to start using Markdown from the very beginning to use it? Could I start using it now, say - what sense will it make of the older posts, and would it scramble stuff up by processing things that weren&#039;t written with Markdown in mind?</description>
		<content:encoded><![CDATA[<p>Good point about the apostrophes and the quotes. </p>
<p>Don&#8217;t you have to start using Markdown from the very beginning to use it? Could I start using it now, say &#8211; what sense will it make of the older posts, and would it scramble stuff up by processing things that weren&#8217;t written with Markdown in mind?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Clark</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151214</link>
		<dc:creator>Joe Clark</dc:creator>
		<pubDate>Mon, 14 May 2007 04:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151214</guid>
		<description>You can somewhat laboriously use ampersand 39 semicolon for neutral apostrophe and ampersand quot semicolon for neutral quote (or look up the numeric value thereof if you are concerned about XHTML purity). Your text editor can do a search-and-replace.</description>
		<content:encoded><![CDATA[<p>You can somewhat laboriously use ampersand 39 semicolon for neutral apostrophe and ampersand quot semicolon for neutral quote (or look up the numeric value thereof if you are concerned about XHTML purity). Your text editor can do a search-and-replace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankur</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151212</link>
		<dc:creator>Ankur</dc:creator>
		<pubDate>Mon, 14 May 2007 03:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151212</guid>
		<description>&lt;blockquote&gt;Or, if youâ€™re using Markdown like I am, just surround the code in backticks (`).&lt;/blockquote&gt;

I second that. I&#039;m using Markdown extra, and it&#039;s great!</description>
		<content:encoded><![CDATA[<blockquote><p>Or, if youâ€™re using Markdown like I am, just surround the code in backticks (`).</p></blockquote>
<p>I second that. I&#8217;m using Markdown extra, and it&#8217;s great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LcF</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151211</link>
		<dc:creator>LcF</dc:creator>
		<pubDate>Mon, 14 May 2007 03:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151211</guid>
		<description>try http://blog.igeek.info/wp-plugins/igsyntax-hiliter/</description>
		<content:encoded><![CDATA[<p>try <a href="http://blog.igeek.info/wp-plugins/igsyntax-hiliter/" rel="nofollow">http://blog.igeek.info/wp-plugins/igsyntax-hiliter/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankit</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151209</link>
		<dc:creator>Ankit</dc:creator>
		<pubDate>Mon, 14 May 2007 02:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151209</guid>
		<description>If you&#039;re using Emacs, just &lt;a href=&quot;http://www.emacswiki.org/cgi-bin/wiki/Htmlize&quot; rel=&quot;nofollow&quot;&gt;Htmlize&lt;/a&gt; the buffer - you get syntax highlighting as well.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re using Emacs, just <a href="http://www.emacswiki.org/cgi-bin/wiki/Htmlize" rel="nofollow">Htmlize</a> the buffer &#8211; you get syntax highlighting as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151208</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Mon, 14 May 2007 02:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151208</guid>
		<description>Or, if you&#039;re using Markdown like I am, just surround the code in backticks (`).</description>
		<content:encoded><![CDATA[<p>Or, if you&#8217;re using Markdown like I am, just surround the code in backticks (`).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151206</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Mon, 14 May 2007 01:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151206</guid>
		<description>It&#039;s a bit &quot;fancier&quot;, but I&#039;ve been using &lt;a href=&quot;http://blog.igeek.info/wp-plugins/igsyntax-hiliter/&quot; rel=&quot;nofollow&quot;&gt;iG:Syntax Hiliter&lt;/a&gt; for the last year or so and have been quite pleased with it.</description>
		<content:encoded><![CDATA[<p>It&#8217;s a bit &#8220;fancier&#8221;, but I&#8217;ve been using <a href="http://blog.igeek.info/wp-plugins/igsyntax-hiliter/" rel="nofollow">iG:Syntax Hiliter</a> for the last year or so and have been quite pleased with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Genkisan</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151205</link>
		<dc:creator>Genkisan</dc:creator>
		<pubDate>Mon, 14 May 2007 01:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151205</guid>
		<description>You can try the &lt;a href=&quot;http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/&quot; rel=&quot;nofollow&quot;&gt;Code Markup plugin&lt;/a&gt;. It display html codes &amp; singlequotes nicely ;)</description>
		<content:encoded><![CDATA[<p>You can try the <a href="http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/" rel="nofollow">Code Markup plugin</a>. It display html codes &amp; singlequotes nicely <img src='http://wordlog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jennifer</title>
		<link>http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/comment-page-1/#comment-151204</link>
		<dc:creator>Jennifer</dc:creator>
		<pubDate>Mon, 14 May 2007 00:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://wordlog.com/archives/2007/05/13/displaying-html-source-code-in-your-blog-posts/#comment-151204</guid>
		<description>I made a little plugin that adds a button to the post editing screen within wordpress. I need to update it because at the moment it only shows up when you&#039;re editing a post - not creating a new one. It&#039;s not a big fix. I&#039;ve just been lazy to fix it... &lt;a href=&quot;http://www.scriptygoddess.com/archives/2006/12/23/decoder-button/&quot; rel=&quot;nofollow&quot;&gt;Here&#039;s the post about the plugin.&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I made a little plugin that adds a button to the post editing screen within wordpress. I need to update it because at the moment it only shows up when you&#8217;re editing a post &#8211; not creating a new one. It&#8217;s not a big fix. I&#8217;ve just been lazy to fix it&#8230; <a href="http://www.scriptygoddess.com/archives/2006/12/23/decoder-button/" rel="nofollow">Here&#8217;s the post about the plugin.</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

