<?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>Redmonster &#187; Wordpress</title>
	<atom:link href="http://www.goredmonster.com/topics/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.goredmonster.com</link>
	<description>Agile Web Development</description>
	<lastBuildDate>Thu, 09 Jun 2011 21:09:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Tweet Button Plugin for WordPress</title>
		<link>http://www.goredmonster.com/wordpress/tweet-button-plugin-for-wordpress/</link>
		<comments>http://www.goredmonster.com/wordpress/tweet-button-plugin-for-wordpress/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 08:14:48 +0000</pubDate>
		<dc:creator>Paul Redmond</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.goredmonster.com/?p=414</guid>
		<description><![CDATA[I started working on a simple plugin for WordPress that will add Twitter&#8217;s new Tweet Button to a WordPress blog. Right now it&#8217;s barebones. I am planning on finishing up the initial options page and releasing it this weekend. You can give it a spin now or check it out on GitHub: http://github.com/paulredmond/TwitterButton-Wordpress-Plugin Tweet]]></description>
			<content:encoded><![CDATA[<p>I started working on a simple plugin for WordPress that will add Twitter&#8217;s new <a href="http://dev.twitter.com/pages/tweet_button">Tweet Button</a> to a WordPress blog.</p>
<p>Right now it&#8217;s barebones. I am planning on finishing up the initial options page and releasing it this weekend. You can give it a spin now or check it out on GitHub: <a href="http://github.com/paulredmond/TwitterButton-Wordpress-Plugin">http://github.com/paulredmond/TwitterButton-Wordpress-Plugin</a></p>

<!-- Start TwitterButton -->
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script><div class="twitter-button"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-url="http://www.goredmonster.com/wordpress/tweet-button-plugin-for-wordpress/" data-via="goredmonster" data-text="Tweet Button Plugin for WordPress">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.goredmonster.com/wordpress/tweet-button-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Official WordPress WP-EmailCrypt Plugin Page</title>
		<link>http://www.goredmonster.com/wordpress/plugins/official-wordpress-wp-emailcrypt-plugin-page/</link>
		<comments>http://www.goredmonster.com/wordpress/plugins/official-wordpress-wp-emailcrypt-plugin-page/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 05:54:28 +0000</pubDate>
		<dc:creator>Paul Redmond</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://www.goredmonster.com/?p=158</guid>
		<description><![CDATA[My first official WordPress plugin, Wp-EmailCrypt, is now live on Wordpress.org. Wp-EmailCrypt automatically converts email links into encrypted JavaScript code, and reduces the likelihood of emails being harvested.]]></description>
			<content:encoded><![CDATA[<p>My first official WordPress plugin, <a href="http://wordpress.org/extend/plugins/wp-emailcrypt/">Wp-EmailCrypt</a>, is now live on WordPress.org. Wp-EmailCrypt automatically converts email links into encrypted JavaScript code, and reduces the likelihood of emails being harvested.</p>
<p>This <script type="text/javascript">
/* <![CDATA[ */
function wp_enkoder(){var kode=
"kode=\")\\\'\\\'(nioj.)(esrever.)\\\'\\\'(tilps.edok=edok;\\\"kode=\\\"\\"+
"\\oked\\\\\\\\\\\"\\\\=\\\\\\\\\\\\\\\\)\\\\\\\\\\\\\\\\\\\\\\\\\\\'\\\\("+
"\\\\\\\\\\\'\\\\injo).e(rsvere).\\\\\\\\\\\'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+
"\'\\\\\\\\\\\\\\\\\\\\t(lispe.od=kdeko\\\\\\\\\\\\\\\\;d\\\\\\\\\\\"\\\\co"+
"mune.trwti(e\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+
"\\a<h er=f\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+
"\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\amlioth:le"+
"olg@rodeomsnet.roc\\\\\\\\\\\\\\\\m\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+
"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"\\\\>\\\\\\\\\\\\\\"+
"\\meia lilkn/<>a\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"+
"\\\\\\;)\\\\\\\\\\\"\\\\\\\\\\\\\\\\\\\\e=od\\\\\\\\\\\"\\\\kk;do=eokeds.l"+
"pti\\\\\\\\\\\'\\\\()\\\\\\\\\\\'\\\\r.verees)(j.io(n\\\\\\\\\\\'\\\\\\\\"+
"\\\\\\\'\\\\)\\\"\\\\;x=\\\'\\\\\\\'\\\\;for(i=0;i<(kode.length-1);i+=2){x"+
"+=kode.charAt(i+1)+kode.charAt(i)}kode=x+(i<kode.length?kode.charAt(kode.l"+
"ength-1):\\\'\\\\\\\'\\\\);\\\"=edok\";kode=kode.split(\'\').reverse().joi"+
"n(\'\')"
;var i,c,x;while(eval(kode));}wp_enkoder();
/* ]]&gt; */
</script> is an example of how it works (view source to see it in action).</p>
<p>I am also planning to release another plugin next week, that allows you to pull an RSS feed into your clients&#8217; dashboard. All your clients (that you install the plugin for) will see your latest RSS entries when they login to WordPress. My goal is to make it easier for WordPress developers to aggregate news to clients. You could roll out your own maintenance notices, or give them your 5 latest blog posts from your site! Stay tuned for more details <img src='http://www.goredmonster.com/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>If you like Wp-EmailCrypt, consider <a href="http://www.goredmonster.com/donate/wp-emailcrypt">donating</a>. Please let me know what you think! I need feedback to make this a solid plugin.</p>

<!-- Start TwitterButton -->
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script><div class="twitter-button"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-url="http://www.goredmonster.com/wordpress/plugins/official-wordpress-wp-emailcrypt-plugin-page/" data-via="goredmonster" data-text="Official WordPress WP-EmailCrypt Plugin Page">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.goredmonster.com/wordpress/plugins/official-wordpress-wp-emailcrypt-plugin-page/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>My New WordPress Plugin &#8211; Wp-Emailcrypt</title>
		<link>http://www.goredmonster.com/wordpress/my-new-wordpress-plugin-wp-emailcrypt/</link>
		<comments>http://www.goredmonster.com/wordpress/my-new-wordpress-plugin-wp-emailcrypt/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 08:03:40 +0000</pubDate>
		<dc:creator>Paul Redmond</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.goredmonster.com/?p=146</guid>
		<description><![CDATA[I finally got around to submitting my WordPress plugin for encrypting emails: <a href="http://www.goredmonster.com/projects/wp-emailcrypt/">Wp-Emailcrypt</a>. It should be on the official wordpress.org plugin site soon (if they approve it ;), but I would like anyone that uses WordPress to try it out. Let me know what you think.

<a href="http://www.goredmonster.com/projects/wp-emailcrypt/">http://www.goredmonster.com/projects/wp-emailcrypt/</a>]]></description>
			<content:encoded><![CDATA[<p>I finally got around to submitting my WordPress plugin for encrypting emails: <a href="http://www.goredmonster.com/projects/wp-emailcrypt/">Wp-Emailcrypt</a>. It should be on the official wordpress.org plugin site soon (if they approve it) <img src='http://www.goredmonster.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , but I would like anyone that uses WordPress to try it out. Let me know what you think.</p>
<p><a href="http://www.goredmonster.com/projects/wp-emailcrypt/">http://www.goredmonster.com/projects/wp-emailcrypt/</a></p>

<!-- Start TwitterButton -->
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script><div class="twitter-button"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-url="http://www.goredmonster.com/wordpress/my-new-wordpress-plugin-wp-emailcrypt/" data-via="goredmonster" data-text="My New WordPress Plugin &#8211; Wp-Emailcrypt">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.goredmonster.com/wordpress/my-new-wordpress-plugin-wp-emailcrypt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shrink your JavaScript/CSS in WordPress with PHP</title>
		<link>http://www.goredmonster.com/php/shrink-your-javascriptcss-in-wordpress-with-php/</link>
		<comments>http://www.goredmonster.com/php/shrink-your-javascriptcss-in-wordpress-with-php/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 08:33:53 +0000</pubDate>
		<dc:creator>Paul Redmond</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.goredmonster.com/wp/?p=30</guid>
		<description><![CDATA[I came across a very simple, yet elegant solution for shrinking JavaScript and CSS files with PHP. When large JavaScript frameworks are the order of the day, why not optimize? In this post I'll show you how to easily apply this script to your Wordpress theme; shrinking your CSS/JavaScript assets by around 300%! ]]></description>
			<content:encoded><![CDATA[<p>I came across a <a href="http://rakaz.nl/2006/12/make-your-pages-load-faster-by-combining-and-compressing-javascript-and-css-files.html">very simple, yet elegant solution</a> for shrinking JavaScript and CSS files with PHP. When large JavaScript frameworks are the order of the day, why not optimize? In this post I&#8217;ll show you how to easily apply this script to your <a href="http://wordpress.org">WordPress</a> theme; shrinking your CSS/JavaScript assets by around 300%! I intend on making a WordPress plugin that automates this process, but for now, this post will show you how to configure your own theme.</p>
<p>This site compresses MooTools to about 20kb (the original file with YUI Compression weighing in at 65kb). Check it out!</p>
<p><img class="alignnone size-full wp-image-71" title="JS File Compressed" src="http://www.goredmonster.com/wp/wp-content/uploads/2009/10/Picture-1.png" alt="JS File Compressed" width="552" height="135" /></p>
<h2>The Setup</h2>
<p>This will literally take minutes to integrate.</p>
<ol>
<li>Download the <a href="http://rakaz.nl/2006/12/make-your-pages-load-faster-by-combining-and-compressing-javascript-and-css-files.html">PHP script</a>.</li>
<li>Upload the file to your active WordPress Theme folder.</li>
<li>Create a folder called &#8220;cache&#8221; &#8211; <strong>Make sure this folder has proper permissions</strong></li>
<li>Create an .htaccess file in your theme folder.</li>
<li>Create a folder called &#8220;css&#8221;</li>
<li>Create a folder called &#8220;javascript&#8221;</li>
</ol>
<h2>Making it Work</h2>
<p>Insert the following code into your .htaccess file in your active theme. Make sure to replace RewriteBase with the absolute path to your theme folder where your combine.php script resides. Note that I made RewriteRule to be a relative path to combine.php:</p>
<pre>RewriteEngine On
RewriteBase /wp/wp-content/themes/yourtheme/
RewriteRule ^css/(.*\.css) combine.php?type=css&amp;files=$1
RewriteRule ^javascript/(.*\.js) combine.php?type=javascript&amp;files=$1</pre>
<p>You&#8217;re ready to link your Javascript and CSS files. As described on the authors site, you link your stylesheets and scripts by chaining with commas. Here is how it will look in your WordPress theme file:</p>
<pre>&lt;link rel="stylesheet" href="&lt;?php bloginfo('template_url'); ?&gt;/css/styles.css,
another.css,athird.css" type="text/css" media="screen" /&gt;

&lt;script src="&lt;?php bloginfo('template_url'); ?&gt;/javascript/jquery.js,
another.js,etc.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
<h2>Notes</h2>
<p>You need to consider script dependencies, and chain your scripts accordingly. Also, make sure your stylesheets are added in the correct order or you may notice some rules being overridden. Depending on your server configuration you might have to chmod your cache folder to 777. Confirm that your cache folder contains your cached files with a &#8216;.gzip&#8217; extension.</p>
<p>All CSS files are moved to the CSS folder in the theme. This goes against the WordPress convention of style.css in the theme&#8217;s main folder. I still have theme comment data for WordPress in my original <a href="http://www.goredmonster.com/wp/wp-content/themes/redmonster/style.css">style.css</a> file, but I don&#8217;t use it on my site.</p>
<p>Major hat-tip to <a href="http://rakaz.nl/">Niels Leenheer</a> for creating such a great script and simple solution.</p>

<!-- Start TwitterButton -->
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script><div class="twitter-button"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-url="http://www.goredmonster.com/php/shrink-your-javascriptcss-in-wordpress-with-php/" data-via="goredmonster" data-text="Shrink your JavaScript/CSS in WordPress with PHP">Tweet</a></div>]]></content:encoded>
			<wfw:commentRss>http://www.goredmonster.com/php/shrink-your-javascriptcss-in-wordpress-with-php/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

