<?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>https://www.vincentkong.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 07 Jul 2010 00:32:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Stylesheets in WordPress Referenced with HTTPS</title>
		<link>https://www.vincentkong.com/2009/10/stylesheets-in-wordpress-referenced-with-https</link>
		<comments>https://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[Since version 2.7 I&#8217;ve noticed that stylesheets in WordPress 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. Problem: Stylesheets are always returning https since 2.7 as [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='Permanent Link: WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='https://www.vincentkong.com/2008/05/wordpress-quickstart-guide' rel='bookmark' title='Permanent Link: WordPress Quickstart Guide'>WordPress Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2008/06/permalinks-in-wordpress' rel='bookmark' title='Permanent Link: Permalinks in WordPress'>Permalinks in WordPress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>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>
<h3>Update:</h3>
<p>As of version 2.8.5 a new JavaScript in WordPress is also always referencing https</p>
<p>&lt;script type=&#8217;text/javascript&#8217; src=&#8217;https://www.vincentkong.com/wp-includes/js/jquery/jquery.js?ver=1.3.2&#8242;&gt;&lt;/script&gt;</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>
<p>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>Related posts:<ol><li><a href='https://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='Permanent Link: WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='https://www.vincentkong.com/2008/05/wordpress-quickstart-guide' rel='bookmark' title='Permanent Link: WordPress Quickstart Guide'>WordPress Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2008/06/permalinks-in-wordpress' rel='bookmark' title='Permanent Link: Permalinks in WordPress'>Permalinks in WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://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>https://www.vincentkong.com/2008/07/stopping-spam-in-wordpress</link>
		<comments>https://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 to counter these spam attacks. By default WordPress comes with the Akismet plugin which checks [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='Permanent Link: WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='https://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Permanent Link: Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='https://www.vincentkong.com/2008/06/permalinks-in-wordpress' rel='bookmark' title='Permanent Link: Permalinks in WordPress'>Permalinks in 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/">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='https://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='Permanent Link: WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='https://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Permanent Link: Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='https://www.vincentkong.com/2008/06/permalinks-in-wordpress' rel='bookmark' title='Permanent Link: Permalinks in WordPress'>Permalinks in WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://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>https://www.vincentkong.com/2008/06/permalinks-in-wordpress</link>
		<comments>https://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, 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 [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Permanent Link: Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='https://www.vincentkong.com/2008/05/wordpress-quickstart-guide' rel='bookmark' title='Permanent Link: WordPress Quickstart Guide'>WordPress Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2008/06/gallery2-url-rewrite-plugin' rel='bookmark' title='Permanent Link: 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='https://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Permanent Link: Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='https://www.vincentkong.com/2008/05/wordpress-quickstart-guide' rel='bookmark' title='Permanent Link: WordPress Quickstart Guide'>WordPress Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2008/06/gallery2-url-rewrite-plugin' rel='bookmark' title='Permanent Link: Gallery2 URL Rewrite Plugin'>Gallery2 URL Rewrite Plugin</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://www.vincentkong.com/2008/06/permalinks-in-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Plugins</title>
		<link>https://www.vincentkong.com/2008/06/wordpress-plugins</link>
		<comments>https://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 into the wp-content/plugins folder of the WordPress root folder. In the Dashboard, click on the [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2008/07/stopping-spam-in-wordpress' rel='bookmark' title='Permanent Link: Stopping Spam in WordPress'>Stopping Spam in WordPress</a></li>
<li><a href='https://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Permanent Link: Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='https://www.vincentkong.com/2008/06/permalinks-in-wordpress' rel='bookmark' title='Permanent Link: 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/">WP-Table</a>: This plugin creates and manages tables for WordPress.</p>


<p>Related posts:<ol><li><a href='https://www.vincentkong.com/2008/07/stopping-spam-in-wordpress' rel='bookmark' title='Permanent Link: Stopping Spam in WordPress'>Stopping Spam in WordPress</a></li>
<li><a href='https://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Permanent Link: Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='https://www.vincentkong.com/2008/06/permalinks-in-wordpress' rel='bookmark' title='Permanent Link: Permalinks in WordPress'>Permalinks in WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://www.vincentkong.com/2008/06/wordpress-plugins/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress Quickstart Guide</title>
		<link>https://www.vincentkong.com/2008/05/wordpress-quickstart-guide</link>
		<comments>https://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 into the a web server&#8217;s public HTML directory. $ tar -zxvf latest.tar.gz $ mv wordpress/* [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2007/05/mysql-for-ubuntu-quickstart-guide' rel='bookmark' title='Permanent Link: MySQL for Ubuntu Quickstart Guide'>MySQL for Ubuntu Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Permanent Link: Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2008/06/gallery2-quickstart-guide' rel='bookmark' title='Permanent Link: 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='https://www.vincentkong.com/2007/05/mysql-for-ubuntu-quickstart-guide' rel='bookmark' title='Permanent Link: MySQL for Ubuntu Quickstart Guide'>MySQL for Ubuntu Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Permanent Link: Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2008/06/gallery2-quickstart-guide' rel='bookmark' title='Permanent Link: Gallery2 Quickstart Guide'>Gallery2 Quickstart Guide</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://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>https://www.vincentkong.com/2008/05/finish-migrating-to-wordpress</link>
		<comments>https://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 to WordPress 2.5.1 Stopping Spam in WordPress WordPress Plugins


Related posts:<ol><li><a href='https://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Permanent Link: Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='https://www.vincentkong.com/2008/07/stopping-spam-in-wordpress' rel='bookmark' title='Permanent Link: Stopping Spam in WordPress'>Stopping Spam in WordPress</a></li>
<li><a href='https://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='Permanent Link: 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='https://www.vincentkong.com/2008/05/migrating-to-wordpress-251' rel='bookmark' title='Permanent Link: Migrating to WordPress 2.5.1'>Migrating to WordPress 2.5.1</a></li>
<li><a href='https://www.vincentkong.com/2008/07/stopping-spam-in-wordpress' rel='bookmark' title='Permanent Link: Stopping Spam in WordPress'>Stopping Spam in WordPress</a></li>
<li><a href='https://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='Permanent Link: WordPress Plugins'>WordPress Plugins</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://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>https://www.vincentkong.com/2008/05/migrating-to-wordpress-251</link>
		<comments>https://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, the the organization of it&#8217;s modules and themes are lacking and confusing to use. This [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2008/05/finish-migrating-to-wordpress' rel='bookmark' title='Permanent Link: Finish Migrating to WordPress'>Finish Migrating to WordPress</a></li>
<li><a href='https://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='Permanent Link: WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='https://www.vincentkong.com/2008/07/stopping-spam-in-wordpress' rel='bookmark' title='Permanent Link: Stopping Spam in WordPress'>Stopping Spam in WordPress</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='https://www.vincentkong.com/2008/05/finish-migrating-to-wordpress' rel='bookmark' title='Permanent Link: Finish Migrating to WordPress'>Finish Migrating to WordPress</a></li>
<li><a href='https://www.vincentkong.com/2008/06/wordpress-plugins' rel='bookmark' title='Permanent Link: WordPress Plugins'>WordPress Plugins</a></li>
<li><a href='https://www.vincentkong.com/2008/07/stopping-spam-in-wordpress' rel='bookmark' title='Permanent Link: Stopping Spam in WordPress'>Stopping Spam in WordPress</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://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>https://www.vincentkong.com/2007/06/configuring-cron-job-for-drupal</link>
		<comments>https://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 perform its periodic tasks, and this will help keep your system running smoothly. If your [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal' rel='bookmark' title='Permanent Link: Configuring Multiple Sites with Drupal'>Configuring Multiple Sites with Drupal</a></li>
<li><a href='https://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Permanent Link: Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal' rel='bookmark' title='Permanent Link: 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='https://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal' rel='bookmark' title='Permanent Link: Configuring Multiple Sites with Drupal'>Configuring Multiple Sites with Drupal</a></li>
<li><a href='https://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Permanent Link: Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal' rel='bookmark' title='Permanent Link: Installing TinyMCE Editor in Drupal'>Installing TinyMCE Editor in Drupal</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://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>https://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal</link>
		<comments>https://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 integration code is located. sites/all/modules/tinymce Extract the TinyMCE editor into the directory below. This is [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2007/05/my-profile-settings-for-tinymce-editor' rel='bookmark' title='Permanent Link: My Profile Settings for TinyMCE Editor'>My Profile Settings for TinyMCE Editor</a></li>
<li><a href='https://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal' rel='bookmark' title='Permanent Link: Configuring Multiple Sites with Drupal'>Configuring Multiple Sites with Drupal</a></li>
<li><a href='https://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Permanent Link: 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='https://www.vincentkong.com/2007/05/my-profile-settings-for-tinymce-editor' rel='bookmark' title='Permanent Link: My Profile Settings for TinyMCE Editor'>My Profile Settings for TinyMCE Editor</a></li>
<li><a href='https://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal' rel='bookmark' title='Permanent Link: Configuring Multiple Sites with Drupal'>Configuring Multiple Sites with Drupal</a></li>
<li><a href='https://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Permanent Link: Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Multiple Sites with Drupal</title>
		<link>https://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal</link>
		<comments>https://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal#comments</comments>
		<pubDate>Wed, 09 May 2007 15:43:19 +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=87</guid>
		<description><![CDATA[A single Drupal installation can host several Drupal-powered sites, each with its own individual configuration. Configuration Additional sites configurations are represented by creating subdirectories under the &#8216;sites&#8217; directory of the Drupal installation. For example, the configuration for www.vincentkong.com could be &#8216;sites/www.vincentkong.com&#8217;. If users can access the site at http://vincentkong.com as well then &#8216;www.&#8217; should be [...]


Related posts:<ol><li><a href='https://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Permanent Link: Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal' rel='bookmark' title='Permanent Link: Installing TinyMCE Editor in Drupal'>Installing TinyMCE Editor in Drupal</a></li>
<li><a href='https://www.vincentkong.com/2007/06/configuring-cron-job-for-drupal' rel='bookmark' title='Permanent Link: Configuring Cron Job for Drupal'>Configuring Cron Job for Drupal</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A single Drupal installation can host several Drupal-powered sites, each with its own individual configuration.</p>
<p><strong>Configuration</strong></p>
<p>Additional sites configurations are represented by creating subdirectories under the &#8216;sites&#8217; directory of the Drupal installation. For example, the configuration for www.vincentkong.com could be &#8216;sites/www.vincentkong.com&#8217;. If users can access the site at http://vincentkong.com as well then &#8216;www.&#8217; should be omitted. Subdomains are also support, for example, my.vincentkong.com would be &#8216;sites/my.vincentkong.com&#8217;. Drupal will transverse through the directories and find the best matching directory for the site requested.</p>
<p>After the proper directory for your domain has been created copy the default configuration file &#8216;/sites/default/settings.php&#8217; into the your new directory.</p>
<p><code>$ cp ./sites/default/settings.php ./sites/vincentkong.com</code></p>
<p>Run the install script by pointing your browser to the base url of your website (e.g http://www.vincentkong.com), and follow through with the setup screens. Ensure that you <strong>DO NOT</strong> overwrite any existing databases.</p>
<p><strong>Site-Specific Modules and Themes</strong></p>
<p>Each site can have it&#8217;s own specific modules and themes in additional to those installed in the standard &#8216;modules&#8217; and &#8216;themes&#8217; directories in the base installation. To use site-specific modules or themes, create the &#8216;modules&#8217; or &#8216;themes&#8217; directory within the site configuration directory.</p>
<p><code>$ mkdir ./site/vincentkong.com/modules<br />
$ mkdir ./site/vincentkong.com/themes<br />
</code></p>
<p><strong>Apache</strong></p>
<p>When setting up virtual hosting for Apache to support multiple sites for Drupal, the DocumentRoot for all the sites should be set to the base directory of the Drupal installation. For example if my Drupal was installed in /var/www/html</p>
<p><code>&lt;VirtualHost *&gt;<br />
ServerName www.vincentkong.com<br />
DocumentRoot /var/www/drupal<br />
&lt;/VirtualHost&gt;</code></p>
<p><code>&lt;VirtualHost *&gt;<br />
ServerName my.vincentkong.com<br />
DocumentRoot /var/www/drupal<br />
&lt;/VirtualHost&gt;<br />
</code></p>


<p>Related posts:<ol><li><a href='https://www.vincentkong.com/2007/05/drupal-quickstart-guide' rel='bookmark' title='Permanent Link: Drupal Quickstart Guide'>Drupal Quickstart Guide</a></li>
<li><a href='https://www.vincentkong.com/2007/05/installing-tinymce-editor-in-drupal' rel='bookmark' title='Permanent Link: Installing TinyMCE Editor in Drupal'>Installing TinyMCE Editor in Drupal</a></li>
<li><a href='https://www.vincentkong.com/2007/06/configuring-cron-job-for-drupal' rel='bookmark' title='Permanent Link: Configuring Cron Job for Drupal'>Configuring Cron Job for Drupal</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>https://www.vincentkong.com/2007/05/configuring-multiple-sites-with-drupal/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
