<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Revolves &#187; Posting Snippets</title>
	<atom:link href="http://www.revolves.net/tag/posting-snippets/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.revolves.net</link>
	<description>Innovation</description>
	<lastBuildDate>Wed, 05 May 2010 14:30:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Posting Source Codes In WordPress</title>
		<link>http://www.revolves.net/2008/11/30/posting-source-codes-in-wordpress/</link>
		<comments>http://www.revolves.net/2008/11/30/posting-source-codes-in-wordpress/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 07:51:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Posting Snippets]]></category>

		<guid isPermaLink="false">http://www.revolves.net/?p=13</guid>
		<description><![CDATA[If you&#8217;re running some kind of a blog wherein you need to post source codes, snippets and stuff, you could run into problems. Now, this blog uses a plugin called SyntaxHighlighter. You can simply download and install the plugin as any other WordPress plugin, and you&#8217;re ready to post source codes. You just need to [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running some kind of a blog wherein you need to post source codes, snippets and stuff, you could run into problems. Now, this blog uses a plugin called <a href="http://wordpress.org/extend/plugins/syntaxhighlighter/" rel="nofollow">SyntaxHighlighter</a>. You can simply download and install the plugin as any other WordPress plugin, and you&#8217;re ready to post source codes.<br />
<span id="more-13"></span><br />
You just need to enclose your source code inside &#8216;sourcecode&#8217; BB Tag, also specifying the language (the instructions explain this), and you&#8217;re done. One good thing about this plugin is that the rendering is javascript based, so your server needn&#8217;t take great amount of load to get syntax highlighted.</p>
<p>Fortunately, you don&#8217;t even need to HTML encode your source code. Remember to disable your Visual Editor for best results. I don&#8217;t think the plugin specifies this, but after my bad experiences with it, I&#8217;ll think 100 times before switching it on.</p>
<p>Lastly, here&#8217;s an example of how it&#8217;d look,</p>
<pre class="brush: cpp;">
#include &lt;iostream&gt;

int main()
{
	cout&lt;&lt;&quot;It's working, isn't it?&quot;;
	return 0;
}</pre>
<p>Have a happy time blogging codes!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.revolves.net/2008/11/30/posting-source-codes-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.230 seconds -->
