<?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>JoshSalverda.com</title>
	<atom:link href="http://www.joshsalverda.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joshsalverda.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Sun, 08 Jan 2012 22:08:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>My new site :)</title>
		<link>http://www.joshsalverda.com/my-new-site/</link>
		<comments>http://www.joshsalverda.com/my-new-site/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 02:35:33 +0000</pubDate>
		<dc:creator>jsalverda</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.joshsalverda.com/?p=36</guid>
		<description><![CDATA[This is my latest attempt at design work and I think (or hope) it turned out pretty decent. I&#8217;m more impressed with the JavaScript code I wrote to validate my contact form and the WordPress plugin and JavaScript code to do this: The above uses a custom plugin called &#8220;Code Snippets&#8221; which lets me write and [...]]]></description>
			<content:encoded><![CDATA[<p>This is my latest attempt at design work and I think (or hope) it turned out pretty decent. I&#8217;m more impressed with the JavaScript code I wrote to validate my <a href="/contact/">contact form</a> and the WordPress plugin and JavaScript code to do this:</p>
<div class="code"><p><a href="/getSnippet/firstCodeSnippet/">Copy Code</a></p><pre class="prettyprint">&lt;html&gt;
	&lt;head&gt;
		&lt;title&gt;Showing Off Code Block&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;p&gt;Long line of text below so it stretches past the edge of the page&lt;/p&gt;
		&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tincidunt felis a neque tempor a lobortis mi pulvinar. Nam eget dictum ipsum. Morbi vel tortor odio.&lt;/p&gt;
	&lt;/body&gt;
&lt;/html&gt;</pre><textarea style="display: none;" rows="1" cols="1">&lt;html&gt;
	&lt;head&gt;
		&lt;title&gt;Showing Off Code Block&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;p&gt;Long line of text below so it stretches past the edge of the page&lt;/p&gt;
		&lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris tincidunt felis a neque tempor a lobortis mi pulvinar. Nam eget dictum ipsum. Morbi vel tortor odio.&lt;/p&gt;
	&lt;/body&gt;
&lt;/html&gt;</textarea></div>
<p>The above uses a custom plugin called &#8220;Code Snippets&#8221; which lets me write and save pieces of code. I then use Wordress&#8217;s <a href="http://codex.wordpress.org/Shortcode_API">Shortcode API</a> to call in each snippet. The code is coloured using <a href="http://code.google.com/p/google-code-prettify/">prettify</a> and custom JavaScript takes care of the copy code popup.</p>
<p>Overall I think it&#8217;s a pretty decent setup and I&#8217;m going to enjoy writing more posts about neat pieces of code I either write myself or find on the web.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.joshsalverda.com/my-new-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

