<?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>PHP Scripts and Programming&#187; WordPress Plugins</title>
	<atom:link href="http://www.warkensoft.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.warkensoft.com</link>
	<description>PHP scripts, programs and downloads for use by webmasters around the world.</description>
	<lastBuildDate>Thu, 14 Apr 2011 05:57:43 +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>AmazonFeed 2.1 Released</title>
		<link>http://www.warkensoft.com/2011/04/amazonfeed-2-1-released/</link>
		<comments>http://www.warkensoft.com/2011/04/amazonfeed-2-1-released/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 05:57:43 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AmazonFeed Blog]]></category>
		<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/?p=428</guid>
		<description><![CDATA[I have finally released AmazonFeed v. 2.1. While not a major release, it updates the code to be compatible with WordPress 3.1.1 and fixes a few minor bugs. One bug for example would prevent your custom Amazon tags from being saved in certain situations. This has now been fixed. Hope you enjoy the plugin. If [...]]]></description>
			<content:encoded><![CDATA[<p>I have finally released AmazonFeed v. 2.1.  While not a major release, it updates the code to be compatible with WordPress 3.1.1 and fixes a few minor bugs.  One bug for example would prevent your custom Amazon tags from being saved in certain situations.  This has now been fixed.  Hope you enjoy the plugin.  If you have questions or comments, feel free to leave them in the comments associated with this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2011/04/amazonfeed-2-1-released/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Beware of Thieves like AmazonPress</title>
		<link>http://www.warkensoft.com/2010/04/beware-of-thieves-like-amazonpress/</link>
		<comments>http://www.warkensoft.com/2010/04/beware-of-thieves-like-amazonpress/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 16:14:32 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AmazonFeed Blog]]></category>
		<category><![CDATA[Information]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Programming]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/?p=380</guid>
		<description><![CDATA[I was recently made aware of a couple of plugin thieves who have taken my code, rebranded it as their own (calling it AmazonPress), redirected the tip to themselves, and made it mandatory rather than optional with no notice to the website owner. In my opinion this constitutes theft from both myself as well as [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently made aware of a couple of plugin thieves who have taken my code, rebranded it as their own (calling it AmazonPress), redirected the tip to themselves, and made it mandatory rather than optional with no notice to the website owner.  In my opinion this constitutes theft from both myself as well as their clients/victims.  By not giving credit to me as the original author they are also in violation of the terms of the GPL.</p>
<p><strong>From their site:</strong> <em>&#8220;We have been online for about 4 years now, we decided to jump in and create an open source plugin for wordpress, it seems there is a need for an amazon plugin that actually works properly, so we decided to go ahead and develop one. Soon to come we will be creating new and awesome plugins.&#8221;</em></p>
<p>If you&#8217;re a plugin developer, you better watch out because they might be &#8220;creating&#8221; your plugin next!  If you already use their plugin, you may want to consider another option as they are stealing your commissions without your knowledge or consent.  May I recommend <a href="http://www.warkensoft.com/php-downloads/amazonfeed-wordpress-plugin/">the original AmazonFeed</a>?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2010/04/beware-of-thieves-like-amazonpress/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>AmazonFeed v1.9 Released</title>
		<link>http://www.warkensoft.com/2009/12/amazonfeed-v1-9-released/</link>
		<comments>http://www.warkensoft.com/2009/12/amazonfeed-v1-9-released/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 05:59:33 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AmazonFeed Blog]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/?p=334</guid>
		<description><![CDATA[I&#8217;m happy to announce I have completed work on AmazonFeed v. 1.9.  This version includes some very cool features including: Ability to sort the order in which products appear sitewide we well as customizing the sort order on individual posts. Ability to choose where the products appear on the posts/pages, whether below (default) or above [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m happy to announce I have completed work on AmazonFeed v. 1.9.  This version includes some very cool features including:</p>
<ul>
<li>Ability to sort the order in which products appear sitewide we well as customizing the sort order on individual posts.</li>
<li>Ability to choose where the products appear on the posts/pages, whether below (default) or above the post content.</li>
<li>Ability to choose whether or not specific products are displayed in association with individual keywords.  You can block specific products on the cache control page.</li>
</ul>
<p>Hope you like this new version.  You can <a href="http://wordpress.org/extend/plugins/amazonfeed/">download it from WordPress.org</a>.  I&#8217;d love to hear your thoughts in the comments area below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2009/12/amazonfeed-v1-9-released/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>AmazonFeed Security Updates</title>
		<link>http://www.warkensoft.com/2009/07/amazonfeed-security-updates/</link>
		<comments>http://www.warkensoft.com/2009/07/amazonfeed-security-updates/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 18:07:45 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AmazonFeed Blog]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[amazonfeed]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/?p=240</guid>
		<description><![CDATA[I am happy to announce that I have upgraded AmazonFeed to support the new Amazon security requirements coming into place on Aug. 15&#8242;th.  If you are currently using AmazonFeed v. 1.3 or lower, you will want to upgrade to 1.4 or higher before Aug. 15, in order to continue displaying Amazon products on your site [...]]]></description>
			<content:encoded><![CDATA[<p>I am happy to announce that I have upgraded AmazonFeed to support the new Amazon security requirements coming into place on Aug. 15&#8242;th.  If you are currently using AmazonFeed v. 1.3 or lower, you will want to upgrade to 1.4 or higher before Aug. 15, in order to continue displaying Amazon products on your site using this plugin.</p>
<p>You can <a href="http://www.warkensoft.com/products/amazonfeed-wordpress-plugin/">read more about or download AmazonFeed on this page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2009/07/amazonfeed-security-updates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Link Directory Plugin Work</title>
		<link>http://www.warkensoft.com/2009/04/link-directory-plugin-work/</link>
		<comments>http://www.warkensoft.com/2009/04/link-directory-plugin-work/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 04:18:50 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/?p=206</guid>
		<description><![CDATA[Lately I've been spending a lot of late evenings working on a new WordPress plugin called "Link Directory".  Essentially it will allow the blog owner to run a link directory/portal on their WordPress blog without too much management headache.  Though I am still working out the rough spots, I already have it running here on this blog, replacing the old LinkDirectory hack I had built.  Feel free to <a href="http://www.warkensoft.com/link-directory/">browse around or suggest other links/categories</a>.



I've posted some screenshots of the administrative interface below.  I would love to hear some feedback on it as well as any suggestions you might have.]]></description>
			<content:encoded><![CDATA[<p>Lately I&#8217;ve been spending a lot of late evenings working on a new WordPress plugin called &#8220;Link Directory&#8221;.  Essentially it will allow the blog owner to run a link directory/portal on their WordPress blog without too much management headache.  Though I am still working out the rough spots, I already have it running here on this blog, replacing the old LinkDirectory hack I had built.  Feel free to <a href="http://www.warkensoft.com/link-directory/">browse around or suggest other links/categories</a>.</p>
<p>I&#8217;ve posted some screenshots of the administrative interface below.  I would love to hear some feedback on it as well as any suggestions you might have.  Feel free to post thoughts below.</p>
<p><strong>Administrative Screenshots:</strong></p>
<div id="attachment_208" class="wp-caption alignnone" style="width: 310px"><strong><strong><a href="http://www.warkensoft.com/wp-content/uploads/2009/04/screenshot_25.png"><img class="size-medium wp-image-208" title="Administrative Dashboard" src="http://www.warkensoft.com/wp-content/uploads/2009/04/screenshot_25-300x204.png" alt="Administrative Dashboard" width="300" height="204" /></a></strong></strong><p class="wp-caption-text">Administrative Dashboard</p></div>
<div id="attachment_209" class="wp-caption alignnone" style="width: 310px"><strong><strong><a href="http://www.warkensoft.com/wp-content/uploads/2009/04/screenshot_26.png"><img class="size-medium wp-image-209" title="Administrative Sub-Category View" src="http://www.warkensoft.com/wp-content/uploads/2009/04/screenshot_26-300x235.png" alt="Administrative Sub-Category View" width="300" height="235" /></a></strong></strong><p class="wp-caption-text">Administrative Sub-Category View</p></div>
<p>As mentioned above, I would love to hear any thoughts, suggestions or feature requests you might have.  Feel free to post them here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2009/04/link-directory-plugin-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is AmazonFeed Making You Money?</title>
		<link>http://www.warkensoft.com/2009/02/is-amazonfeed-making-you-money/</link>
		<comments>http://www.warkensoft.com/2009/02/is-amazonfeed-making-you-money/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 20:00:29 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[AmazonFeed Blog]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/?p=175</guid>
		<description><![CDATA[Just for fun, we thought we'd run a poll to find out how helpful AmazonFeed has been to you and your website.  So, feel free to rate your success with it on the poll.  Read more to vote and see poll results.]]></description>
			<content:encoded><![CDATA[<p>Just for fun, we thought we&#8217;d run a poll to find out how helpful AmazonFeed has been to you and your website.  So, feel free to rate your success with it below.</p>
<div>
	<div class='democracy'>
		<strong class="poll-question">Has our AmazonFeed plugin helped you make money with your site?  If so, how much?</strong>
		<div class='dem-results'>
		<form action='http://www.warkensoft.com/wp-content/plugins/democracy/democracy.php' onsubmit='return dem_Vote(this)'>
		<ul>
			<li>
					<input type='radio' id='dem-choice-9' value='9' name='dem_poll_3' />
					<label for='dem-choice-9'>It hasn't helped at all.</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-10' value='10' name='dem_poll_3' />
					<label for='dem-choice-10'>Less than $10 / month</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-17' value='17' name='dem_poll_3' />
					<label for='dem-choice-17'>I don't use AmazonFeed on my site <a href='http://www.warkensoft.com/products/amazonfeed-wordpress-plugin/'>yet</a>.  ( why not? )</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-12' value='12' name='dem_poll_3' />
					<label for='dem-choice-12'>$21 to $50 / month</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-14' value='14' name='dem_poll_3' />
					<label for='dem-choice-14'>$100 to $500 / month</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-13' value='13' name='dem_poll_3' />
					<label for='dem-choice-13'>$50 to $100 / month</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-15' value='15' name='dem_poll_3' />
					<label for='dem-choice-15'>$500 to $1000 / month</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-11' value='11' name='dem_poll_3' />
					<label for='dem-choice-11'>$11 to $20 / month</label>
			</li>
			<li>
					<input type='radio' id='dem-choice-16' value='16' name='dem_poll_3' />
					<label for='dem-choice-16'>More than $1000 / month ( I hope you're <a href="http://www.warkensoft.com/products/donate/">tipping</a>... :D )</label>
			</li>
		</ul>
			<input type='hidden' name='dem_poll_id' value='3' />
			<input type='hidden' name='dem_action' value='vote' />
			<input type='submit' class='dem-vote-button' value='Vote' />
			<a href='/category/wordpress/feed/?dem_action=view&amp;dem_poll_id=3' onclick='return dem_getVotes("http://www.warkensoft.com/wp-content/plugins/democracy/democracy.php?dem_action=view&amp;dem_poll_id=3", this)' rel='nofollow' class='dem-vote-link'>View Results</a>
		</form>
		</div>
	</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2009/02/is-amazonfeed-making-you-money/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>WordPress Plugin: Related Products from Amazon.com</title>
		<link>http://www.warkensoft.com/2008/11/wordpress-plugin-related-products-from-amazoncom/</link>
		<comments>http://www.warkensoft.com/2008/11/wordpress-plugin-related-products-from-amazoncom/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 06:40:52 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[Revenue Building]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/?p=77</guid>
		<description><![CDATA[This plugin will allow you to make money on your website as an Amazon.com affiliate.  It enables you to automatically advertise products from Amazon.com which are specifically related to the topic you are writing about. Features: Automatically load category or tag related products from Amazon.com. Earn rewards as an affiliate, simply by entering your affiliate [...]]]></description>
			<content:encoded><![CDATA[<p>This plugin will allow you to make money on your website as an Amazon.com affiliate.  It enables you to automatically advertise products from Amazon.com which are specifically related to the topic you are writing about.</p>
<p><strong>Features:</strong></p>
<ul>
<li><strong>Automatically</strong> load category or tag related products from Amazon.com.</li>
<li><strong>Earn rewards</strong> as an affiliate, simply by entering your affiliate tracking code.</li>
<li><strong>Provide valuable additional content</strong> to your visitors on the topics of your posts.</li>
<li><strong>Total control</strong> to tailor results for any given post.</li>
<li><strong>Excellent content caching</strong> for lightning fast response times.</li>
<li><strong>Ability to disable</strong> related products from being displayed at all on any given post.</li>
<li><strong>NOT JavaScript based</strong>, meaning it is not hidden from users with no JavaScript capability.</li>
</ul>
<p><span id="more-77"></span><br />
<strong>How it Works:</strong></p>
<p>This plugin will allow you to turn your WordPress website or blog into a money making machine while at the same time offering valuable additional related materials to your visitors.  It will <strong>automatically</strong> search for and display products from Amazon.com which are <strong>specifically related to the topics you write about</strong>.  Once you install the plugin, you simply have to decide if you want to show products related to your Categories or Tags and the plugin can do the rest.  All you have to do is continue writing about your favorite subjects and the plugin will offer related products to your visitors.</p>
<p>Even though it is capable of being fully automatic in this way, it also includes powerful controls to tailor exactly how it functions.  You can customize the keywords used for searching on any given post or even disable the plugin completely.  You can also customize the heading that is shown, the number of results shown and many other aspects of how it functions.</p>
<p><strong>Get the Plugin:</strong></p>
<p>You can find the <a title="AmazonFeed WordPress Plugin" href="http://www.warkensoft.com/products/amazonfeed-wordpress-plugin/">AmazonFeed plugin homepage here</a>.</p>
<p>Want to see it in action?  I have it running at the bottom of this article.  Notice that if you hit refresh, new content may be displayed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2008/11/wordpress-plugin-related-products-from-amazoncom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SendFeed WordPress Plugin</title>
		<link>http://www.warkensoft.com/2008/11/sendfeed-wordpress-plugin/</link>
		<comments>http://www.warkensoft.com/2008/11/sendfeed-wordpress-plugin/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 00:41:23 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/?p=66</guid>
		<description><![CDATA[I&#8217;m very excited to announce the release of SendFeed, a brand new RSS/XML Feed to Email WordPress plugin. The SendFeed Plugin for WordPress allows you to send your latest post from your RSS feed to an external Mailing List Manager in both text and HTML formats. It is capable of sending messages out immediately, at [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m very excited to announce the release of <a title="SendFeed RSS/XML to EMail WordPress Plugin" href="http://truthmedia.com/wordpress/sendfeed/">SendFeed</a>, a brand new RSS/XML Feed to Email WordPress plugin.</p>
<p>The SendFeed Plugin for WordPress allows you to send your latest post from your RSS feed to an external Mailing List Manager in both text and HTML formats.</p>
<p>It is capable of sending messages out immediately, at predefined intervals such as daily/weekly/monthly or manually.  Also, the text and HTML templates are completely customizable on a per feed basis so you can tailor the emails to suit the list or feed you are using.</p>
<p>The plugin was developed by me while working for <a title="TruthMedia Internet Group" href="http://truthmedia.com/">TruthMedia</a>.  We have just released the very first edition of the plugin on WordPress.org.</p>
<p>You can find it at: <a title="SendFeed RSS/XML to EMail WordPress Plugin" onclick="javascript:pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/sendfeed/');" href="http://wordpress.org/extend/plugins/sendfeed/" target="_blank">http://wordpress.org/extend/plugins/sendfeed/</a></p>
<p>Original Post Here: <a href="http://truthmedia.com/2008/11/19/sendfeed-v-11-released/">http://truthmedia.com/2008/11/19/sendfeed-v-11-released/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2008/11/sendfeed-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website Subversion Backup</title>
		<link>http://www.warkensoft.com/2008/04/website-subversion-backup/</link>
		<comments>http://www.warkensoft.com/2008/04/website-subversion-backup/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 00:00:45 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[PHP Scripts]]></category>
		<category><![CDATA[Webmaster Tools]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[website backups]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/?p=61</guid>
		<description><![CDATA[As a PHP coder and web developer, I have recently discovered and fallen in love with a tool which helps to keep my source code safely backed up. This tool is called Subversion and &#8220;it is used to maintain current and historical versions of files such as source code, web pages, and documentation.&#8221; (1) In [...]]]></description>
			<content:encoded><![CDATA[<p>As a PHP coder and web developer, I have recently discovered and fallen in love with a tool which helps to keep my source code safely backed up.  This tool is called <a href="http://en.wikipedia.org/wiki/Subversion_(software)">Subversion</a> and &#8220;it is used to maintain current and historical versions of files such as source code, web pages, and documentation.&#8221; (<a href="#references">1</a>)  In simple terms, it allows you to back up your files and keeps a history of all the versions of files that you send to it.</p>
<p>This is VERY useful when doing PHP development because as you develop your application you can commit versions of the files to the Subversion (SVN) repository and it will keep track of all the changes you have made.  If necessary, you can even revert back to older versions.</p>
<p>One of the difficulties that I have run into while doing website development is how to keep the live remote website synchronized with my local working copy.  This is especially true of WordPress installations where editors may be uploading new pictures or documents to the site on a daily basis.  If you are not constantly downloading the latest copy of the website, your local copy will be out-of-date and may cause problems in your development.</p>
<p><strong>Subversion to the Rescue:</strong></p>
<p>However, I have come up with a relatively simple solution to this problem, which utilizes the controls within Subversion, to both back up the data on the LIVE website, as well as providing version control for all the site data as a whole.  For the sake of simplicity, I will be using a WordPress website as my example, but the concepts here could be applied to essentially any website.</p>
<p>One of the useful features of Subversion is the ability to run what they refer to as &#8220;hook scripts&#8221; at different points in the versioning process.  For example, an SVN repository can be configured to run a set of scripts directly after any data is &#8220;committed&#8221; to it. (sending data to the repository is called &#8220;committing&#8221; the data)  For this example, this is exactly the functionality we are going to be using.</p>
<p>Before I go any further though, let&#8217;s go over some of the requirements for setting up a website and subversion repository in this way.</p>
<p><span id="more-61"></span><strong>WARNING: The following tutorial could seriously damage/destroy your website and/or server if you don&#8217;t know what you&#8217;re doing.  We take no responsibility for any problems which may occur from following these instructions. </strong></p>
<p><strong>We HIGHLY recommend that you not employ these ideas on a LIVE webserver until you have thoroughly tested things in a development environment and fully understand how things work. Proceed at your own risk.  You have been warned!<br />
</strong></p>
<p><strong>Requirements:</strong></p>
<ol>
<li>You will need shell access to the server.</li>
<li>The subversion repository must be on the same server as the website, and you will need to be able to run subversion commands on the server.</li>
<li>The user which runs the subversion repository, must also have access to add and remove files from the live website.</li>
</ol>
<p><strong>Terminology:</strong></p>
<p>Subversion Repository (SVN): The subversion repository which will contain all the website data.  Needs to be located on the same server as the website and have access to the website&#8217;s files.</p>
<p>Local Working Copy (LWC): Term used to refer to the Working Copy of the SVN repository stored on your personal computer.</p>
<p>Remote Working Copy (RWC): You will need to be able to set up a remote working copy of the SVN repository on the same server as the website and SVN.</p>
<p><strong>Setting it Up:</strong></p>
<p>The first step in setting up a website to use SVN in this way, is to set up the SVN repository itself.  I will not go into detail on how to set up an SVN repository, but for the sake of the article, let&#8217;s assume we can create the SVN repository at the path &#8220;/svnRepository/&#8221; on the remote server.  We will create the subversion repository by typing the following on the remote server shell.</p>
<blockquote><p>svnadmin create /svnRepository</p></blockquote>
<p>The next important piece of the puzzle we need is the Remote Working Copy.  Let&#8217;s assume that we can store the RWC at the path &#8220;/remoteWorkingCopy/&#8221; on the remote server.  To do this, we will enter the following shell command:</p>
<blockquote><p>svn checkout file:///svnRepository/ /remoteWorkingCopy/</p></blockquote>
<p>Finally, we will make the assumption that you already have a website set up on the remote server, and it is located at the path &#8220;/www/&#8221;.</p>
<p>In order to set this up properly you will need to ensure that you can connect to the SVN repository.  Though I will not go into the details of how to use Subversion here in this article, you need to be able to check out a copy of the remote SVN repository to your local machine.</p>
<p><strong>Synchronizing the Website with SVN:</strong></p>
<p>The next step in this process is to synchronize the current website with the SVN repository.  To do this, we will be working on the server and will need to copy all the files from the website into the Remote Working Copy.  To do this you would enter the following commands on the remote shell:</p>
<blockquote><p>cp -r /www/* /remoteWorkingCopy/</p>
<p>cp -r /www/.ht* /remoteWorkingCopy/</p></blockquote>
<p>These two commands should copy all files from the website over to the RWC.  Now, unfortunately, the RWC doesn&#8217;t yet know what to do with these files, so we have to instruct it that all the files should be added to the SVN repository.  We would do this with the following command:</p>
<blockquote><p>svn stat /remoteWorkingCopy/ | grep ^? | sed s/^?// | xargs -r -i svn add &#8220;{}&#8221;</p></blockquote>
<p>As indicated above, this command should prepare all files you have just copied to the RWC to be committed to the SVN repository.  The final step is to run the actual &#8220;commit&#8221; command, and you would do that as so:</p>
<blockquote><p>svn commit -m &#8220;Website Backup&#8221; /remoteWorkingCopy/</p></blockquote>
<p>This command will go through the RWC and send all the new files you just added to the SVN repository where they are versioned and backed up.</p>
<p><strong>Set Up Automatic Website Updates on POST-COMMIT:</strong></p>
<p>We now have copy of the website stored in the SVN repository, as well as in the Remote Working Copy, but unless we take further steps, these filesystems will very shortly be out-of-date with the LIVE website.  We also don&#8217;t yet have a way to get changes that we make to the SVN files back onto the website.</p>
<p>In order to do this we will need to set up a POST-COMMIT hook script.  This is a script in the SVN repository which runs after every time a commit is called.  In order to install the script, simply place it in your /svnRepository/hooks/ folder and make it writable.  The script is as follows:</p>
<blockquote><p>#!/bin/sh</p>
<p># POST-COMMIT HOOK</p>
<p># Website BasePath<br />
BASEPATH=&#8221;/www&#8221;</p>
<p># Repository Path<br />
REPOSITORY=&#8221;file:///svnRepository&#8221;</p>
<p># Remote Working copy<br />
LOCALWC=&#8221;/remoteWorkingCopy/&#8221;</p>
<p>REPOS=&#8221;$1&#8243;<br />
REV=&#8221;$2&#8243;</p>
<p># Update the current working copy<br />
echo &#8220;Updating the working copy &#8221; $LOCALWC<br />
svn update $LOCALWC</p>
<p># Propogate deletes, adds and modifies from the SVN repository to the website.<br />
echo &#8220;Doing Deletes!&#8221;<br />
svn log -qvr $REV $LOCALWC | grep &#8220;^   D&#8221; | sed &#8220;s/^   D //&#8221; | sed -r &#8220;s# \(.+\)##&#8221; | xargs -r -i rm -rf $BASEPATH{}</p>
<p>echo &#8220;Doing Adds!&#8221;<br />
svn log -qvr $REV $LOCALWC | grep &#8220;^   A&#8221; | sed &#8220;s/^   A //&#8221; | sed -r &#8220;s# \(.+\)##&#8221; | xargs -r -i svn export &#8211;force $LOCALWC{} $BASEPATH{}</p>
<p>echo &#8220;Doing Mods!&#8221;<br />
svn log -qvr $REV $LOCALWC | grep &#8220;^   M&#8221; | sed &#8220;s/^   M //&#8221; | sed -r &#8220;s# \(.+\)##&#8221; | xargs -r -i svn export &#8211;force $LOCALWC{} $BASEPATH{}</p>
<p># Copy current website files to current working copy<br />
echo &#8220;Copying current website files to working copy&#8221;<br />
cp -r $BASEPATH/* $LOCALWC<br />
cp -r $BASEPATH/.ht* $LOCALWC</p>
<p># Automatically add all added and changed files from the website to the SVN repository.<br />
echo &#8220;Adding and changing files&#8221;<br />
svn stat $LOCALWC | grep ^? | sed s/^?// | xargs -r -i svn add &#8220;{}&#8221;</p>
<p># Commit changes from working copy to SVN Repository<br />
echo &#8220;Running commit&#8221;<br />
svn commit -m &#8220;Website Backup&#8221; $LOCALWC</p></blockquote>
<p>When you put this script in your /svnRepository/hooks folder and make it executable, the script will be run every time you commit something to the repository.  Here is an outline of what it does:</p>
<p><strong>Steps in Detail on Commit:</strong></p>
<ol>
<li>User runs UPDATE on their local machine to get latest info from repository</li>
<li>COMMIT is called</li>
<li>UPDATE the remote working copy.</li>
<li>Check svn log for deleted files in the Remote Working Copy and remove them from the website.</li>
<li>Check svn log for added files and export them to the website.</li>
<li>Check svn log for modified files and export them to the website.</li>
<li>Copy all live website files to Remote Working Copy.</li>
<li>Add all new files to be versioned in the RWC.</li>
<li>Commit all additions and changes from the RWC to the SVN repository.</li>
<li>The next time the user runs an update, it would get the latest files from the repository which should be synced to the website.</li>
</ol>
<p><strong>Conclusion:</strong></p>
<p>The end result of this process is that when changes are made on your local machine and committed to the SVN repository, the script will run, it will synchronize the website with the RWC and then will deploy your changes TO the website.</p>
<p>I hope you have found this tutorial useful.  As mentioned above, be very careful as you work through the process of running these scripts and commands, as you could potentially cause major breakdowns on your website.  <strong>Again, we take NO RESPONSIBILITY for any problems which may result from following this tutorial.  Follow these instructions at your own risk.</strong></p>
<p>I would love to hear any feedback you may have about this article.  I would also like to hear from developers who may have more experience with this topic than I do and would be willing to make suggestions for improvement.</p>
<p><a id="references" name="references"><strong>References:</strong></a></p>
<ol>
<li><a href="http://en.wikipedia.org/wiki/Subversion_(software)">Subversion (software)</a> &#8211; From Wikipedia, the free encyclopedia</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2008/04/website-subversion-backup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FormBuilder WordPress Plugin</title>
		<link>http://www.warkensoft.com/2008/04/formbuilder-wordpress-plugin/</link>
		<comments>http://www.warkensoft.com/2008/04/formbuilder-wordpress-plugin/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 20:21:31 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[PHP Programming]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/?p=60</guid>
		<description><![CDATA[I am very excited to announce the public (beta) release of the FormBuilder WordPress plugin on WordPress.org. FormBuilder is a project which was inspired, in part, by my work on FormContact 1.0 and came about as a result of our need for a good yet simple form building utility for WordPress. The plugin was developed [...]]]></description>
			<content:encoded><![CDATA[<p>I am very excited to announce the public (beta) release of the <a href="http://truthmedia.com/wordpress/formbuilder/">FormBuilder WordPress plugin</a> on <a href="http://wordpress.org/extend/plugins/formbuilder/">WordPress.org</a>.  FormBuilder is a project which was inspired, in part, by my work on FormContact 1.0 and came about as a result of our need for a good yet simple form building utility for WordPress.</p>
<p>The plugin was developed by me while working for TruthMedia.  At the time of writing, it is at v. 0.57 and is compatible with WordPress 1.5 &#8211; 2.5.  If you have a WordPress blog already, why not check it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2008/04/formbuilder-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress and Multiple Installations of WordPress</title>
		<link>http://www.warkensoft.com/2007/11/wordpress-and-multiple-installations-of-wordpress/</link>
		<comments>http://www.warkensoft.com/2007/11/wordpress-and-multiple-installations-of-wordpress/#comments</comments>
		<pubDate>Thu, 22 Nov 2007 02:37:35 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://www.warkensoft.com/2007/11/wordpress-and-multiple-installations-of-wordpress/</guid>
		<description><![CDATA[I recently was directed to an article on Nerdaphernalia discussing how to turn a single WordPress installation into multiple blogs. What a lovely concept! Instead of having to maintain multiple installations with an array of plugins and themes to ensure continue to work, you can run one filesystem, managing multiple blogs. Nerdaphernalia » Virtual Multiblog [...]]]></description>
			<content:encoded><![CDATA[<p>I recently was directed to an article on <a href="http://striderweb.com/nerdaphernalia/">Nerdaphernalia</a> discussing how to turn a single WordPress installation into multiple blogs.  What a lovely concept!  Instead of having to maintain multiple installations with an  array of plugins and themes to ensure continue to work, you can run one filesystem, managing multiple blogs.</p>
<p><a href="http://striderweb.com/nerdaphernalia/features/virtual-multiblog/">Nerdaphernalia » Virtual Multiblog for WordPress</a></p>
<p>Lately, I have been increasingly impressed by the flexibility and power of using <a href="http://www.wordpress.org">WordPress</a> as a Content Management System.  The organization I work for has been exploring all the possibilities of using it as a fully functional CMS and so far we have been very impressed.  What it doesn&#8217;t do straight out of the box, there are plugins for.  And as a PHP developer, if I can&#8217;t find a plugin, I can make one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.warkensoft.com/2007/11/wordpress-and-multiple-installations-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

