<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- generator="Joomla! 1.5 - Open Source Content Management" --><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
	<channel>
		<title>Blog</title>
		<description />
		<link>http://www.joomlavue.com/blog</link>
		<lastBuildDate>Mon, 20 Jul 2009 02:40:30 +0000</lastBuildDate>
		<generator>Joomla! 1.5 - Open Source Content Management</generator>
		<language>en-gb</language>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/joomlavue/YIjH" type="application/rss+xml" /><item>
			<title>Adding Tabbed-View to Magento Default Theme</title>
			<link>http://www.joomlavue.com/blog/21-adding-tabbed-view-to-magento-default-theme</link>
			<guid>http://www.joomlavue.com/blog/21-adding-tabbed-view-to-magento-default-theme</guid>
			<description><![CDATA[<p>Over the past few weeks, I've gotten a few requests by Magento users asking how to port Modern Theme's tabbed product view information to the Default Theme. Here it is, a step by step guide involving modifying template, layout and skin files.</p>

<p>And now, before you attempt to do any of the following, if you've tweaked your existing Default Theme before, make sure you <strong class="warning">backup your template and layout files</strong> so that you can refer back when you've done something wrong, play safe!. Ok, let's get started!</p>

<ol>
<li>Paste the following block of template code into Default Theme's product <strong>view.phtml</strong>, located in <strong>app/design/frontend/default/default/template/catalog/product/view.phtml</strong>, right before the closing div:<br /><br />
<pre xml:php="xml:php">
    <?php echo $this->getChildHtml('info_tabs') ?>
</pre>
and within the same file, remove the following template logic block:<br /><br />
<pre xml:php="xml:php">
<div class="product-collateral">
    <?php if ($_description = $this->getChildHtml('description')):?>
        <div class="collateral-box">
            <div class="head">
                <h4><?php echo $this->__('Product Description') ?></h4>
            </div>
            <?php echo $_description ?>
        </div>
    <?php endif;?>
    <?php if ($_additional = $this->getChildHtml('additional')):?>
        <div class="collateral-box">
            <div class="head">
                <h4><?php echo $this->__('Additional Information') ?></h4>
            </div>
            <?php echo $_additional ?>
        </div>
    <?php endif;?>
    <?php echo $this->getChildHtml('upsell_products') ?>
    <?php echo $this->getChildHtml('product_additional_data') ?>
</div>
</pre>
</li>]]></description>
			<author>support@joomlavue.com (Eddy)</author>
			<category>Blog</category>
			<pubDate>Mon, 02 Mar 2009 14:35:03 +0000</pubDate>
		</item>
		<item>
			<title>Ubuntu Experience</title>
			<link>http://www.joomlavue.com/blog/20-ubuntu-experience</link>
			<guid>http://www.joomlavue.com/blog/20-ubuntu-experience</guid>
			<description><![CDATA[<p>This is a short post I wrote in April last year on Open Source Community and since the site has been down for a couple of months now, I've managed to retrieve it back through Waybackmachine:</p>

<blockquote>
<p>After much time and effort spent on battling with viruses on windows XP, I finally made a switch to linux, Ubuntu linux. I got to know Ubuntu about 2 years ago when comparing different kinds of linux distros. I've tried and done the installation of Mandrake 10, Suse 9.3, Fedora Core 3 &amp; 4 and some other less known distros.</p>

<p>Of all the distro I've tried, it's undeniable that Ubuntu has the easiest interface to interact with, live cd running straight through cd-rom, easy installation and common softwares were included by default, such as open office, firefox, gaim and etc. Adding and removing program were as easy as a click and go, putting away all the bias that once said linux is only for geek. I am not a geek and I can do that, simply because Ubuntu linux got the power for me to do so.</p>

<p>Another sweet thing to mention is that we are allowed to <a href="https://shipit.ubuntu.com/">request Ubuntu CDs for free</a> with <a href="http://www.ubuntu.com/community">active community support</a>.</p>

<p>A few stuff running on my ubuntu are open-office, evolution, gaim, skype and xchat, nothing else in particular. But the whole experence does amazed me and I am aware that this was a great move.</p>

<p>That's all for now, thanks Amy for encouraging me to write here, you should give your old pc a damn try on ubuntu, hehe.</p>

<p><img class="screenshot" src="https://shop.canonical.com/images/ubuntu710.jpg" alt="Ubuntu CD Cover" /><br /><a href="http://web.archive.org/web/20070915072217/opensourcecommunity.org/2007/04/18/ubuntu-experience">The original article on opensourcecommunity.org</a>
</p>
</blockquote>]]></description>
			<author>support@joomlavue.com (Eddy)</author>
			<category>Blog</category>
			<pubDate>Tue, 25 Nov 2008 11:19:52 +0000</pubDate>
		</item>
		<item>
			<title>Fixing PHP DOMXPath Unicode issue</title>
			<link>http://www.joomlavue.com/blog/19-fixing-php-domxpath-unicode-issue</link>
			<guid>http://www.joomlavue.com/blog/19-fixing-php-domxpath-unicode-issue</guid>
			<description><![CDATA[<p>I wrote a little script a couple months back, it was used to grab my friendster's friend listings, sort them by those who logged in within last 24 hours and had them bubbled up. It was working fine until lately, as some of the usernames were shown garbled. So I checked against their profile and it showed that a few of them are using chinese and korean characters (unicode).</p>

<p>The content of the script is shown below, it starts by grabbing the first page of my friendster and performs a regular expression match against the returned content based on the defined pattern, which is set to match those paging links ranging from 1 to 999 pages. It's purpose is to get the total number of pages and proceeds to loop through the total numbers, grabs the returned content, removes unused html objects and store them to <strong>$content</strong> variable.</p>

<p>So far <strong>$content</strong> variable contains intermigled ascii and unicode characters, but they are displayed correctly when outputted.</p>

<pre xml:php="xml:php">
  ..
  $pattern = '<a href="http://www.joomlavue.com//friends/'.$friendsterID.'/[0-9]{1,3}" />';
  $null = preg_match_all($pattern, $content, $pages);
  ..
  $getUrl = "friends/$friendsterID/$i";
  ..
  //start looping
  $fp = fsockopen ("www.friendster.com", 80, $errno, $errstr, 30);
  fputs ($fp, "GET /$getUrl HTTP/1.0\r\nHost: www.friendster.com\r\nUser-Agent: MS Internet Explorer\r\n\r\n");
  while (!feof($fp)) {
      $content .= fgets($fp,1024);
  }
  ..
  $null = eregi("$fsStart(.*)$fsEnd", $content, $fsArray);
  $content = $fsArray[1];
  ..
  $fullContent .= $content;
  //end looping
  ..
  $dom = new DOMDocument();
  @$dom->loadHTML($fullContent );
  $xpath = new DOMXPath($dom);
  $xpath_query = '//html/body/div/div';
  $entries = $xpath->query($xpath_query);
  ..
  $user = $entry->nodeValue;
  ..
</pre>


]]></description>
			<author>support@joomlavue.com (Eddy)</author>
			<category>Blog</category>
			<pubDate>Tue, 11 Nov 2008 12:15:54 +0000</pubDate>
		</item>
		<item>
			<title>Google analytics advanced segmentation, custom reporting and motion chart</title>
			<link>http://www.joomlavue.com/blog/18-google-analytics-advanced-segmentation-custom-reporting-and-motion-chart</link>
			<guid>http://www.joomlavue.com/blog/18-google-analytics-advanced-segmentation-custom-reporting-and-motion-chart</guid>
			<description><![CDATA[<p>Google added a couple of new features to their free analytical tool late last month, a few of which are available by now : Advanced Segmentation, Custom Reporting and Motion Chart.</p>

<h2>Advanced Segmentation</h2>
<blockquote><p>Advanced Segmentation is a tool you can use to slice and dice your Analytics data with great precision. Advanced segments allow you to choose what types of visits you want to be considered when generating the data for a report.<br />Source : <a href="http://www.google.com/support/googleanalytics/bin/answer.py?answer=108039">Google</a></p></blockquote>
<p>One of the most important report we expect from an analytical software is traffic sources, it gives us visualization of where our web traffic are coming from. In Google Analytics, there are 3 primary sources of traffic: organic (traffic generated from search engine), referal and direct traffic. And with Advanced Segmentation, extra infomation would be displayed with each subsequent metric and dimension filter. Here are a few screenshots from our analytical report:</p>
<p class="center"><img class="screenshot" src="http://www.joomlavue.com/images/site/traffic-sources.gif" alt="google analytcis - 4 traffic source segment" /><br /><strong>4 segments of traffic sources</strong></p>

]]></description>
			<author>support@joomlavue.com (Eddy)</author>
			<category>Blog</category>
			<pubDate>Wed, 05 Nov 2008 12:06:56 +0000</pubDate>
		</item>
		<item>
			<title>Google content removal</title>
			<link>http://www.joomlavue.com/blog/16-google-content-removal</link>
			<guid>http://www.joomlavue.com/blog/16-google-content-removal</guid>
			<description><![CDATA[<p>There are times when we want part of our website to be excluded from Google Search result with reasons, such as when we are setting up a publicly accessible development site or demo site with lots of dummy contents. One way of doing that is to set up a disallow rule in robots.txt to the respective site or add a meta noindex tag to prevent googlebot or any searchbot from crawling those dummy contents.</p>

<p>However, as forgetful as some people are, just like me, when we haven't already put the disallow rule or noindex meta tag onto our sites, those diligent searchbots had already started crawling our sites at full speed. Here is the crawl stat of googlebot on this site over the past few weeks:</p>

<p><img class="screenshot" src="http://www.joomlavue.com/images/site/crawl-rate.gif" alt="Googlebot crawl stat on joomlavue.com" /></p>

<p>I have had 2 subdirectories of this site removed from Google Search listing recently, one of the sub-site was used to showcase my <a href="http://www.joomlavue.com/labs/jobboard/">Joomla Jobboard Component</a> which contains Joomla default sample contents and Jobboard Component dummy contents and another one was used to test <a href="http://www.sweetcron.com">Sweetcron Lifestream software</a>, because many of its links are unnecessarily cluttering the Google Search result with not-so-worthy contents.</p>

<p>I used <a href="http://www.google.com/webmasters/">Google Webmaster</a> to remove those 2 sub-sites, if you haven't got started using Google Webmaster yet, go do that, it's <a href="http://www.google.com/webmasters/">free and effective</a>!</p>

<p> Once logged in, there are a few sections within the dashboard and since we're dealing with content removal, let's head to <strong>Tools » Remove URLs</strong> and the rest are self-explanatory.</p>

]]></description>
			<author>support@joomlavue.com (Eddy)</author>
			<category>Blog</category>
			<pubDate>Wed, 22 Oct 2008 12:06:17 +0000</pubDate>
		</item>
		<item>
			<title>Packaging Magento Theme</title>
			<link>http://www.joomlavue.com/blog/15-packaging-magento-theme</link>
			<guid>http://www.joomlavue.com/blog/15-packaging-magento-theme</guid>
			<description><![CDATA[<p>So you've learnt how to create and customize Magento Theme or even have your custom-made theme ready to be shared with Magento Community? Before we go into details of packaging a theme, we should know a few basic terms and principles of Magento Extensions. Extensions could be of usage type of modules, language packs, design interfaces and themes and they are of 3 types of contributions:</p>

<ul>
<li><strong>Magento Core Extensions</strong>, these are extensions created by Magento Core Team and released under <em>OSL 3.0 license</em>.</li>
<li><strong>Magento Community Extensions</strong>, these are extensions created by Magento Community Members and released under <em>any open-source licenses</em>.</li>
<li><strong>Magento Commercial Extensions</strong>, these are extensions created by Commercial Third Party and released under their <em>own licensing scheme</em> and hosted under their own server.</li>
</ul>

<p>Since we'll be sharing the theme with Magento Community, our extension is categorised into Community Extension. Every submitted and approved community extension will have an extension key which is used when users are installing it through "Magento Connect Manager". Let's take a popular blogging extension: <strong><a href="http://www.magentocommerce.com/extension/445/lazzymonks-blog">Lazzymonks Blog</a></strong> as example, it has a key of "magento-community/Monk_Blog".</p>

]]></description>
			<author>support@joomlavue.com (Eddy)</author>
			<category>Blog</category>
			<pubDate>Tue, 14 Oct 2008 12:10:52 +0000</pubDate>
		</item>
		<item>
			<title>Joomla files includes</title>
			<link>http://www.joomlavue.com/blog/14-joomla-files-includes</link>
			<guid>http://www.joomlavue.com/blog/14-joomla-files-includes</guid>
			<description><![CDATA[<p><a href="http://phpimpact.wordpress.com/2008/08/04/php-applications-where-is-the-include-coming-from/">Phpimpact</a> blogged about files inclusion and dependencies of various open-source CMS and Frameworks such as Wordpress, MediaWiki, CodeIgniter and CakePHP. The inclusion and dependencies are presented in graphical output, which is useful to know which files depend on which in a clear visual representation.</p>

<p>As there wasn't any files dependency graph for Joomla yet, so I decide to generate one using <a href="http://t3.dotgnu.info/blog/php/inclued-gives-you-clue.html">Inclued</a> extension and <a href="http://www.graphviz.org/">Graphviz</a> program. The graph is generated from Joomla! 1.5.7, executing default frontpage controller with no modification.</p>

]]></description>
			<author>support@joomlavue.com (Eddy)</author>
			<category>Blog</category>
			<pubDate>Fri, 03 Oct 2008 17:47:24 +0000</pubDate>
		</item>
		<item>
			<title>Manual installation of magento modern theme</title>
			<link>http://www.joomlavue.com/blog/13-manual-installation-magento-modern-theme</link>
			<guid>http://www.joomlavue.com/blog/13-manual-installation-magento-modern-theme</guid>
			<description><![CDATA[<p>Browsing the forum today, I found that there are quite a few threads of people asking how and where to download the modern theme <em>manually</em>. Since the modern theme from Magento Core is only available through <a href="http://www.magentocommerce.com/extension/146/modern-theme-for-magento-frontend-interface">Magento Connect</a> as an extension, meaning that it must be installed through Magento Connect Manager by using the provided key, which will automatically download and install the extension.</p>

<p>That is pretty straighforward for most of us but some unfortunate users had been having issues with the automatic extension installation such as: short script execution time limited by their webhost and some unidentified script errors. So the other way of installing the theme would be manually downloading the theme files and put them into the magento theme folder. Here's how:</p>

]]></description>
			<author>support@joomlavue.com (Eddy)</author>
			<category>Blog</category>
			<pubDate>Sat, 27 Sep 2008 14:58:09 +0000</pubDate>
		</item>
		<item>
			<title>Joomla custom 404 page</title>
			<link>http://www.joomlavue.com/blog/12-joomla-custom-404-page</link>
			<guid>http://www.joomlavue.com/blog/12-joomla-custom-404-page</guid>
			<description><![CDATA[<p>An article, <a href="http://alistapart.com/articles/perfect404/">The perfect 404</a> from <a href="http://alistapart.com">A List Apart</a> mentioned that a few must-haves for a 404 page includes:</p>
<ul>
	<li>A link to the site map (if you have one) and the home page.</li>
	<li>A search box.</li>
	<li>A distinctly minimalist look.</li>
</ul>
<p>The default 404 page that Joomla provides is quite extensive but still we can add a few usable informations such as: search box (or a search link), sitemap (or a list of top links that we'd like users to browse).</p>
]]></description>
			<author>support@joomlavue.com (Eddy)</author>
			<category>Blog</category>
			<pubDate>Sun, 21 Sep 2008 15:49:03 +0000</pubDate>
		</item>
		<item>
			<title>Scribd API update</title>
			<link>http://www.joomlavue.com/blog/11-scribd-api-update</link>
			<guid>http://www.joomlavue.com/blog/11-scribd-api-update</guid>
			<description><![CDATA[<p>I had a chance to test the <a href="http://www.scribd.com/publisher/api">Scribd API</a> today. It was functioning great and with a complete documentation. The library used is <a href="http://www.scribd.com/publisher/resources">Scribd PHP Client Library</a>. But since the provided PHP Client Library is missing a few functions that are listed on the <a href="http://www.scribd.com/publisher/api">Scribd API</a> page, I decided to add a few.</p>

<p>And so far, I have added 2 functions:</p>

<h3>docs.getDownloadUrl</h3>
<pre xml:php="xml:php">
public function getDownloadUrl($doc_id, $doc_type = "original", $api_key, $api_sig = null, $session_key = null, $my_user_id = null){
	$method = "docs.getDownloadUrl";
	$params['doc_id'] = $doc_id;
	$params['doc_type'] = $doc_type;
	$params['api_key'] = $api_key;
	$params['api_sig'] = $api_sig;
	$params['session_key'] = $session_key;
	$params['my_user_id'] = $my_user_id;
	$result = $this->postRequest($method, $params);
	return $result['download_link'];
}
</pre>
]]></description>
			<author>support@joomlavue.com (Eddy)</author>
			<category>Blog</category>
			<pubDate>Fri, 19 Sep 2008 15:12:03 +0000</pubDate>
		</item>
	</channel>
</rss>
