<?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>h4x3d.com &#187; code</title>
	<atom:link href="http://h4x3d.com/category/wordpress/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://h4x3d.com</link>
	<description>online portfolio of Julian Klewes</description>
	<lastBuildDate>Mon, 25 Jul 2011 13:18:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to remove W3 Total Cache html comment in footer</title>
		<link>http://h4x3d.com/how-to-remove-w3-total-cache-html-comment-in-footer/</link>
		<comments>http://h4x3d.com/how-to-remove-w3-total-cache-html-comment-in-footer/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 08:28:21 +0000</pubDate>
		<dc:creator>jz</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[credits]]></category>
		<category><![CDATA[footer]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[W3 Total Cache]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/?p=1417</guid>
		<description><![CDATA[I am not discussing whether it should be done or not, but just saying where to do it. W3 Total Cache is a great plugin and they surely deserve some SEO juice / kudos for their work, but I have seen questions unanswered on the net of people not knowing where to delete pieces of [...]]]></description>
			<content:encoded><![CDATA[<p><em>I am not discussing whether it should be done or not, but just saying where to do it.</em><br />
W3 Total Cache is a great plugin and they surely deserve some SEO juice / kudos for their work, but I have seen questions unanswered on the net of people not knowing where to delete pieces of comments that are inserted into their pages. Again, I am not touching the ethics of removing credits, but just offer the tools. Use as liked.</p>
<pre><code>/wp-content/plugins/w3-total-cache/lib/W3/Plugin/TotalCache.php</code></pre>
<p>and uncomment/change as desired.</p>
<p>from</p>
<pre><code>/wp-content/plugins/w3-total-cache/w3-total-cache.php</code></pre>
<p>you can find the lead (the references to the above mentioned file).<br />
find the lines using the search for the html comment&#8230; </p>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/how-to-remove-w3-total-cache-html-comment-in-footer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>So what&#8217;s going on with the site and in general?</title>
		<link>http://h4x3d.com/so-whats-going-on-with-the-site-and-in-general/</link>
		<comments>http://h4x3d.com/so-whats-going-on-with-the-site-and-in-general/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 07:19:47 +0000</pubDate>
		<dc:creator>jz</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[h4x3d.com]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[status]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/?p=1410</guid>
		<description><![CDATA[As regular visitors may have noticed there were only few (or no) updates to the site in the past few weeks (or months). This was primarily due to the fact that most of my time was soaked up with finishing my diploma thesis. I have now successfully graduated from university and will be entering &#8220;business&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>As regular visitors may have noticed there were only few (<em>or no</em>) updates to the site in the past few weeks (<em>or months</em>).<br />
This was primarily due to the fact that most of my time was soaked up with finishing my diploma thesis.<br />
I have now successfully graduated from university and will be entering &#8220;business&#8221; in October this year.<br />
In the meantime I plan to simplify this site and update most of the 700 posts.<br />
My advertisement revenue is down from previous 900 $ USD to a laughable 11 $ USD a month, while the number of visitors has just slightly declined from 10,500 (daily) to 5,000  (okay that&#8217;s a 50% drop, but still). The drop in ad revenue is also explained with the new theme that I introduced in December 2009. It is, as I may have to admit, too confusing and too colourful/image heavy.<br />
Many preferred the white theme before (2007 to 2009). In that sense I will try to do a good job in coming up with a real simple and user-friendly design. After all this site is not primarily for me, but for you. Also, I need to fix the download links and generally links that link-out. I will pay more attention to comments. For all the trouble and lack of updates I am sorry. Stay posted and keep the comments coming.</p>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/so-whats-going-on-with-the-site-and-in-general/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Mu embed not working for youtube, input, code, etc.</title>
		<link>http://h4x3d.com/wordpress-mu-embed-not-working-for-youtube-input-code-etc/</link>
		<comments>http://h4x3d.com/wordpress-mu-embed-not-working-for-youtube-input-code-etc/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 20:16:32 +0000</pubDate>
		<dc:creator>jz</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[includes]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[unfiltered]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[wordpress mu]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/?p=1402</guid>
		<description><![CDATA[Today I wanted to publish a real quick post about how to embed a paypal button into your wordpress post. A topic that has been covered many times elsewhere (if you consult google), but yet many paypal buttons failed to hide the merchant&#8217;s email address which would result in evil spam to be sent. Anyhow, [...]]]></description>
			<content:encoded><![CDATA[<p>Today I wanted to publish a real quick post about how to embed a paypal button into your wordpress post. A topic that has been covered many times elsewhere (if you consult google), but yet many paypal buttons failed to hide the merchant&#8217;s email address which would result in evil spam to be sent. Anyhow, I thought posting this quick article would take max 5 minutes or so, but it turned out to be more difficult: WordPress MU for security purposes does not allow specific HTML code to be included in posts or pages.<br />
This is for security reasons, as mentioned before, because in a multi-blog environment people could post all sorts of crap to compromise your site, server and work, ultimately driving you nuts and causing all sorts of havoc.</p>
<p>After some Googling <a href="http://www.clickonf5.org/wordpress-mu/youtube-other-video-not-embedding-wordpress-mu/5820">I</a> <a href="http://mu.wordpress.org/forums/topic/1964?replies=6">found</a> <a href="http://mu.wordpress.org/forums/topic/1964/page/2#post-46843">several</a> <a href="http://blogs.voxeo.com/behindtheblog/2008/08/01/tip-how-to-modify-wordpress-mu-to-allow-embed-objects-specifically-for-slideshare/">interesting</a> <a href="http://php-princess.net/2009/06/16/embedding-youtube-videos-in-wordpress-mu/">articles</a>, <a href="http://kafekafe.com/wordpress-mu/2009/06/24/wordpress-mu-embed-code/">most</a> of <a href="http://www.darkavenger.co.uk/words/2009/09/get-youtube-videos-to-work-in-wordpress-mu/">them</a> repeated themselves and said &#8220;well.. edit the ksas.php file in wp-includes&#8221; and then stated a long-list with many interesting HTML pieces. This works, but a plugin is more fancy I thought: so I googled on and found a plugin called <a href="http://wordpress.org/extend/plugins/unfiltered-mu/">&#8220;unfiltered&#8221; content WordPress MU</a>, released by the WordPress guys. This is in so far cool, as you can either stick it in the mu-plugins folder and have it sidewide, or in the regular plugins folder and just activate it on a blog by blog basis. Since I am running this WordPress MU installation on my own and do not have posts to monitor for &#8220;havoc causing script includes&#8221;, I decided to go for the plugin and enable it side-wide. This way I can upgrade my wordpress mu next time a new version comes out and keep my sanity (because by then I would probably have forgotten about the includes folder and the php file that I need to update every time&#8230;)</p>
<p>Hope this helps,<br />
best,<br />
jez</p>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/wordpress-mu-embed-not-working-for-youtube-input-code-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding a paypal button to your wordpress page</title>
		<link>http://h4x3d.com/adding-a-paypal-button-to-your-wordpress-page/</link>
		<comments>http://h4x3d.com/adding-a-paypal-button-to-your-wordpress-page/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 15:39:23 +0000</pubDate>
		<dc:creator>jz</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[donate]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[paypal]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/?p=1398</guid>
		<description><![CDATA[update: f§*king wordpress mu won&#8217;t let me enter tags in my posts. I have tried the wordpress RAW plugin and other filters, but still. more updates on this tomorrow -> solution There are different approaches to doing this (adding a paypal button to your wordpress page, or any html or php website): You can copy&#38;paste [...]]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.h4x3d.com/wordpress-mu-embed-not-working-for-youtube-input-code-etc/">update: f§*king wordpress mu won&#8217;t let me enter  tags in my posts. I have tried the wordpress RAW plugin and other filters, but still. more updates on this tomorrow -> solution</a></strong></p>
<p>There are different approaches to doing this (adding a paypal button to your wordpress page, or any html or php website):</p>
<p>You can copy&amp;paste the code you find on most pages and wonder why you get really a lot of spam emails<br />
or you can use the &#8220;secure merchant id&#8221; code from paypal<br />
or you can grab a plugin at wordpress.org</p>
<p>To explain the first (revealing code)</p>
<pre><span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>form</span> <span style=' color: Red;'>name</span>=”_xclick” <span style=' color: Red;'>action</span>=”https://www.paypal.com/cgi-bin/webscr” <span style=' color: Red;'>method</span>=”post”<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>input</span> <span style=' color: Red;'>type</span>=”hidden” <span style=' color: Red;'>name</span>=”cmd” <span style=' color: Red;'>value</span>=”_xclick”/<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>input</span> <span style=' color: Red;'>type</span>=”hidden” <span style=' color: Red;'>name</span>=”business” <span style=' color: Red;'>value</span>=”user@spam-me-please.com”/<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>input</span> <span style=' color: Red;'>type</span>=”hidden” <span style=' color: Red;'>name</span>=”item_name” <span style=' color: Red;'>value</span>=”Customer Service”/<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>input</span> <span style=' color: Red;'>type</span>=”hidden” <span style=' color: Red;'>name</span>=”currency_code” <span style=' color: Red;'>value</span>=”USD”/<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>input</span> <span style=' color: Red;'>type</span>=”hidden” <span style=' color: Red;'>name</span>=”amount” <span style=' color: Red;'>value</span>=”1.00″/<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>input</span> <span style=' color: Red;'>type</span>=”image” <span style=' color: Red;'>src</span>=”http://www.paypal.com/en_US/i/btn/btn_donate_LG.gif” <span style=' color: Red;'>border</span>=”0″ <span style=' color: Red;'>name</span>=”submit” <span style=' color: Red;'>alt</span>=”Make payments with PayPal - it’s fast, free and secure!”/<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span>/<span style=' color: Maroon;'>form</span><span style=' color: Blue;'>&gt;</span></pre>
<p>While this has its advantages: you can easily specify the parameters, it also has the problem that your email address is very likely to be scraped and spammed by bots. So next time you receive one of those fake paypal &#8220;you need to click here to reactivate your account&#8221; emails&#8230; guess why you are receiving it.</p>
<p>I use the second version, the paypal secured id, because I am not too keen to exposing (any) email address to spam bots. The code below will generate a paypal button with my id in it. To change that or to get your code you need to login to paypal and get it from the merchant tab. Or you can enter &#8220;paypal button&#8221; in the search field top right of the page.</p>
<p>2) Click on Merchant services.<br />
3) Click on websites payment standards.<br />
4) Click on accept contributions.<br />
5) Click on get donation button.</p>
<pre><span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>form</span> <span style=' color: Red;'>action</span>="<span style=' color: Blue;'>https://www.paypal.com/cgi-bin/webscr</span>" <span style=' color: Red;'>method</span>="<span style=' color: Blue;'>post</span>"<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>input</span> <span style=' color: Red;'>type</span>="<span style=' color: Blue;'>hidden</span>" <span style=' color: Red;'>name</span>="<span style=' color: Blue;'>cmd</span>" <span style=' color: Red;'>value</span>="<span style=' color: Blue;'>_s-xclick</span>"/<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>input</span> <span style=' color: Red;'>type</span>="<span style=' color: Blue;'>hidden</span>" <span style=' color: Red;'>name</span>="<span style=' color: Blue;'>hosted_button_id</span>" <span style=' color: Red;'>value</span>="<span style=' color: Blue;'>10155388</span>"/<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span><span style=' color: Maroon;'>input</span> <span style=' color: Red;'>type</span>="<span style=' color: Blue;'>image</span>" <span style=' color: Red;'>src</span>="<span style=' color: Blue;'>https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif</span>" <span style=' color: Red;'>style</span>="<span style=' color: Blue;'>width: 100px; float: right;</span>" <span style=' color: Red;'>border</span>="<span style=' color: Blue;'>0</span>" <span style=' color: Red;'>name</span>="<span style=' color: Blue;'>submit</span>" <span style=' color: Red;'>alt</span>="<span style=' color: Blue;'>PayPal - The safer, easier way to pay online!</span>"/<span style=' color: Blue;'>&gt;</span>
<span style=' color: Blue;'>&lt;</span>/<span style=' color: Maroon;'>form</span><span style=' color: Blue;'>&gt;</span></pre>
<p>And now to the fun part actually: you will not be able to copy and paste the code(s) mentioned above, because wordpress will strip the input fields and nothing will display. So unless you are putting this code into your template (e.g. by including it in a separate php file), it won&#8217;t work, I believe.</p>
<p>You can however grab a wordpress plugin, like this <a href="http://wordpress.org/extend/plugins/paypal-donations/">paypal plugin</a> to help you out.</p>
<p>Also of help &#8211; this support post at <a href="http://en.forums.wordpress.com/topic/adding-a-custom-paypal-link-easy-as-1-2-3?replies=7">wordpress</a></p>
<p>hope this helps anyone,<br />
best,<br />
jez</p>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/adding-a-paypal-button-to-your-wordpress-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Got Rainbow Feather javascript error?</title>
		<link>http://h4x3d.com/got-rainbow-feather-javascript-error/</link>
		<comments>http://h4x3d.com/got-rainbow-feather-javascript-error/#comments</comments>
		<pubDate>Wed, 20 Feb 2008 20:16:47 +0000</pubDate>
		<dc:creator>jez</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[feather]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[rainbow]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/got-rainbow-feather-javascript-error/</guid>
		<description><![CDATA[first of all, get rid of the following two things in the header.php: window.onload = function() { new SmoothScroll({duration:2000}); } because if you use lightbox (with prototype it does not play along that well.) if you want to use lightbox with moo, you should use slimbox the file (feather.zip) comes with different headers: one for [...]]]></description>
			<content:encoded><![CDATA[<p>first of all, get rid of the following two things in the header.php:</p>
<pre><code>

window.onload = function() {
new SmoothScroll({duration:2000});
}
</code></pre>
<p>because if you use lightbox (with prototype it does not play along that well.)<br />
if you want to use lightbox with moo,<br />
you should use slimbox</p>
<p>the file (feather.zip) comes with different headers:<br />
one for slimbox and moo.tools (smallest) default install<br />
one for lightbox (no moo.tools) bigger</p>
<p>also, see the manual.</p>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/got-rainbow-feather-javascript-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Coppermine SVN (or upgrade/update)</title>
		<link>http://h4x3d.com/install-coppermine-svn-or-upgradeupdate/</link>
		<comments>http://h4x3d.com/install-coppermine-svn-or-upgradeupdate/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 10:30:53 +0000</pubDate>
		<dc:creator>jez</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[coppermine]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/install-coppermine-svn-or-upgradeupdate/</guid>
		<description><![CDATA[Uploading and Installing Coppermine is really is a time-consuming task &#8211; not if you can use subversion from the box and simply type: svn co https://coppermine.svn.sourceforge.net/svnroot/coppermine coppermine but just to be better safe than sorry I&#8217;d go for svn co https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/ coppermine because this is the version that is currently being worked and developed on. [...]]]></description>
			<content:encoded><![CDATA[<p>Uploading and Installing Coppermine is really is a time-consuming task &#8211; not if you can use subversion from the box and simply type:</p>
<pre><code>svn co https://coppermine.svn.sourceforge.net/svnroot/coppermine coppermine</code></pre>
<p>but just to be better safe than sorry I&#8217;d go for</p>
<pre><code>svn co https://coppermine.svn.sourceforge.net/svnroot/coppermine/trunk/cpg1.4.x/ coppermine</code></pre>
<p>because this is the version that is currently being worked and developed on.<br />
As by the day of writing this, the most recent security release (patch) is only 3 days old- so there is work in progress.</p>
<p>I was not able (yet) to find out the real difference between coppermine 1.4 and 1.5 (or coppermine 1.4.x and 1.5.x) &#8211; usually higher numbers are better- right?</p>
<p>somehow though, it seems like the coppermine 1.4.x version is the only actively maintained and supported one (generally speaking in terms of themes and plugins and other fancy gadgets such as bridges to WordPress etc).</p>
<p>If you know anything new, please leave a comment!</p>
<p><img src='http://www.h4x3d.com/wp-content/uploads/svn_coppermine.gif' alt='svn coppermine install' /></p>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/install-coppermine-svn-or-upgradeupdate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Year, update copyright script/code php</title>
		<link>http://h4x3d.com/new-year-update-copyright-scriptcode-php/</link>
		<comments>http://h4x3d.com/new-year-update-copyright-scriptcode-php/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 14:07:03 +0000</pubDate>
		<dc:creator>jez</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[new year]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[year]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/new-year-update-copyright-scriptcode-php/</guid>
		<description><![CDATA[I always laugh at sites that have &#8220;old&#8221; copyright information on them and I almost forgot to update mine. No-longer shall I be doing that with thanks to PHPÂ´s little helper in form of the following one-line (I call it) &#8220;New Year Update Copyright script&#8221; in PHP: What it does is quite obvious: it outputs [...]]]></description>
			<content:encoded><![CDATA[<p>I always laugh at sites that have &#8220;old&#8221; copyright information on them and I almost forgot to update mine.<br />
No-longer shall I be doing that with thanks to PHPÂ´s little helper in form of the following one-line (I call it) &#8220;New Year Update Copyright script&#8221; in PHP:</p>
<pre><code></code></pre>
<p>What it does is quite obvious: it outputs the current year, so for instance you could have it say:<br />
(c) 2006 &#8211; (php block here)</p>
<p>this would render (c) 2006 &#8211; 2008</p>
<p>- hope this helps anyone.<br />
Now as I look at this issue, I wonder if I was smart enough to build that into all my themes. If not, I got some revising to do after I have finished my next exam in January (11th).</p>
<p><em>Update:</em> bleh I put</p>
<pre><code></code></pre>
<p>in pretty much all my themes, which is stupid I fear &#8211; but for now it is noted on my to-do list and will be sorted out with the next wave of updates!</p>
<p><em>Update:</em> <a href="http://lorelle.wordpress.com/2007/09/03/displaying-the-date-in-your-wordpress-theme/">Lorelle</a> put the_time(); too, so I guess I might as well leave it like that.</p>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/new-year-update-copyright-scriptcode-php/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>how-to tar.gz a directory</title>
		<link>http://h4x3d.com/how-to-targz-a-directory/</link>
		<comments>http://h4x3d.com/how-to-targz-a-directory/#comments</comments>
		<pubDate>Thu, 18 Oct 2007 20:53:48 +0000</pubDate>
		<dc:creator>jez</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[tar.gz]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/how-to-targz-a-directory/</guid>
		<description><![CDATA[Do you know the following situation- You are downloading thousands of (small) files from your ftp (server) and it is annoyingly slow and time consuming&#8230; If you have shell access to your server, e.g. you can use Putty, logon and cd to your file directory (often httpdocs or www) and execute the following code: tar [...]]]></description>
			<content:encoded><![CDATA[<p>Do you know the following situation- You are downloading thousands of (small) files from your ftp (server) and it is annoyingly slow and time consuming&#8230; If you have shell access to your server, e.g. you can use Putty, logon and cd to your file directory (often httpdocs or www) and execute the following code:</p>
<p><em>tar -pczf fatfile.tar.gz *</em></p>
<p>This will create a tar.hz archive with the name of fatfile.tar.gz<br />
It will include all files of the current directory and all sub-directories.</p>
<p>Now you can easily download this file instead of many small files (as experienced before).<br />
If you don&#8217;t have shell access (look- even Dreamhost offers this feature for $6,95/month),<br />
you might consider getting your own <a href="http://control.zone.net/aff.php?aff=009">Virtual Private Server</a> as I did.</p>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/how-to-targz-a-directory/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SEO: WordPress Search with Permalink structure</title>
		<link>http://h4x3d.com/seo-wordpress-search-with-permalink-structure/</link>
		<comments>http://h4x3d.com/seo-wordpress-search-with-permalink-structure/#comments</comments>
		<pubDate>Fri, 31 Aug 2007 07:16:28 +0000</pubDate>
		<dc:creator>jez</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[permalinks]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[seo]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/seo-wordpress-search-with-permalink-structure/</guid>
		<description><![CDATA[Ever wondered how you could transfer any searches from ?s=TERM to /search/TERM , then read below or visit Alex King&#8217;s approach. This is too good to not report on, so for personal archiving reasons, I have put Alex&#8217; Code below: To your .htaccess file add: RewriteRule ^search/(.+)?$ /index.php?s=$1 [QSA,L] In your theme, look out for [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wondered how you could transfer any searches from ?s=TERM to /search/TERM , then read below or visit <a href="http://alexking.org/blog/2007/08/30/friendly-search-urls">Alex King&#8217;s approach</a>.</p>
<p>This is too good to not report on, so for personal archiving reasons, I have put Alex&#8217; Code below:<br />
<span id="more-858"></span><br />
<em>To your .htaccess file add:</em></p>
<pre><code>
RewriteRule ^search/(.+)?$ /index.php?s=$1 [QSA,L]
</code></pre>
<p><em>In your theme, look out for search.php or similar and change the form field to:</em></p>
<pre><code>
&lt;form action=&quot;;/index.php" method="get" onsubmit="location.href='/search/' + encodeURIComponent(this.s.value).replace(/%20/g, '+'); return false;"&gt;
</form>

</code></pre>
<p><em>This is it, you are done!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/seo-wordpress-search-with-permalink-structure/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Show code on wordpress css</title>
		<link>http://h4x3d.com/show-code-on-wordpress-css/</link>
		<comments>http://h4x3d.com/show-code-on-wordpress-css/#comments</comments>
		<pubDate>Wed, 22 Aug 2007 06:54:10 +0000</pubDate>
		<dc:creator>jez</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.h4x3d.com/show-code-on-wordpress-css/</guid>
		<description><![CDATA[Hi, one of the people commenting here asked for a way of displaying code in one of my themes. For ages I have been using the following code and it worked flawless in connection with the code markup plugin for wordpress: .primary pre#hack { white-space: pre-wrap; /* css-3 */ white-space: -moz-pre-wrap !important; /* Mozilla, since [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, one of the people commenting here asked for a way of displaying code in one of my themes.<br />
For ages I have been using the following code and it worked flawless in connection with the code <a href="http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/">markup plugin</a> for wordpress:</p>
<pre><code>
.primary pre#hack {
		white-space: pre-wrap;		/* css-3 */
		white-space: -moz-pre-wrap !important;		/* Mozilla, since 1999 */
		white-space: -pre-wrap;		/* Opera 4-6 */
		white-space: -o-pre-wrap;	/* Opera 7 */
		word-wrap: break-word;		/* Internet Explorer 5.5+ */
}

.primary pre {
  overflow: auto;
  cursor:pointer;
  position:relative;
}

.primary pre code {
  display: block;
  margin:10px;
  padding:4px;
  border:1px solid #ddd;
  background:#F5F5F5;
  font:10px Lucida Sans Typewriter, Courier, monospace;
}
</code></pre>
<pre><code>.primary can be changed to what you need, e.g. .post or .entry</code></pre>
<p><strong>Usage within WordPress</strong><br />
Simply go to the &#8220;code&#8221; editor of WordPress and paste your code.<br />
Surround it by a
<pre> and <code> tag and add the id of "hack" to the
<pre>.
(
<pre><code> stuff here </code> </pre>
]]></content:encoded>
			<wfw:commentRss>http://h4x3d.com/show-code-on-wordpress-css/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

