<?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>Paradise Zero</title>
	<atom:link href="http://flmyshe.tk/feed/" rel="self" type="application/rss+xml" />
	<link>http://flmyshe.tk</link>
	<description>You Are Who You Choose To Be</description>
	<lastBuildDate>Tue, 28 Dec 2010 03:43: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>isset() vs empty() vs is_null()</title>
		<link>http://flmyshe.tk/uncategorized/isset-vs-empty-vs-is_null/</link>
		<comments>http://flmyshe.tk/uncategorized/isset-vs-empty-vs-is_null/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 03:43:21 +0000</pubDate>
		<dc:creator>flmyshe</dc:creator>
		
		<guid isPermaLink="false">http://flmyshe.tk/?p=763</guid>
		<description><![CDATA[isset(), empty(), is_null() are three usefull php functions which are primary used in testing the value of a variable. They all return a boolean value. Distinguishing the difference among these three functions are quiet important as misusing either one might introduce bug in your application. 1. isset() This function is mostly used to test incoming [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #008000;">isset()</span>, <span style="color: #008000;">empty()</span>, <span style="color: #008000;">is_null()</span> are three usefull php functions which are primary used in testing the value of a variable. They all return a boolean value. Distinguishing the difference among these three functions are quiet important as misusing either one might introduce bug in your application.</p>
<h3>1. <span style="color: #008000;">isset()</span></h3>
<p>This function is mostly used to test incoming variables such as form input variables. It returns <span style="color: #0000ff;">true</span> only is the variable is not <span style="color: #0000ff;">null</span>.</p>
<h3>2. <span style="color: #008000;">empty()</span></h3>
<p><span style="color: #008000;">empty()</span> returns true if the variable is not empty, meaning not one of the following: <span style="color: #0000ff;">&#8220;&#8221;</span>, <span style="color: #0000ff;">&#8220;0&#8243;</span>,<span style="color: #0000ff;">0</span>,<span style="color: #0000ff;">false</span>,<span style="color: #0000ff;">array()</span>,<span style="color: #0000ff;">null</span>.</p>
<h3>3. <span style="color: #008000;">is_null()</span></h3>
<p><span style="color: #008000;">is_null()</span> returns true if the variable is <span style="color: #0000ff;">null</span>. <span style="color: #008000;">is_null()</span> is the opposite of <span style="color: #008000;">isset()</span></p>
<p><span style="color: #008000;"><br />
</span></p>
<h3><span style="color: #008000;"><span style="color: #000000;">Function Comparision</span><br />
</span></h3>
<table>
<tbody>
<tr>
<th>function</th>
<th>return true if $var is</th>
</tr>
<tr>
<td><span style="color: #008000;">isset($var)</span></td>
<td>anything other than <span style="color: #0000ff;">null</span></td>
</tr>
<tr>
<td><span style="color: #008000;">empty($var)</span></td>
<td><span style="color: #0000ff;">&#8220;0&#8243;</span>, <span style="color: #0000ff;">&#8220;&#8221;</span>, <span style="color: #0000ff;">false</span>, <span style="color: #0000ff;">0</span>, <span style="color: #0000ff;">array()</span>, <span style="color: #0000ff;">null</span>, unassigned</td>
</tr>
<tr>
<td><span style="color: #008000;">is_null($var)</span></td>
<td><span style="color: #0000ff;">null</span></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://flmyshe.tk/uncategorized/isset-vs-empty-vs-is_null/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Walking Is Fun</title>
		<link>http://flmyshe.tk/uncategorized/walking-is-fun/</link>
		<comments>http://flmyshe.tk/uncategorized/walking-is-fun/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 03:03:18 +0000</pubDate>
		<dc:creator>flmyshe</dc:creator>
		
		<guid isPermaLink="false">http://flmyshe.tk/?p=756</guid>
		<description><![CDATA[I would never consider walking a fun activity to do before I really got into it. Walking is fun. I recently became kind of addictive to walking. It&#8217;s a very relaxing activity. It keeps me active and allows me to free myself from my busyness. So just grab an mp3 player and get down to [...]]]></description>
			<content:encoded><![CDATA[<p>I would never consider walking a fun activity to do before I really got into it. Walking is fun. I recently became kind of addictive to walking. It&#8217;s a very relaxing activity. It keeps me active and allows me to free myself from my busyness. So just grab an mp3 player and get down to the street, start walking and get yourself moving. </p>
]]></content:encoded>
			<wfw:commentRss>http://flmyshe.tk/uncategorized/walking-is-fun/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Error logging with htaccess</title>
		<link>http://flmyshe.tk/uncategorized/php-error-logging-with-htaccess/</link>
		<comments>http://flmyshe.tk/uncategorized/php-error-logging-with-htaccess/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 01:20:00 +0000</pubDate>
		<dc:creator>flmyshe</dc:creator>
		
		<guid isPermaLink="false">http://flmyshe.tk/?p=720</guid>
		<description><![CDATA[With Apache&#8217;s mod_rewrite rule, php error logging becomes extremely easy. The rules are simple but yet powerful. This enables you to log all errors generated during PHP runtime. It makes debugging a pleasure thing to do while it also hide the errors from showing on your live website. Error Logging With Apache Mod_rewrite Rules: Before [...]]]></description>
			<content:encoded><![CDATA[<p>With Apache&#8217;s mod_rewrite rule, php error logging becomes extremely easy. The rules are simple but yet powerful. This enables you to log all errors generated during PHP runtime. It makes debugging a pleasure thing to do while it also hide the errors from showing on your live website.<br />
<span><br /></span><br />
<span style="color: #008000;"></p>
<h2><strong>Error Logging With Apache Mod_rewrite Rules:</strong></h2>
<p></span><br />
<span><br /></span><br />
Before writing the rules, we need the htaccess file on the root of your website.</p>
<p><span style="color: #008000;"><strong>Creating a htaccess file</strong></span> on any Windows server may need a little trick since the normal right-click-&gt;create file would not work.</p>
<ul>
<li>
In Windows, just simply open notepad and then save as &#8220;.htaccess&#8221;(without quotation mark), then you have an empty htaccess file to work with.
</li>
</ul>
<p><span><br /></span><br />
Add the following rules to the htaccess file.</p>
<pre class="brush: py">
#Beginning of suppress rules
#The following rules suppress PHP errors
#These rules are ideal for using on live website,
#However, you may not want to suppress any errors on your development site.
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
#End of suppress rules

#Beginning of logging rules
php_flag  log_errors on
php_value error_log  /path/to/errors.log
#End of logging rules
</pre>
<p><span><br /></span><br />
<span style="color: #0000ff;"><strong>Note: </strong>The directory which will contain your errors log file must exist before any errors are logged, otherwise it will not create the log file automatically.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://flmyshe.tk/uncategorized/php-error-logging-with-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resetting Function Keys on HP</title>
		<link>http://flmyshe.tk/uncategorized/resetting-function-keys-on-hp/</link>
		<comments>http://flmyshe.tk/uncategorized/resetting-function-keys-on-hp/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 01:57:46 +0000</pubDate>
		<dc:creator>flmyshe</dc:creator>
		
		<guid isPermaLink="false">http://flmyshe.tk/?p=712</guid>
		<description><![CDATA[Some recent HP models feature the multimedia keys which overlaps the F1 &#8211; F12 keys. What HP does is to activate Fn key by default. What this means is that you need to press Fn + F1 to get the regular F1 key function. It turns out to be a very annoying feature for me [...]]]></description>
			<content:encoded><![CDATA[<p>Some recent HP models feature the multimedia keys which overlaps the F1 &#8211; F12 keys. What HP does is to activate Fn key by default. What this means is that you need to press Fn + F1 to get the regular F1 key function. It turns out to be a very annoying feature for me since I frequently use Alt + F2(fire up command prompt on Ubuntu) and Alt + F4 to close applications. With the new feature in HP, I have to press Alt + Fn + F2 and Alt + Fn + F4, it&#8217;s a pain in the neck.</p>
<p><img src="http://h10025.www1.hp.com/ewfrf-JAVA/Doc/images/c02035199.jpg" border="0" alt="" /></p>
<p>The solution can be found on HP&#8217;s official website</p>
<div><strong><br />
</strong></div>
<div>
<p><strong>Disable Fn in the BIOS</strong></p>
<div>To disable, or enable, the function key (fn) in the BIOS, do the following steps.</div>
<div>
<ol type="1">
<div>
<li>
<div>Press the <strong>power</strong> button to turn on the computer.</div>
</li>
</div>
<div>
<li>
<div>Press the f10  key to open the BIOS setup window.</div>
</li>
</div>
<div>
<li>
<div>Use the right-arrow or left-arrow keys to navigate to the <strong>System Configuration</strong> option.</div>
<div><img src="http://h10025.www1.hp.com/ewfrf-JAVA/Doc/images/c02035200.jpg" border="0" alt="" /></div>
</li>
</div>
<div>
<li>
<div>Use the up-arrow or down-arrow keys to navigate to the <strong>Action Keys Mode</strong> option, and then press the enter  key to display the Enable / Disable menu.</div>
</li>
</div>
<div>
<li>
<div>
<p>Select the desired mode:</p>
<ul>
<div>
<li>
<div><strong>Disabled</strong> : Requires pressing Fn key + f1 through f12 to activate action keys</div>
</li>
</div>
<div>
<li>
<div><strong>Enabled</strong> : Requires pressing only f1 through f12 to activate action keys</div>
</li>
</div>
</ul>
</div>
</li>
</div>
<div>
<li>
<div>Press f10  key to save the selection and restart the computer.</div>
</li>
</div>
</ol>
</div>
<div>The function key (fn) option can be reset at any time.</div>
</div>
<div>
</div>
<div>View <a href="1 - Function Keys f1 through f12" target="_blank">Original Post</a></div>
]]></content:encoded>
			<wfw:commentRss>http://flmyshe.tk/uncategorized/resetting-function-keys-on-hp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File/Directory Manipulation With PHP</title>
		<link>http://flmyshe.tk/uncategorized/filedirectory-manipulation-with-php/</link>
		<comments>http://flmyshe.tk/uncategorized/filedirectory-manipulation-with-php/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 02:50:58 +0000</pubDate>
		<dc:creator>flmyshe</dc:creator>
		
		<guid isPermaLink="false">http://flmyshe.tk/?p=704</guid>
		<description><![CDATA[PHP Directory Function List opendir(String $path) Opens up a directory handle for file/directory manipulation getcwd(void) Returns the current working directory. readdir(resource $dir_handle) Returns the filename of the next file in the directory. rewinddir ([ resource $dir_handle ] ) Returns the directory stream to the beginning of the directory. closedir([resource $dir_handle ]) Closes the directory. Example(Indexing [...]]]></description>
			<content:encoded><![CDATA[<p><strong><br />
<h3>PHP Directory Function List</h3>
<p></strong></p>
<ul>
<li><span style="color: #008000;">opendir(String $path)</span><br />
Opens up a directory handle for file/directory manipulation</li>
</ul>
<ul>
<li><span style="color: #008000;">getcwd(void)</span><br />
Returns the current working directory.</li>
</ul>
<ul>
<li><span style="color: #008000;">readdir(resource $dir_handle)</span><br />
Returns the filename of the next file in the directory.</li>
</ul>
<ul>
<li><span style="color: #008000;">rewinddir  ([  resource $dir_handle  ] )</span><br />
Returns the directory stream to the beginning of the directory.</li>
</ul>
<ul>
<li><span style="color: #008000;">closedir([resource $dir_handle ])</span><br />
Closes the directory.</li>
</ul>
<p><span style="color: #0000ff;"><strong>Example(Indexing the directory):</strong></span></p>
<pre class="brush: php">
&lt;?php
$cur_dir = &#039;/usr/download&#039;;
/** opens the directory handle */
$dir = opendir($cur_dir);
echo &#039;File Listing For : &#039;;
echo getcwd() . &#039;&lt;br /&gt;&lt;ul&gt;&#039;;
/** goes through each files and output the filename */
while(($file = readdir($dir)) !== false){
        /** do not output . and .. */
        if($file != &#039;.&#039; &amp;&amp; $file != &#039;..&#039;){
                echo &#039;&lt;li&gt;&#039; . $file . &#039;&lt;/li&gt;&#039;;
        }
}
echo &#039;&lt;/ul&gt;&#039;;
/** closes the directory handle */
closedir($dir);
?&gt;
</pre>
<p>
A more object oriented approach</p>
<pre class="brush: php">
&lt;?php
$cur_dir = &#039;/usr/download&#039;;
$dir = dir($cur_dir);
echo &#039;File Listing For : &#039;;
echo $cur_dir . &#039;&lt;br /&gt;&lt;ul&gt;&#039;;
/** goes through each files and output the filename */
while(($file = $dir-&gt;read()) !== false){
        /** do not output . and .. */
        if($file != &#039;.&#039; &amp;&amp; $file != &#039;..&#039;){
                echo &#039;&lt;li&gt;&#039; . $file . &#039;&lt;/li&gt;&#039;;
        }
}
echo &#039;&lt;/ul&gt;&#039;;
/** closes the directory handle */
$dir-&gt;close();
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://flmyshe.tk/uncategorized/filedirectory-manipulation-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pain • Restless Night</title>
		<link>http://flmyshe.tk/uncategorized/pain-and-restless-night/</link>
		<comments>http://flmyshe.tk/uncategorized/pain-and-restless-night/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 21:52:33 +0000</pubDate>
		<dc:creator>flmyshe</dc:creator>
		
		<guid isPermaLink="false">http://flmyshe.tk/?p=699</guid>
		<description><![CDATA[The terrible loin pain woke me up in the middle of the night. The consistent pain almost drove me crazy. It was a restless night. Tried hard to fall asleep but no vain. The pain constantly dragged me out of my dream. Took the pain killer but it took hours to act. Rolling back and [...]]]></description>
			<content:encoded><![CDATA[<p>The terrible loin pain woke me up in the middle of the night. The consistent pain almost drove me crazy. It was a restless night. Tried hard to fall asleep but no vain. The pain constantly dragged me out of my dream. Took the pain killer but it took hours to act. Rolling back and forth on the bed until I finally felt asleep. It was an awful night. Health is the most important thing in your life, but most people ignore it all day. Once you realize how health is important to you, this may be the sign that you are getting old. Young people tend to trade health for a little bit of time, but when they grow old enough, they will trade 2X time for just a hope to regain their health. </p>
]]></content:encoded>
			<wfw:commentRss>http://flmyshe.tk/uncategorized/pain-and-restless-night/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Test the load time of a web page</title>
		<link>http://flmyshe.tk/uncategorized/test-the-load-time-of-a-web-page/</link>
		<comments>http://flmyshe.tk/uncategorized/test-the-load-time-of-a-web-page/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 15:54:03 +0000</pubDate>
		<dc:creator>flmyshe</dc:creator>
		
		<guid isPermaLink="false">http://flmyshe.tk/?p=681</guid>
		<description><![CDATA[The load time of a web page has directly impact on a website/blog. It is the first impression the visitors have on your blog. Long load time of a blog will harm the user experience. Statistics shows that if the load time of a web page exceeds 10 seconds, the blog may loose 1/3 of [...]]]></description>
			<content:encoded><![CDATA[<p>The load time of a web page has directly impact on a website/blog. It is the first impression the visitors have on your blog. Long load time of a blog will harm the user experience. Statistics shows that if the load time of a web page exceeds 10 seconds, the blog may loose 1/3 of its regular visitors. Therefore optimizing the load time is an essential task to any blog and websites.</p>
<p><a href="http://tools.pingdom.com/fpt/">Pingdom</a> Provides several useful tools, including Fall Page Test, DNS Health, Ping And Traceroute. The Fall Page Test creates a chart of the size and the loading time for every single element in the URL that you want to test. It&#8217;s very straight forward and it helps you to spot the bottleneck. It helps me to reduce the load time of my blog from originally 10+ seconds to now only 4 seconds. If your blog is experiencing long loading time, you got to try this, as it may help you to throttle up your blog.<br />
<span id="more-681"></span><br />
<span><br /></span><br />
<a href="http://tools.pingdom.com/fpt/">Pingdom</a></p>
<p style="text-align: left;">Enter the URL to run the test</p>
<p style="text-align: left;"><a href="http://8wjgyw.bay.livefilestore.com/y1p91vPkeVcZtmv3-WUBRdzdjD3UtG6aTM2CRzul6-TaUJ-eqdtbi9V4pDJlzZVkzU4_tsLMuBxym-ffhEN7SMz6EuqCReBeto4/2010-07-20_110802.jpg"><img class="aligncenter" title="full page teset" src="http://8wjgyw.bay.livefilestore.com/y1p91vPkeVcZtmv3-WUBRdzdjD3UtG6aTM2CRzul6-TaUJ-eqdtbi9V4pDJlzZVkzU4_tsLMuBxym-ffhEN7SMz6EuqCReBeto4/2010-07-20_110802.jpg" alt="" width="540" height="234" /></a></p>
<p>Chart shows the size and loading time of all elements in the page, very straight forward and helpful.<br />
<span><br /></span><br />
Test Result / Benchmark</p>
<p style="text-align: center;">
<a href="http://8wjgyw.bay.livefilestore.com/y1pGpCSmqZON7lPMrMA6T4zU3ZUOWTr-dipSE3-nrHq06p4_ra2s83kbJHGfACHkFOc_KtKaIfQK2_pAETlFYIoaK-jHADPzgnn/2010-07-20_110854.jpg"><img class="aligncenter" title="test result" src="http://8wjgyw.bay.livefilestore.com/y1pGpCSmqZON7lPMrMA6T4zU3ZUOWTr-dipSE3-nrHq06p4_ra2s83kbJHGfACHkFOc_KtKaIfQK2_pAETlFYIoaK-jHADPzgnn/2010-07-20_110854.jpg?" alt="" width="443" height="484" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://flmyshe.tk/uncategorized/test-the-load-time-of-a-web-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Puppy Linux + USB</title>
		<link>http://flmyshe.tk/uncategorized/puppy-linux-usb/</link>
		<comments>http://flmyshe.tk/uncategorized/puppy-linux-usb/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 02:57:46 +0000</pubDate>
		<dc:creator>flmyshe</dc:creator>
		
		<guid isPermaLink="false">http://flmyshe.tk/?p=665</guid>
		<description><![CDATA[Puppy Linux is a extremely light weight Linux. It generally runs from a liveCD, USB thumb drive, or hard disk. The liveCD is approximately 85~128MB, which is very small when comparing to other distribution of Linux. It&#8217;s loaded with a GUI, a word processor, a browser, a video player, terminal, and any other applications which [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://www.puppylinux.com/puppylogo96.png" alt="Puppy Linux" /><br />
Puppy Linux is a extremely light weight Linux. It generally runs from a liveCD, USB thumb drive, or hard disk. The liveCD is approximately 85~128MB, which is very small when comparing to other distribution of Linux. It&#8217;s loaded with a GUI, a word processor, a browser, a video player, terminal, and any other applications which you would likely to use on a daily basis.<br />
<span id="more-665"></span><br />
Puppy usually loads on RAM, which contributes to its lightning speed. Since all files, and applications are loaded on memory, it leaves no tracks/info on the host computer.</p>
<p>With USB support, Puppy is now even more portable. It can be used virtually everywhere on every computer.</p>
<p>I have Puppy Linux on a liveCD, but I am still waiting for my new USB drive which I purchase on NewEgg.com to arrive so that I can load it with Puppy Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://flmyshe.tk/uncategorized/puppy-linux-usb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Did You Hold Your IPhone 4 The Right Way?</title>
		<link>http://flmyshe.tk/uncategorized/did-you-hold-your-iphone-4-the-right-way/</link>
		<comments>http://flmyshe.tk/uncategorized/did-you-hold-your-iphone-4-the-right-way/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 03:08:50 +0000</pubDate>
		<dc:creator>flmyshe</dc:creator>
		
		<guid isPermaLink="false">http://flmyshe.tk/?p=654</guid>
		<description><![CDATA[Since the debut of the new 4th generation of iPhone, everyone is crazy about this beautiful gadget. However, Comsumer Reports recently removed iPhone 4 from its most recommended list because of the reception issues iPhone had encountered. Apple claimed that this issue was not software related or hardware related. An iPhone user even email Apple [...]]]></description>
			<content:encoded><![CDATA[<p>Since the debut of the new 4th generation of iPhone, everyone is crazy about this beautiful gadget. However, Comsumer Reports recently removed iPhone 4 from its most recommended list because of the reception issues iPhone had encountered. Apple claimed that this issue was not software related or hardware related. An iPhone user even email Apple to inquiry the issue. Steve Jobs replied that it was due to the incorrect way of holding the phone. It turns out that it is the antenna band that causes the issue. Whenever a user touches the antenna band with his hand, it shorts out the antenna, thus dropping the reception. This is obviously a design flaw that Apple is unwilling to admit.<br />
<span><br /></span><br />
<span id="more-654"></span><br />
<span><br /></span></p>
<h3><span style="color: #008000;"><strong>PS：Quick fix.</strong></span></h3>
<p><span style="color: #0000ff;"><strong>Quick fix 1：</strong></span><br />
Hold your iPhone the right way。</p>
<p style="text-align: center;"><a href="http://public.bay.livefilestore.com/y1pjx67a9KTgM8pmoeMHyXHojjdTZHHw5MRCDaHikkwznsYxtWIh2tcBUtqfdhdS_u-FqIJenOLys4LRfhfShb9NA/wrongwayrightway.jpg"><img class="aligncenter" title="wrong-right way" src="http://public.bay.livefilestore.com/y1pjx67a9KTgM8pmoeMHyXHojjdTZHHw5MRCDaHikkwznsYxtWIh2tcBUtqfdhdS_u-FqIJenOLys4LRfhfShb9NA/wrongwayrightway.jpg" alt="" width="614" height="230" /></a></p>
<p><span><br /></span><br />
<span style="color: #0000ff;"><strong>Quick fix 2：</strong></span><br />
Purchase the phone cover for your iPhone 4</p>
<p><span><br /></span><br />
<span style="color: #0000ff;"><strong>Quick fix 3：</strong></span><br />
Use duct tape to seal the antenna gap。<br />
<span><br /></span><br />
<span><br /></span></p>
]]></content:encoded>
			<wfw:commentRss>http://flmyshe.tk/uncategorized/did-you-hold-your-iphone-4-the-right-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Now Reading Reloaded Compatibility Issues</title>
		<link>http://flmyshe.tk/uncategorized/now-reading-reloaded-compatibility-issues/</link>
		<comments>http://flmyshe.tk/uncategorized/now-reading-reloaded-compatibility-issues/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 03:46:16 +0000</pubDate>
		<dc:creator>flmyshe</dc:creator>
		
		<guid isPermaLink="false">http://flmyshe.tk/?p=645</guid>
		<description><![CDATA[As I try to create my booklist with the WordPress plugin, Now Reading Reloaded, I found that it has compatibility issues with my current theme, Mystique. It turns out that Now Reading Reloaded may not be compatible with many modern WordPress themes. The compatibility issues are caused by templates that came with the plugin. When [...]]]></description>
			<content:encoded><![CDATA[<p>As I try to <a href="http://flmyshe.tk/blogging/book-list/">create my booklist</a> with the WordPress plugin, Now Reading Reloaded, I found that it has compatibility issues with my current theme, Mystique. It turns out that Now Reading Reloaded may not be compatible with many modern WordPress themes. The compatibility issues are caused by templates that came with the plugin. When I try to view the book, the whole theme just crashed.<br />
<span><br /></span></p>
<p><span id="more-645"></span></p>
<p style="text-align: center;"><a href="http://public.bay.livefilestore.com/y1pEQS-bVxSgmjFuLG80SRSpwjLkFY9rLYSsQ0F1WaWwadbcQLCXzKbVfJcCE0H_OLjorTppkz41SEAlaHwPQfWIw/2010-07-07_084234.jpg"><img class="aligncenter" title="nr" src="http://public.bay.livefilestore.com/y1pEQS-bVxSgmjFuLG80SRSpwjLkFY9rLYSsQ0F1WaWwadbcQLCXzKbVfJcCE0H_OLjorTppkz41SEAlaHwPQfWIw/2010-07-07_084234.jpg" alt="" width="480" height="238" /></a></p>
<p><span><br /></span><br />
<img src="http://8wjgyw.bay.livefilestore.com/y1pG2I7GegxaJVgJCPb4NafrLaBUDkyHo6SGgqhy_2qci1fof-t9-PtXN7SpuslaU_XkS1VyzQpQea2gvsEFvNIytXgT_CGw0v_/x1pbglkvql4btwdovhxtp5z.gif" alt="line breaker" /><br />
<span><br /></span><br />
All templates need some slight modification so that the structure and the div of the templates would align with the current theme.<br />
<span><br /></span></p>
<pre class="brush: html">
&lt;!-- Here is part of the original template --&gt;

&lt;div id=&quot;content&quot; class=&quot;now-reading primary narrowcolumn&quot;&gt;
        &lt;div class=&quot;post-content clearfix&quot;&gt;
               .............
               .............
        &lt;/div&gt;
&lt;/div&gt;
</pre>
<p><span><br /></span><br />
What we need to do is just wrap the who div with the div container of your theme. Different themes may use different div wrapper class. So modify these templates accordingly. You may want to consult the page.php file in the directory of your current theme. Open the template in the plugin folder, Now Reading Reloaded/templates/, then only modify certain code, leave the header and footer alone.<br />
<span><br /></span></p>
<pre class="brush: html">
&lt;!-- main content: primary + sidebar(s) --&gt;
&lt;div id=&quot;main&quot;&gt;
    &lt;div id=&quot;main-inside&quot; class=&quot;clearfix&quot;&gt;

        &lt;!-- primary content --&gt;
        &lt;div id=&quot;primary-content&quot;&gt;

            &lt;div id=&quot;content&quot; class=&quot;now-reading primary narrowcolumn&quot;&gt;
                &lt;div class=&quot;post-content clearfix&quot;&gt;
                    .............
                    .............
                &lt;/div&gt;
            &lt;/div&gt;

        &lt;/div&gt;
	&lt;!-- /primary content --&gt;

        &lt;!-- side bar --&gt;
        &lt;?php get_sidebar(); ?&gt;
        &lt;!-- /side bar --&gt;

    &lt;/div&gt;
    &lt;!-- /main content --&gt;

&lt;/div&gt;
</pre>
<p><span><br /></span><br />
<img src="http://8wjgyw.bay.livefilestore.com/y1pG2I7GegxaJVgJCPb4NafrLaBUDkyHo6SGgqhy_2qci1fof-t9-PtXN7SpuslaU_XkS1VyzQpQea2gvsEFvNIytXgT_CGw0v_/x1pbglkvql4btwdovhxtp5z.gif" alt="line breaker" /><br />
<span><br /></span></p>
<p><strong><span style="color: #008000;"><br />
<h3>Result:</h3>
<p></span></strong></p>
<p style="text-align: center;"><a href="http://public.bay.livefilestore.com/y1pMP6tH4nYmwnj0UGWYX8DIPP4bmxpa4E-c4PVKp-_6Qh9sSeyjgCeD3lcwNxwL4uKEP582hJRMP7R7dA3PIJzHQ/2010-07-07_084404.jpg"><img class="aligncenter" title="nr-fix" src="http://public.bay.livefilestore.com/y1pMP6tH4nYmwnj0UGWYX8DIPP4bmxpa4E-c4PVKp-_6Qh9sSeyjgCeD3lcwNxwL4uKEP582hJRMP7R7dA3PIJzHQ/2010-07-07_084404.jpg" alt="" width="480" height="238" /></a></p>
<p><span><br /></span></p>
]]></content:encoded>
			<wfw:commentRss>http://flmyshe.tk/uncategorized/now-reading-reloaded-compatibility-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->

