<?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>vincentkong.com &#187; Content Management</title>
	<atom:link href="http://www.vincentkong.com/tag/content-management/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vincentkong.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 25 Dec 2011 01:35:03 +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>Launch wiki.vincentkong.com</title>
		<link>http://www.vincentkong.com/2010/08/launch-wiki-vincentkong-com</link>
		<comments>http://www.vincentkong.com/2010/08/launch-wiki-vincentkong-com#comments</comments>
		<pubDate>Tue, 24 Aug 2010 04:58:14 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[MediaWiki]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=1598</guid>
		<description><![CDATA[It&#8217;s been several months since I&#8217;ve finally updated my blog.  The fact is, I found that organizing my notes and thoughts to write a clear and precise entry takes more time than I sometimes anticipate.  However, when I stopped my &#8230; <a href="http://www.vincentkong.com/2010/08/launch-wiki-vincentkong-com">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/google-bookmarks' rel='bookmark' title='Google Bookmarks'>Google Bookmarks</a></li>
<li><a href='http://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2007/06/configuring-cron-job-for-drupal' rel='bookmark' title='Configuring Cron Job for Drupal'>Configuring Cron Job for Drupal</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been several months since I&#8217;ve finally updated my blog.  The fact is, I found that organizing my notes and thoughts to write a clear and precise entry takes more time than I sometimes anticipate.  However, when I stopped my notes started getting disorganized as I had no place to put them.  As well, I often learn about some quick tips which are useful, but not worth blogging about.</p>
<p>This is where the wiki site comes in.  It can quickly allow me to add, and organize my rough cut notes, and tips, as well, give me access to my all information online.</p>
<p>The wiki software which I decided to use is <a href="http://www.mediawiki.org">MediaWiki</a>, which was original developed and used by <a href="http://en.wikipedia.org">Wikipedia</a>, but now has become one of the most popular wiki software.</p>
<p>You can visit my new Wiki site at <a href="http://wiki.vincentkong.com">http://wiki.vincentkong.com</a><br />
<a href="http://www.vincentkong.com/wp-content/uploads/2010/08/wiki_vincentkong.png"><img class="alignnone size-medium wp-image-1600" title="wiki.vincentkong.com" src="http://www.vincentkong.com/wp-content/uploads/2010/08/wiki_vincentkong-300x226.png" alt="" width="300" height="226" /></a></p>
<p>Refer to my wiki page for information on how to <a href="http://wiki.vincentkong.com/wiki/MediaWiki">install and configure MediaWiki</a>.</p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/google-bookmarks' rel='bookmark' title='Google Bookmarks'>Google Bookmarks</a></li>
<li><a href='http://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2007/06/configuring-cron-job-for-drupal' rel='bookmark' title='Configuring Cron Job for Drupal'>Configuring Cron Job for Drupal</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2010/08/launch-wiki-vincentkong-com/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stylesheets in WordPress Referenced with HTTPS</title>
		<link>http://www.vincentkong.com/2009/10/stylesheets-in-wordpress-referenced-with-https</link>
		<comments>http://www.vincentkong.com/2009/10/stylesheets-in-wordpress-referenced-with-https#comments</comments>
		<pubDate>Tue, 13 Oct 2009 03:09:52 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=984</guid>
		<description><![CDATA[UPDATE: Instead of changing multiple files, I finally decided to edit the is_ssl() function in the wp-includes/functions.php. old code: function is_ssl() { if ( isset($_SERVER['HTTPS']) ) { if ( 'on' == strtolower($_SERVER['HTTPS']) ) return true; if ( '1' == $_SERVER['HTTPS'] &#8230; <a href="http://www.vincentkong.com/2009/10/stylesheets-in-wordpress-referenced-with-https">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='http://www.vincentkong.com/2008/06/permalinks-in-wordpress' rel='bookmark' title='Permalinks in WordPress'>Permalinks in WordPress</a></li>
<li><a href='http://www.vincentkong.com/2008/05/wordpress-quickstart-guide' rel='bookmark' title='WordPress Quickstart Guide'>WordPress Quickstart Guide</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE:</strong> Instead of changing multiple files, I finally decided to edit the <code>is_ssl()</code> function in the <code>wp-includes/functions.php</code>.</p>
<p>old code:</p>
<pre>function is_ssl() {
        if ( isset($_SERVER['HTTPS']) ) {
                if ( 'on' == strtolower($_SERVER['HTTPS']) )
                        return true;
                if ( '1' == $_SERVER['HTTPS'] )
                        return true;
        } elseif ( isset($_SERVER['SERVER_PORT']) &amp;&amp; ( '443' == $_SERVER['SERVER_PORT'] ) ) {
                return true;
        }
}
</pre>
<p>new code:</p>
<pre>function is_ssl() {
        if ( isset($_SERVER['HTTPS']) ) {
                if ( 'on' == strtolower($_SERVER['HTTPS']) )
                        return true;
                if ( '1' == $_SERVER['HTTPS'] )
                        return true;
        }
        else {
                return false;
        }
}
</pre>
<p>The disadvantage of this is that the login page will NOT be referring to https when accessing the site with via http.</p>
<p><strong>UPDATE:</strong> As of version 3.0 another custom change needed to be made to fix the https referencing.</p>
<p>Open <code>wp-includes/functions.php</code>and comment out the line:</p>
<pre>function wp_guess_url() {
...
//$schema = is_ssl() ? 'https://' : 'http://';</pre>
<p><strong>UPDATE:</strong> As of version 2.8.5 a new JavaScript in WordPress is also always referencing https</p>
<p><code>&lt;script type='text/javascript' src='https://www.vincentkong.com/wp-includes/js/jquery/jquery.js?ver=1.3.2'&gt;&lt;/script&gt;</code></p>
<p>To resolve this open <code>wp-includes/script-loader.php </code>and comment out the line indicated below:</p>
<pre>function wp_default_scripts( &amp;$scripts ) {

        //if ( !$guessurl = site_url() )
                $guessurl = wp_guess_url();</pre>
<hr />Since version 2.7 I&#8217;ve noticed that stylesheets in <a href="http://www.wordpress.org">WordPress</a> have been referenced with https regardless if the request was made through http or https.  After waiting for through several version upgrades (until 2.8.4) to address this, I decided to see if I can resolve it myself.</p>
<h3>Problem:</h3>
<p>Stylesheets are always returning https since 2.7 as shown in the source code:</p>
<p><code>&lt;link rel="stylesheet" href="https://www.vincentkong.com/wp-content/themes/glossyblue-1-4/style.css" type="text/css" media="all" /&gt;</code></p>
<h3>Cause:</h3>
<p>The cause of the problem is due to the following code found in the  <code>wp-includes/link-template.php</code>.  More specifically with the line <code>if ( is_ssl() )</code> since it seems to always return true if you have SSL enabled for the website.</p>
<pre>/**
 * Retrieve the url to the content directory.
 *
 * @package WordPress
 * @since 2.6.0
 *
 * @param string $path Optional. Path relative to the content url.
 * @return string Content url link with optional path appended.
*/
function content_url($path = '') {
 $scheme = ( is_ssl() ? 'https' : 'http' );
 $url = WP_CONTENT_URL;
 if ( 0 === strpos($url, 'http') ) {
 if ( is_ssl() )
 $url = str_replace( 'http://', "{$scheme}://", $url );
 }

 if ( !empty($path) &amp;&amp; is_string($path) &amp;&amp; strpos($path, '..') === false )
 $url .= '/' . ltrim($path, '/');

 return apply_filters('content_url', $url, $path);
}</pre>
<h3>Solution:</h3>
<p>As a quick solution I commented the portion of code which was causing the issue.  I don&#8217;t know what is the side effect of this, but I haven&#8217;t ran into any issues yet.</p>
<pre> if ( 0 === strpos($url, 'http') ) {
 if ( is_ssl() )
 $url = str_replace( 'http://', "{$scheme}://", $url );
 }</pre>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='http://www.vincentkong.com/2008/06/permalinks-in-wordpress' rel='bookmark' title='Permalinks in WordPress'>Permalinks in WordPress</a></li>
<li><a href='http://www.vincentkong.com/2008/05/wordpress-quickstart-guide' rel='bookmark' title='WordPress Quickstart Guide'>WordPress Quickstart Guide</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2009/10/stylesheets-in-wordpress-referenced-with-https/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stopping Spam in WordPress</title>
		<link>http://www.vincentkong.com/2008/07/stopping-spam-in-wordpress</link>
		<comments>http://www.vincentkong.com/2008/07/stopping-spam-in-wordpress#comments</comments>
		<pubDate>Sat, 12 Jul 2008 13:10:11 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=222</guid>
		<description><![CDATA[Spam has always been a nuisance and affects many web applications on the internet. It didn&#8217;t take long for my blogs to receive some spam comments when I migrated to WordPress. Fortunately, WordPress and its community make several plugins available &#8230; <a href="http://www.vincentkong.com/2008/07/stopping-spam-in-wordpress">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='http://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='http://www.vincentkong.com/2008/05/finish-migrating-to-wordpress' rel='bookmark' title='Finish Migrating to WordPress'>Finish Migrating to WordPress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Spam has always been a nuisance and affects many web applications on the internet.  It didn&#8217;t take long for my blogs to receive some spam comments when I migrated to WordPress.  Fortunately, WordPress and its community make several plugins available to counter these spam attacks.</p>
<p>By default WordPress comes with the Akismet plugin which checks your comments against the Akismet web service to see if they look like spam or not.  However, to activate this plugin you need a <a href="http://wordpress.com/api-keys/">WordPress API key</a> which can be obtained by registering to WordPress.com.</p>
<p>Not wanting to register with WordPress.com, I went to see what the WordPress community had to offer.  I decided to use <a href="http://wordpress.org/extend/plugins/wp-spamfree/" class="broken_link">Wp-SpamFree</a>, which was one of the more popular and higher rated plugin.  The plugin blocks spam without using <a href="http://en.wikipedia.org/wiki/Captcha">CAPTCHA</a> or challenge questions, and once activated the plugin will display the number of blocked spams on the dashboard.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/07/wp-spamfree.png"><img class="aligncenter size-medium wp-image-265" title="WP-SpamFree" src="http://www.vincentkong.com/wp-content/uploads/2008/07/wp-spamfree-300x158.png" alt="WP-SpamFree" width="300" height="158" /></a></p>
<p>Other plugins which I use are mention in my previous blog: <a href="http://www.vincentkong.com/2008/06/wordpress-plugins/">WordPress Plugins</a>.</p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='http://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='http://www.vincentkong.com/2008/05/finish-migrating-to-wordpress' rel='bookmark' title='Finish Migrating to WordPress'>Finish Migrating to WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2008/07/stopping-spam-in-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Permalinks in WordPress</title>
		<link>http://www.vincentkong.com/2008/06/permalinks-in-wordpress</link>
		<comments>http://www.vincentkong.com/2008/06/permalinks-in-wordpress#comments</comments>
		<pubDate>Sat, 14 Jun 2008 02:03:36 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=178</guid>
		<description><![CDATA[By default WordPress uses web URLs which have question marks and lots of numbers in them that looks ugly. e.g. http://example.com/?p=123 WordPress offers you the ability to create custom URL structure for your permalinks and archives, which improves the readability, &#8230; <a href="http://www.vincentkong.com/2008/06/permalinks-in-wordpress">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='http://www.vincentkong.com/2008/05/wordpress-quickstart-guide' rel='bookmark' title='WordPress Quickstart Guide'>WordPress Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2008/06/gallery2-url-rewrite-plugin' rel='bookmark' title='Gallery2 URL Rewrite Plugin'>Gallery2 URL Rewrite Plugin</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>By default <a href="http://www.wordpress.org">WordPress</a> uses web URLs which have question marks and lots of numbers in them that looks ugly. e.g. http://example.com/?p=123</p>
<p>WordPress offers you the ability to create custom URL structure for your permalinks and archives, which improves the readability, and forward-compatibility of your links e.g. http://example.com/category/post-name or http://example.com/year/month/day/post-name. To enable permalinks you first need to enable <code>mod_rewrite</code> for Apache. In Ubuntu execute the following:</p>
<p><code>$ sudo a2enmod rewrite</code></p>
<p>In the Apache configuration file, the <code>FollowSymLinks</code> option needs to be enabled and the <code>FileInfo</code> needs to be allowed for the WordPress&#8217;s home directory.</p>
<pre>&lt;Directory /var/www/wordpress&gt;
    Options FollowSymLinks
    AllowOverride FileInfo
    allow from all
&lt;/Directory&gt;</pre>
<p>Create a <code>.htaccess</code> file inside the WordPress&#8217;s home directory and set read/write permission to it.</p>
<p><code>$ cd /var/www/wordpress<br />
$ touch .htaccess<br />
$ chmod 666 .htaccess</code></p>
<p>In the WordPress Dashboard navigate to &#8220;Settings&#8221; &gt; &#8220;Permalinks&#8221;</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/wordpress_permalink.png"><img class="aligncenter size-medium wp-image-181" title="WordPress Permalink" src="http://www.vincentkong.com/wp-content/uploads/2008/05/wordpress_permalink-300x228.png" alt="WordPress Permalink" width="300" height="228" /></a></p>
<p>Specific the URL structure which you desire, and click on the &#8220;Save Changes&#8221; button.</p>
<p>For security purposes remove the write permisson on the <code>.htaccess</code> file</p>
<p><code>$ chmod 644 .htaccess</code></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='http://www.vincentkong.com/2008/05/wordpress-quickstart-guide' rel='bookmark' title='WordPress Quickstart Guide'>WordPress Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2008/06/gallery2-url-rewrite-plugin' rel='bookmark' title='Gallery2 URL Rewrite Plugin'>Gallery2 URL Rewrite Plugin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2008/06/permalinks-in-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Plugins</title>
		<link>http://www.vincentkong.com/2008/06/wordpress-plugins</link>
		<comments>http://www.vincentkong.com/2008/06/wordpress-plugins#comments</comments>
		<pubDate>Tue, 03 Jun 2008 02:00:11 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=162</guid>
		<description><![CDATA[Currently the WordPress community provides 2200+ plugins for WordPress users to install. Most plugins are easy to install while some require you to do some simple PHP coding afterwards. To install a typical plugin, download the plugin and extract it &#8230; <a href="http://www.vincentkong.com/2008/06/wordpress-plugins">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2008/07/stopping-spam-in-wordpress' rel='bookmark' title='Stopping Spam in WordPress'>Stopping Spam in WordPress</a></li>
<li><a href='http://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='http://www.vincentkong.com/2008/06/permalinks-in-wordpress' rel='bookmark' title='Permalinks in WordPress'>Permalinks in WordPress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Currently the WordPress community provides 2200+ <a href="http://wordpress.org/extend/plugins/">plugins</a> for WordPress users to install. Most plugins are easy to install while some require you to do some simple PHP coding afterwards.</p>
<p>To install a typical plugin, download the plugin and extract it into the <code>wp-content/plugins</code> folder of the WordPress root folder. In the Dashboard, click on the &#8220;Plugins&#8221; link and the &#8220;Activate&#8221; link to activate your plugin.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/wordpress_plugins.png"><img class="aligncenter size-medium wp-image-184" title="WordPress Plugins" src="http://www.vincentkong.com/wp-content/uploads/2008/05/wordpress_plugins-300x188.png" alt="WordPress Plugins" width="300" height="188" /></a></p>
<h4>Plugins which I installed</h4>
<p><a href="http://wordpress.org/extend/plugins/broken-link-checker/">Broken Link Checker</a>: This plugin is will monitor your blog looking for broken links and let you know if any are found.</p>
<p>This requires the <a href="http://www.php.net/curl">CURL library</a> to be installed for PHP, otherwise an error will occur: <code>Fatal error: Call to undefined function curl_init()</code>.</p>
<p>To install CURL library for Ubuntu:<br />
<code>$ sudo apt-get install php5-curl</code></p>
<p><a href="http://wordpress.org/extend/plugins/link-summarizer/">Link Summarizer</a>: This plugin produces a list of all the links you referred to in a posting. You can exclude links from the summary by specifying regular expressions for links that shouldn&#8217;t show up.  For example, the regular expression I used to ignore links to the images of my blogs:</p>
<p><code>^http:\/\/.*\.vincentkong\.com\/.*\.(gif|png|jpg)$</code></p>
<p><a href="http://wordpress.org/extend/plugins/wordbook/">Wordbook</a>: This plugin allows you to cross-post your blogs to your Facebook Mini-Feed. Your Facebook profile will also show your most recent blog posts. This works similar to importing your blog&#8217;s RSS feed with Facebook Notes, but with some advantages as described in the <a href="http://wordpress.org/extend/plugins/wordbook/faq/">Wordbook FAQ</a>.</p>
<p><a href="http://wordpress.org/extend/plugins/wp-shortstat2/">WP-ShortStat</a>: WP-ShortStat is a litte statistics plugin for WordPress.</p>
<p><a href="http://wordpress.org/extend/plugins/wp-table/" class="broken_link">WP-Table</a>: This plugin creates and manages tables for WordPress.</p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2008/07/stopping-spam-in-wordpress' rel='bookmark' title='Stopping Spam in WordPress'>Stopping Spam in WordPress</a></li>
<li><a href='http://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='http://www.vincentkong.com/2008/06/permalinks-in-wordpress' rel='bookmark' title='Permalinks in WordPress'>Permalinks in WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2008/06/wordpress-plugins/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Quickstart Guide</title>
		<link>http://www.vincentkong.com/2008/05/wordpress-quickstart-guide</link>
		<comments>http://www.vincentkong.com/2008/05/wordpress-quickstart-guide#comments</comments>
		<pubDate>Fri, 30 May 2008 02:00:07 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=164</guid>
		<description><![CDATA[WordPress is an open source blog publishing system written in PHP with a MySQL database. Installing WordPress Download and the latest release of WordPress. $ wget http://wordpress.org/latest.tar.gz Extracting the file will create a new directory wordpress, move all the files &#8230; <a href="http://www.vincentkong.com/2008/05/wordpress-quickstart-guide">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/mysql-for-ubuntu-quickstart-guide' rel='bookmark' title='MySQL for Ubuntu Quickstart Guide'>MySQL for Ubuntu Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2008/06/gallery2-quickstart-guide' rel='bookmark' title='Gallery2 Quickstart Guide'>Gallery2 Quickstart Guide</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wordpress.org">WordPress</a> is an open source blog publishing system written in PHP with a MySQL database.</p>
<h4>Installing WordPress</h4>
<p><a href="http://wordpress.org/download/">Download</a> and the latest release of WordPress.</p>
<p><code>$ wget http://wordpress.org/latest.tar.gz</code></p>
<p>Extracting the file will create a new directory wordpress, move all the files into the a web server&#8217;s public HTML directory.</p>
<p><code>$ tar -zxvf latest.tar.gz<br />
$ mv wordpress/* /var/www/wordpress</code></p>
<p>Create a MySQL database and user for WordPress</p>
<p><code>mysql&gt; CREATE DATABASE databasename;<br />
mysql&gt; GRANT ALL PRIVILEGES ON databasename.* TO 'username'@'localhost' IDENTIFIED BY 'password';</code></p>
<p>Create a <code>wp-config.php</code> file and modify it to specific your WordPress settings.</p>
<p><code>$ cp wp-config-sample.php wp-config.php<br />
$ nano wp-config.php</code></p>
<p><code>define('DB_NAME', 'putyourdbnamehere');<br />
define('DB_USER', 'usernamehere');<br />
define('DB_PASSWORD', 'yourpasswordhere');<br />
define('DB_HOST', 'localhost'); </code></p>
<p>The database character set, normally should not be changed.<br />
<code>define('DB_CHARSET', 'utf8');</code></p>
<p>The database collation should normally be left blank.<br />
<code>define('DB_COLLATE', '');</code></p>
<p>In version 2.5 WordPress introduced a new optional entry called <code>SECRET_KEY</code>, which enables better encryption of information stored in the user&#8217;s cookies.</p>
<p><code>define('SECRET_KEY', 'put your unique phrase here');</code></p>
<p>It&#8217;s recommend to change the value of the <code>SECRET_KEY</code> to a unique phrase.  To help generate a unique phrase visit the <a href="http://api.wordpress.org/secret-key/1.0/">WordPress secret key generation site</a>.  For more information on the SECRET_KEY refer to the <a href="http://codex.wordpress.org/Editing_wp-config.php#Secret_Key_IMPORTANT">Editing wp-config.php</a> page.</p>
<p>Run the install script by pointing your browser to the URL of your website (e.g http://www.vincentkong.com).</p>
<p style="text-align: center;"><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/wordpress_welcome.png"><img class="size-medium wp-image-179 aligncenter" style="border: 1px solid black;" title="WordPress Welcome" src="http://www.vincentkong.com/wp-content/uploads/2008/05/wordpress_welcome-300x217.png" alt="WordPress Welcome" width="300" height="217" /></a></p>
<p>After the installation has been successful, it&#8217;s recommend that you immediately login and change the randomly generated password.</p>
<p style="text-align: center;"><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/wordpress_success.png"><img class="size-medium wp-image-180 aligncenter" style="border: 1px solid black;" title="WordPress Success" src="http://www.vincentkong.com/wp-content/uploads/2008/05/wordpress_success-300x154.png" alt="WordPress Success" width="300" height="154" /></a></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/mysql-for-ubuntu-quickstart-guide' rel='bookmark' title='MySQL for Ubuntu Quickstart Guide'>MySQL for Ubuntu Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2008/06/gallery2-quickstart-guide' rel='bookmark' title='Gallery2 Quickstart Guide'>Gallery2 Quickstart Guide</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2008/05/wordpress-quickstart-guide/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Finish Migrating to WordPress</title>
		<link>http://www.vincentkong.com/2008/05/finish-migrating-to-wordpress</link>
		<comments>http://www.vincentkong.com/2008/05/finish-migrating-to-wordpress#comments</comments>
		<pubDate>Wed, 21 May 2008 03:28:03 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vincentkong.com/?p=166</guid>
		<description><![CDATA[After changing some settings, adding some plugins, tweaking the theme, and reorganizing the content. I have finally finish the migration to WordPress. However to not forget how my previous website looks like I have taken a screen shot. Related posts:Migrating &#8230; <a href="http://www.vincentkong.com/2008/05/finish-migrating-to-wordpress">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='http://www.vincentkong.com/2008/07/stopping-spam-in-wordpress' rel='bookmark' title='Stopping Spam in WordPress'>Stopping Spam in WordPress</a></li>
<li><a href='http://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='WordPress Plugins'>WordPress Plugins</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After changing some settings, adding some plugins, tweaking the theme, and reorganizing the content.  I have finally finish the migration to WordPress.  However to not forget how my previous website looks like I have taken a screen shot.</p>
<p><a href="http://www.vincentkong.com/wp-content/uploads/2008/05/drupal_vincentkong.png"><img class="aligncenter size-medium wp-image-165" title="vincentkong.com using Drupal" src="http://www.vincentkong.com/wp-content/uploads/2008/05/drupal_vincentkong-300x225.png" alt="vincentkong.com using Drupal" width="300" height="225" /></a></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='http://www.vincentkong.com/2008/07/stopping-spam-in-wordpress' rel='bookmark' title='Stopping Spam in WordPress'>Stopping Spam in WordPress</a></li>
<li><a href='http://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='WordPress Plugins'>WordPress Plugins</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2008/05/finish-migrating-to-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating to WordPress 2.5.1</title>
		<link>http://www.vincentkong.com/2008/05/migrating-to-wordpress-251</link>
		<comments>http://www.vincentkong.com/2008/05/migrating-to-wordpress-251#comments</comments>
		<pubDate>Thu, 15 May 2008 18:41:26 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=124</guid>
		<description><![CDATA[After using Drupal for about a year, I&#8217;ve decided to migrate my site to WordPress. Drupal worked for me, but I thought it was a bit more complex to use for hosting a simple blogging site like mine. As well, &#8230; <a href="http://www.vincentkong.com/2008/05/migrating-to-wordpress-251">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2008/05/finish-migrating-to-wordpress' rel='bookmark' title='Finish Migrating to WordPress'>Finish Migrating to WordPress</a></li>
<li><a href='http://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='http://www.vincentkong.com/2008/05/wordpress-quickstart-guide' rel='bookmark' title='WordPress Quickstart Guide'>WordPress Quickstart Guide</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>After using <a href="http://www.drupal.org">Drupal</a> for about a year, I&#8217;ve decided to migrate my site to <a href="http://www.wordpress.org">WordPress</a>.  Drupal worked for me, but I thought it was a bit more complex to use for hosting a simple blogging site like mine.   As well, the the organization of it&#8217;s modules and themes are lacking and confusing to use.  This is where WordPress impressed me, it&#8217;s very lightweight, as it consist of half the table structures when compared to Drupal.  There are many <a href="http://wordpress.org/extend/plugins">plugins</a>, and <a href="http://codex.wordpress.org/Using_Themes#Get_New_Themes">themes</a> available for downloading.</p>
<p>There are still some stuff for me to clean up, but I have migrated all the content from the old site already.   Later, I&#8217;ll post up information on how to setup WordPress and it get working.</p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2008/05/finish-migrating-to-wordpress' rel='bookmark' title='Finish Migrating to WordPress'>Finish Migrating to WordPress</a></li>
<li><a href='http://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='http://www.vincentkong.com/2008/05/wordpress-quickstart-guide' rel='bookmark' title='WordPress Quickstart Guide'>WordPress Quickstart Guide</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2008/05/migrating-to-wordpress-251/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Cron Job for Drupal</title>
		<link>http://www.vincentkong.com/2007/06/configuring-cron-job-for-drupal</link>
		<comments>http://www.vincentkong.com/2007/06/configuring-cron-job-for-drupal#comments</comments>
		<pubDate>Thu, 07 Jun 2007 15:41:56 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=86</guid>
		<description><![CDATA[Some modules require regularly scheduled actions, such as cleaning up log files. You can make these happen automatically by using cron jobs. Schedule a cron job that regularly visits the &#8220;cron page&#8221;. This regular visit will automatically tell Drupal to &#8230; <a href="http://www.vincentkong.com/2007/06/configuring-cron-job-for-drupal">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal' rel='bookmark' title='Configuring Multiple Sites with Drupal'>Configuring Multiple Sites with Drupal</a></li>
<li><a href='http://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal' rel='bookmark' title='Installing TinyMCE Editor in Drupal'>Installing TinyMCE Editor in Drupal</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Some modules require regularly scheduled actions, such as cleaning up log files. You can make these happen automatically by using cron jobs. Schedule a cron job that regularly visits the &#8220;cron page&#8221;. This regular visit will automatically tell Drupal to perform its periodic tasks, and this will help keep your system running smoothly.</p>
<p>If your site is http://www.example.com then the page would be found at http://www.example.com/cron.php. Here is an example of a cron job that uses <code>wget</code> to visit the cron page:</p>
<p><code>0 2 * * * wget --quiet http://www.example.com/cron.php </code></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal' rel='bookmark' title='Configuring Multiple Sites with Drupal'>Configuring Multiple Sites with Drupal</a></li>
<li><a href='http://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='http://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal' rel='bookmark' title='Installing TinyMCE Editor in Drupal'>Installing TinyMCE Editor in Drupal</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2007/06/configuring-cron-job-for-drupal/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing TinyMCE Editor in Drupal</title>
		<link>http://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal</link>
		<comments>http://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal#comments</comments>
		<pubDate>Wed, 09 May 2007 15:44:44 +0000</pubDate>
		<dc:creator>Vincent Kong</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://wordpress.vincentkong.com/?p=88</guid>
		<description><![CDATA[TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor. Before you start download the following: TinyMCE module TinyMCE Editor itself maintained by Moxiecode Systems AB Extract the TinyMCE module into the the directory below. This is where the &#8230; <a href="http://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/my-profile-settings-for-tinymce-editor' rel='bookmark' title='My Profile Settings for TinyMCE Editor'>My Profile Settings for TinyMCE Editor</a></li>
<li><a href='http://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal' rel='bookmark' title='Configuring Multiple Sites with Drupal'>Configuring Multiple Sites with Drupal</a></li>
<li><a href='http://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor.</p>
<p>Before you start download the following:</p>
<ul>
<li><a href="http://drupal.org/project/tinymce">TinyMCE module</a></li>
<li><a href="http://tinymce.moxiecode.com">TinyMCE Editor</a> itself maintained by Moxiecode Systems AB</li>
</ul>
<p>Extract the TinyMCE module into the the directory below. This is where the integration code is located.</p>
<p><code>sites/all/modules/tinymce</code></p>
<p>Extract the TinyMCE editor into the directory below. This is where the actually editor is located.</p>
<p><code>sites/all/modules/tinymce/tinymce</code></p>
<p>Enable the module by navigating to:</p>
<p><code>Administer &gt; Site building &gt; Modules</code></p>
<p>Setup the permission to determine who can use this module by navigating to:</p>
<p><code>Administer &gt; User Management &gt; Access Control</code></p>
<p>To configure TinyMCE, a new profile needs to be created by navigating to:</p>
<p><code>Administer &gt; Site Configuration &gt; TinyMCE</code></p>
<p>If you use Filtered HTML for your Input format, then you may need to modify the Allowed HTML tags list depending on what buttons you chose for your profile. For example, bold, italic, and underline button will need the &lt;b&gt;, &lt;i&gt;, and &lt;u&gt; tag added. To change the Input formats navigate to:</p>
<p><code>Administer &gt; Site Configuration &gt; Input formats</code></p>


<p>Related posts:<ol><li><a href='http://www.vincentkong.com/2007/05/my-profile-settings-for-tinymce-editor' rel='bookmark' title='My Profile Settings for TinyMCE Editor'>My Profile Settings for TinyMCE Editor</a></li>
<li><a href='http://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal' rel='bookmark' title='Configuring Multiple Sites with Drupal'>Configuring Multiple Sites with Drupal</a></li>
<li><a href='http://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

