<?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"
	>

<channel>
	<title>Click A Life</title>
	<atom:link href="http://www.clickalife.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clickalife.com</link>
	<description>~ where coding happens ~</description>
	<pubDate>Thu, 15 May 2008 02:27:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
			<item>
		<title>CakePHP: Dynamically adding a javascript in the header</title>
		<link>http://www.clickalife.com/2008/05/15/cakephp-dynamically-adding-a-javascript-in-the-header/</link>
		<comments>http://www.clickalife.com/2008/05/15/cakephp-dynamically-adding-a-javascript-in-the-header/#comments</comments>
		<pubDate>Thu, 15 May 2008 02:27:38 +0000</pubDate>
		<dc:creator>eMac</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.clickalife.com/?p=10</guid>
		<description><![CDATA[Since cake 1.2, there is already an implementation to dynamically add (or include) a javascript file in the header. This is done in case you need to include a new js file in the header on one of your modules. This will prevent putting the code in the default layout and loading unnecessary javascript files [...]]]></description>
			<content:encoded><![CDATA[<p>Since cake 1.2, there is already an implementation to dynamically add (or include) a javascript file in the header. This is done in case you need to include a new js file in the header on one of your modules. This will prevent putting the code in the default layout and loading unnecessary javascript files in the header.</p>
<p><code>&lt;?php echo $javascript-&gt;link('nameofjstoadd',false); ?&gt;</code></p>
<p>This is called in the default.ctp using &#8216;$scripts_for_layout&#8217; directive inside the header.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clickalife.com/2008/05/15/cakephp-dynamically-adding-a-javascript-in-the-header/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Easy installation of Last.fm client on Ubuntu Hardy Heron</title>
		<link>http://www.clickalife.com/2008/05/15/easy-installation-of-lastfm-client-on-ubuntu-hardy-heron/</link>
		<comments>http://www.clickalife.com/2008/05/15/easy-installation-of-lastfm-client-on-ubuntu-hardy-heron/#comments</comments>
		<pubDate>Thu, 15 May 2008 01:58:37 +0000</pubDate>
		<dc:creator>eMac</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[last.fm]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.clickalife.com/?p=9</guid>
		<description><![CDATA[To install the last.fm client on the latest Ubuntu hardy heron, simply run this on the terminal:
$ sudo apt-get install lastfm
As simple as that. 
]]></description>
			<content:encoded><![CDATA[<p>To install the last.fm client on the latest Ubuntu hardy heron, simply run this on the terminal:</p>
<p><code>$ sudo apt-get install lastfm</code></p>
<p>As simple as that. <img src='http://www.clickalife.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clickalife.com/2008/05/15/easy-installation-of-lastfm-client-on-ubuntu-hardy-heron/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu Hardy Heron: Making java plugin work in firefox beta 5</title>
		<link>http://www.clickalife.com/2008/05/13/ubuntu-hardy-heron-making-java-plugin-work-in-firefox-beta-5/</link>
		<comments>http://www.clickalife.com/2008/05/13/ubuntu-hardy-heron-making-java-plugin-work-in-firefox-beta-5/#comments</comments>
		<pubDate>Tue, 13 May 2008 06:40:34 +0000</pubDate>
		<dc:creator>eMac</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[firefox 3]]></category>

		<category><![CDATA[java]]></category>

		<category><![CDATA[jvm]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.clickalife.com/?p=8</guid>
		<description><![CDATA[This is a quick fix to make your firefox load java when accessing java enabled sites. Simply do this in the terminal:

$ cd /usr/lib/firefox-3.0b5/plugins
$ sudo ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so

]]></description>
			<content:encoded><![CDATA[<p>This is a quick fix to make your firefox load java when accessing java enabled sites. Simply do this in the terminal:</p>
<p><code><br />
$ cd /usr/lib/firefox-3.0b5/plugins<br />
$ sudo ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.clickalife.com/2008/05/13/ubuntu-hardy-heron-making-java-plugin-work-in-firefox-beta-5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Web service: Integrating Third-party applications with your custom application</title>
		<link>http://www.clickalife.com/2008/04/05/web-service-integrating-third-party-applications-with-your-custom-application/</link>
		<comments>http://www.clickalife.com/2008/04/05/web-service-integrating-third-party-applications-with-your-custom-application/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 09:47:48 +0000</pubDate>
		<dc:creator>eMac</dc:creator>
		
		<category><![CDATA[VBulletin]]></category>

		<category><![CDATA[Web service]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[nusoap]]></category>

		<guid isPermaLink="false">http://www.clickalife.com/?p=6</guid>
		<description><![CDATA[There comes a time when a developer is faced with a situation where there is a need to integrate third party applications (e.g Wordpress, Drupal, VBulletin, Joomla, Mambo, etc) with another third party application or even a custom built application. I myself is always faced with such situations and based on my experience, the implementation of web service is still the best option rather than hacking through codes of these applications.]]></description>
			<content:encoded><![CDATA[<p>There comes a time when a developer is faced with a situation where there is a need to integrate third party applications (e.g Wordpress, Drupal, VBulletin, Joomla, Mambo, etc) with another third party application or even a custom built application. I myself is always faced with such situations and based on my experience, the implementation of web service is still the best option rather than hacking through codes of these applications.</p>
<p>One such scenario is when I was asked to use VBulletin&#8217;s membership system (using the &#8216;users&#8217; table) and integrate it with Wordpress, the most popular blogging engine. Since the requirement is to use the VBulletin&#8217;s users table, the best option I can think of is to implement a web service on VBulletin. I started the project by creating a SOAP server using NuSOAP (our server farm is all on PHP4) which queries the database of VBulletin directly. Below is an example of a web service that I created for the project:</p>
<p><a href="http://www.clickalife.com/wp-content/uploads/webservice.jpg"><img class="alignnone size-medium wp-image-7" title="Sample Webservice" src="http://www.clickalife.com/wp-content/uploads/webservice-300x294.jpg" alt="" width="300" height="294" /></a></p>
<p>This web service will then be consumed by any other third-party applications. Let&#8217;s say ws_CheckMember for example checks the validity of the user in VBulletin&#8217;s users database. It returns 0 if the username doesn&#8217;t exist, 1 if it exists but password is not correct, and 3 if the username and password are both correct.</p>
<p>Next step is to create a plugin for Wordpress to override the login process. What I did is create the plugin and override the wp_login function in the pluggable.php file. Just copy and paste the entire function and customize it as a web service client. In my case, I just need to get the user&#8217;s details (username, password, and email) from VBulletin and insert it into the Wordpress&#8217; users table upon logging in. This will make the overall wordpress process (write and manage contents, ACL, comments) smooth as it is without the integration.</p>
<p>On the long run, this implementation will also make the upgrading of these third-party applications easy and possible since there are no codes modified in the core. Also take note that this integration can be implemented even when your applications are hosted on different servers. That&#8217;s the beauty of web service.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clickalife.com/2008/04/05/web-service-integrating-third-party-applications-with-your-custom-application/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Error in Visual Editor for the Illacrimo theme (Widget version)</title>
		<link>http://www.clickalife.com/2008/04/02/error-in-visual-editor-for-the-illacrimo-theme-widget-version/</link>
		<comments>http://www.clickalife.com/2008/04/02/error-in-visual-editor-for-the-illacrimo-theme-widget-version/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 18:27:57 +0000</pubDate>
		<dc:creator>eMac</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[fix]]></category>

		<category><![CDATA[theme]]></category>

		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.clickalife.com/?p=4</guid>
		<description><![CDATA[For those who are curious on how to fix the problem of the Illacrimo theme not displaying the visual editor when writing new contents on the wordpress admin panel. Here is a quick solution that works:
1. Edit your functions.php file inside the Illacrimo theme folder with a text editor like notepad.
2. Remove the extra ?&#62;&#60;?php [...]]]></description>
			<content:encoded><![CDATA[<p>For those who are curious on how to fix the problem of the Illacrimo theme not displaying the visual editor when writing new contents on the wordpress admin panel. Here is a quick solution that works:</p>
<p>1. Edit your functions.php file inside the Illacrimo theme folder with a text editor like notepad.<br />
2. Remove the extra <strong>?&gt;&lt;?php</strong> between the <strong>// Widget Settings</strong> and <strong>/* Plugin Name: Recent Comments</strong><br />
3. Voila! Your Illacrimo should work by now!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clickalife.com/2008/04/02/error-in-visual-editor-for-the-illacrimo-theme-widget-version/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
