<?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>Sandbox Blogger</title>
	<atom:link href="http://sandboxblogger.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sandboxblogger.com</link>
	<description>Writings from a SandBlog</description>
	<lastBuildDate>Mon, 11 Feb 2008 21:27:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Post Teaser issue with WordPress 2.3.2</title>
		<link>http://sandboxblogger.com/post-teaser-issue-with-wordpress-232/</link>
		<comments>http://sandboxblogger.com/post-teaser-issue-with-wordpress-232/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 21:27:57 +0000</pubDate>
		<dc:creator>Han</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Post Teaser]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://sandboxblogger.com/post-teaser-issue-with-wordpress-232/</guid>
		<description><![CDATA[Of late, I&#8217;ve been receiving some complains about Post Teaser not working with WordPress 2.3.2 (I have yet to hear about WordPress 2.3.3 so, no idea if there are problems in 2.3.3). I&#8217;ve done some investigation but so far I&#8217;ve yet to find any real issue. I&#8217;ve tried to put up a test blogs to [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
//2007-04-01: SBB Post1
google_ad_channel = "7510872587";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>Of late, I&#8217;ve been receiving some complains about Post Teaser not working with WordPress 2.3.2 (I have yet to hear about WordPress 2.3.3 so, no idea if there are problems in 2.3.3). I&#8217;ve done some investigation but so far I&#8217;ve yet to find any real issue. I&#8217;ve tried to put up a test blogs to re-produce the problem but so far, I&#8217;ve come up empty. Unfortunately, if I can see the problem, I won&#8217;t be able to do anything to fix it. I&#8217;d figure I do not have many options but to call for help on the collective on the Internet to help me pin-point the actual problem. Please look at the description below to see if you have seen it before.</p>
<p>The two complains I&#8217;ve heard that I can not re-produce is:</p>
<ol>
<li> Post Teaser skipping post. Most of the posts are teased but a few is not and it does not look like the post itself is malformed.</li>
<li>Post Teaser caused sidebar to disappear. When ever Post Teaser is enabled, the sidebar is gone.</li>
</ol>
<p>For problem #1, my investigation always starts at checking the post to see if the cause for Post Teaser to skip certain post is the way those posts are written. To be brief, the two common type of post that cause Post Teaser to skip post are to write a long post in one paragraph and to use &lt;br /&gt; in place of &lt;p&gt;&#8230;&lt;/p&gt; tag pair for paragraph break. I&#8217;ve eliminate both the cause in the recent reports. However, I&#8217;ve not been able to find anything else that may cause the problem.</p>
<p>For problem #2, this is the first time I&#8217;ve heard of this problem. After testing that Post Teaser does in fact works with WordPress 2.3.2, I have one suspicion, which is widgets. I&#8217;ve tested that quite extensively as well and still I can not find what is causing some blogs to crash their sidebar.</p>
<p>For those who have one or both of the above problem and is willing to spend time to help me determine what is the real cause of those problems, please drop me a note here: <a href="http://sandboxblogger.com/contact/">http://sandboxblogger.com/contact/</a></p>
<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-04-01: SBB Post2
google_ad_channel = "5982299188";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sandboxblogger.com/post-teaser-issue-with-wordpress-232/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Post Teaser 3.10 released!</title>
		<link>http://sandboxblogger.com/post-teaser-310-released/</link>
		<comments>http://sandboxblogger.com/post-teaser-310-released/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 21:18:31 +0000</pubDate>
		<dc:creator>Han</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Post Teaser]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://sandboxblogger.com/post-teaser-310-released/</guid>
		<description><![CDATA[I’m still learning my way around the WordPress Plugins directory and repos. Preparing for a release can drain the energy out of me. What’s new in 3.10 Post Teaser now in Greek. Many thanks to Alexander for the translation. Added a FAQ entry. I have had quite a few queries about why Post Teaser failed [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
//2007-04-01: SBB Post1
google_ad_channel = "7510872587";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>I’m still learning my way around the WordPress Plugins directory and repos. Preparing for a release can drain the energy out of me.</p>
<h3>What’s new in 3.10</h3>
<ul>
<li>Post Teaser now in Greek. Many thanks to <a href="http://www.tech-spot.gr" title="Alexander Kanakaris">Alexander</a> for the translation.</li>
<li>Added a FAQ entry. I have had quite a few queries about why Post Teaser failed to split some/all of the post. I’d figure that need to be addressed in the FAQ.</li>
</ul>
<p>For users that is waiting for a fix or feature enhancement, I’m sorry but none made it to this release due to me busy schedule of late. I’ll still try to get one release out by the end of the year and hopefully be able to fix some issue at that release.</p>
<p>So be warned. For non-Greek speaking folks, there is little point in upgrading to 3.10. In fact, there is no point upgrading even for Greek speaking folks. Just grab the translate file form the repos and follow &#8220;Is this plugin available in other languages? in the FAQ. It will work just fine with 3.9. The only reason for the version bump is due to how WordPress Plgins directory is organized (details too boring to include here).</p>
<p>If you want to upgrade for the sake of a higher version number, here is where you get the latest <a href="http://wordpress.org/extend/plugins/post-teaser/" title="Post Teaser WordPress plugin">Post Teaser</a>.</p>
<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-04-01: SBB Post2
google_ad_channel = "5982299188";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sandboxblogger.com/post-teaser-310-released/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>FIXED: Post Teaser compatibility issue with WordPress 2.2.x</title>
		<link>http://sandboxblogger.com/fixed-post-teaser-compatibility-issue-with-wordpress-22x/</link>
		<comments>http://sandboxblogger.com/fixed-post-teaser-compatibility-issue-with-wordpress-22x/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 21:13:40 +0000</pubDate>
		<dc:creator>Han</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[SandboxBlogger]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://sandboxblogger.com/fixed-post-teaser-compatibility-issue-with-wordpress-22x/</guid>
		<description><![CDATA[UPDATE: I’ve manage to get in touch with the maintainer of the official WordPress plugin site and have since gain control of the Post Teaser plugin page and repository. The only thing now is to also get control of the old WP-Plugin wiki so that I can point users to the new release. BTW, here [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
//2007-04-01: SBB Post1
google_ad_channel = "7510872587";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span><strong><em>UPDATE: I’ve manage to get in touch with the maintainer of the official WordPress plugin site and have since gain control of the Post Teaser plugin page and repository. The only thing now is to also get control of the old WP-Plugin wiki so that I can point users to the new release. BTW, here is the <a href="http://wordpress.org/extend/plugins/post-teaser/" title="Official Post Teaser plugin page">official Post Teaser plugin</a> page.</em></strong></p>
<p>After much debugging and sleepless nights, I’ve got to fix the Post Teaser plugin. Although if I’m an experienced PHP programmer, I would have manage the fix in a matter of hours but I’m still learning. I still can’t program PHP if my life depends on it (at least not in a timely fashion). Regardless I’ve fix the issue and I’m now happy with the result.</p>
<p>Now, the difficult part. I have had a chat with <a href="http://jonathanleighton.com/" title="JonathanLeighton.com">Jonathan Leighton</a>, the original developer for the Post Teaser plugin and he is not maintaining the plugin anymore. On top of that, he has also lost access to the official Post Teaser wiki page at WordPress Plugin Repository. So, I bite the bullet and ask to take over maintaining Post Teaser. Hurray! He agrees. However, there is still one issue to resolve. That is the access to the WordPress Plugin wiki. I’ll need to work it out later but for now (in order not to keep everyone waiting), I’ve hosted it on SandBoxBlogger.com at the <a href="http://sandboxblogger.com/plugins/post_teaser/" title="Post Teaser plugin page on Sandboxblogger.com">Post Teaser plugin page</a>.</p>
<p>Please feel free to download and use it as you would on the WordPress Plugin Repository. Post Teaser is not my puppy. Hurray!</p>
<p><em><strong>PS:</strong> If anyone knows how to get into contact with the WordPress Plugin Repository admin, please help pass along the word that I have taken over the development of Post Teaser. I need the access if I am to continue working on this plugin.</em><br />
<span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-04-01: SBB Post2
google_ad_channel = "5982299188";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sandboxblogger.com/fixed-post-teaser-compatibility-issue-with-wordpress-22x/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>My WordPress blog broke because of the Post Teaser plugin</title>
		<link>http://sandboxblogger.com/my-wordpress-blog-broke-because-of-the-post-teaser-plugin/</link>
		<comments>http://sandboxblogger.com/my-wordpress-blog-broke-because-of-the-post-teaser-plugin/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 21:37:24 +0000</pubDate>
		<dc:creator>Han</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[SandboxBlogger]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://sandboxblogger.com/my-wordpress-blog-broke-because-of-the-post-teaser-plugin/</guid>
		<description><![CDATA[Over the weekend, I was looking at the new features available in WordPress 2.2.1 and I thought “Hey, I really like the widget feature and I don’t need to install anything extra to get it if I upgrade SandBoxBlogger.com to the latest WordPress version.” Boy, how wrong can I be. Once I’ve enabled all the [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
//2007-04-01: SBB Post1
google_ad_channel = "7510872587";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>Over the weekend, I was looking at the new features available in <a href="http://wordpress.org/development/2007/06/wordpress-221/" title="WordPress 2.2.1">WordPress 2.2.1</a> and I thought “Hey, I really like the widget feature and I don’t need to install anything extra to get it if I upgrade SandBoxBlogger.com to the latest WordPress version.” Boy, how wrong can I be. Once I’ve enabled all the plugins, SandBoxBlogger.com was dead. I mean really dead. No error, no partial site, just a blank page. I was staring at a completely white page. Checking the source reviews that nothing loaded.<br />
The little thought cost me the weekend debugging my blog. By disabling all the plugins and re-enabling them one by one, I’ve come to the conclusion that the problem was because of the <a href="http://dev.wp-plugins.org/wiki/PostTeaser" title="Post Teaser WordPress plugin">Post Teaser plugin</a>.</p>
<p>It was quite a disappointing experience because I really like the post-teaser plugin and now the plugin does not work anymore. I’d figure I’ll track down the plugin writer and report the problem. After finding the WordPress Plugin wiki and the project page for Post Teaser, I’ve found the author <a href="http://turnipspatch.com/" title="Jonathan Leighton">Jonathan Leighton</a>. However, after looking at his site, I’ve found that Post Teaser was listed under the Projects in the past and his current projects are all Ruby on Rails. I’ve generally find it rude to ask Open Source developers to support past projects that they are not actively maintaining so I’d figure I’ll have a look and see if I can fix it. Who’d know that my second little thought cost me a lot more really late nights… Sigh.</p>
<p><em>I’m still trying to fix it so if anyone knows better please do give me a hint!</em></p>
<p><em><strong>UPDATES:</strong> I’ve found that if I remove all the <code>&lt;&#33;&#45;&#45;more&#45;&#45;&gt;</code> tags in all my post, the site is fine. Go figure. Luckily I don’t have a lot of post here. I would not recommend this solution to mature blogs with thousands of post and possibly hundreds of them have a <code>&lt;&#33;&#45;&#45;more&#45;&#45;&gt;</code> tag.</em></p>
<p><em><strong>UPDATES2:</strong> I’ve taken over the maintenance of Post Teaser and the problem with WP 2.2.x is fixed. The official post teaser page is now here: <a href="http://sandboxblogger.com/plugins/post_teaser/" title="Post Teaser">Post Teaser</a></em><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-04-01: SBB Post2
google_ad_channel = "5982299188";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sandboxblogger.com/my-wordpress-blog-broke-because-of-the-post-teaser-plugin/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Taking control of comment spam in WordPress blogs with Bad Behavior and Akismet plugins</title>
		<link>http://sandboxblogger.com/taking-control-of-comment-spam-in-wordpress-blogs-with-bad-behavior-and-akismet-plugins/</link>
		<comments>http://sandboxblogger.com/taking-control-of-comment-spam-in-wordpress-blogs-with-bad-behavior-and-akismet-plugins/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 23:50:06 +0000</pubDate>
		<dc:creator>Han</dc:creator>
				<category><![CDATA[SandboxBlogger]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://sandboxblogger.com/taking-control-of-comment-spam-in-wordpress-blogs-with-bad-behavior-and-akismet-plugins/</guid>
		<description><![CDATA[Whenever I start a blog (my own or blogs I manages for others), comment spam problems are usually the last thing that cross my mind. After all, if a blog is unknown and have virtually no traffic (like SandboxBlogger.com at the current stage), the blog will be of little interest to spammers. Those new blogs [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
//2007-04-01: SBB Post1
google_ad_channel = "7510872587";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>Whenever I start a blog (my own or blogs I manages for others), comment spam problems are usually the last thing that cross my mind. After all, if a blog is unknown and have virtually no traffic (like SandboxBlogger.com at the current stage), the blog will be of little interest to spammers. Those new blogs may not even register as a tiny bleep under the spammers&#8217; radar. One exception I have notice is that blogging or websites related blog like <a href="http://sandboxblogger.com/" title="SandboxBlogger - Writings from a SandBlog">SandboxBlogger.com</a> seems to get notice very quickly. I&#8217;ve seen spam coming in from the first month I&#8217;ve started this blog.</p>
<p>As for the rest of the blogging world, at least ones that I know will start to see comment spam when popularity and traffic pick up. I&#8217;ve also seen quite a few blogs out there react to the bombardment of comment spam by closing off comments or make it mandatory for readers to register an account just to write comments. Once that happen, those said blogs might as well declare spammers the winners because those blogs have just allowed spammers take away the freedom from those blog owners to allow open comments in their own blog. Along with that, gone is the freedom of their readers to easily make comments, even anonymously if they choose.</p>
<p>Some blog owners resort to adding captcha or other more creative method to force readers to prove themselves as human and not spambot in the comment forms. These measures may help to a certain degree but they are quite annoying to readers who simply want to make a comment. Having readers do something extra to proof themselves worthy of a comment is a really punishment to your readers for the spammers fault. On top of that, there are technology to beat these systems and besides, there is no stopping spammers paying a small amount to people in poor country that have access to the Internet to beat these systems manually.</p>
<p>Fortunately, all is not lost. There are solutions out there to help blog owners keep those pesky comment spams under control. In my experience, the <a href="http://akismet.com/" title="Stop Comment Spam and Trackback Spam « Akismet">Akismet spam filter</a> that comes preinstalled in WordPress is quite effective at filtering out spam. Once activated and configured, comments spam are dump to the Akismet spam list area located under the &#8220;Comments | Akismet Spam&#8221; tab in the WordPress dashboard. You are then free to remove it, unmark as spam or just do nothing and allow the Akismet plugin to auto remove it after 15 days. With a very low miss-rate, managing comment spam is a breeze. That is until the spam bombardment begins. That is the only snag about Akismet. As the spam list grows it will simply become too great of an effort to unmark legitimate comments that was falsely flag as spam.</p>
<p>This is where the <a href="http://www.bad-behavior.ioerror.us/" title="Bad Behavior / Bad Behaviour: Home">Bad Behavior plugin</a> will come in real handy and the best part, it works together with Akismet or any other comment filters for WordPress. This plugin is very effective because unlike Akismet, it does not filter comments by its content. Rather, Bad Behavior looks at how the comment form is access and submitted. By doing so, the Bad Behavior plugin is able to determine if there is really a human on the other side of the Internet. If it is typical of a spambot access pattern, the comment will be stop. Spam filters like Akismet will not even have the chance to see the comment. Furthermore, in the case where the Bad Behavior plugin fails to flag a comment spam, there will always be Akismet spam filters and the likes to act as the second line of defense.</p>
<p>So, don’t wait another day. Start using these plugins and take back the control over your reader’s comments from spammers.<span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-04-01: SBB Post2
google_ad_channel = "5982299188";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sandboxblogger.com/taking-control-of-comment-spam-in-wordpress-blogs-with-bad-behavior-and-akismet-plugins/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WordPress Theme Designers not paying attention to in-post photo styling and layout</title>
		<link>http://sandboxblogger.com/wordpress-theme-designers-not-paying-attention-to-in-post-photo-styling-and-layout/</link>
		<comments>http://sandboxblogger.com/wordpress-theme-designers-not-paying-attention-to-in-post-photo-styling-and-layout/#comments</comments>
		<pubDate>Sun, 17 Jun 2007 23:34:51 +0000</pubDate>
		<dc:creator>Han</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://sandboxblogger.com/wordpress-theme-designers-not-paying-attention-to-in-post-photo-styling-and-layout/</guid>
		<description><![CDATA[I have made the move from Blogger.com to WordPress as a platform for all my blogging needs for a little more then a year. Coming form a Blogger.com background, I’ve since noticed some peculiarities in the WordPress world that never even cross my mind during the days with Blogger.com. One of the most annoying is [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
//2007-04-01: SBB Post1
google_ad_channel = "7510872587";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>I have made the move from <a href="http://blogger.com" title="Blogger.com">Blogger.com</a> to <a href="http://wordpress.org" title="WordPress">WordPress</a> as a platform for all my blogging needs for a little more then a year. Coming form a Blogger.com background, I’ve since noticed some peculiarities in the WordPress world that never even cross my mind during the days with Blogger.com. One of the most annoying is the lack of or poor support for in-post photos in themes. To begin with, WordPress developers have never given much thought about how to make it easy for bloggers to place photos in posts but theme designers usually just totally ignore the possibilities of photos in posts.</p>
<p>I mean, it is one thing to have the style in the style.css, even though requires bloggers to manually apply the class to image tags, but it is another to give little or no consideration to photos layout and style within a given theme. I frequently tryout themes and I have yet to really come across one that have photos styling sorted. Immediately after applying the theme to my mock blog, I notice photo layout in my mock post will be off and there is no class in the CSS to apply to the image tag to fix the layout problem.</p>
<p>In addition, the rest of the theme’s layout usually never caters for photos that are layout with float. If I add a class to float images to the left or right, it most definitely breaks the theme layout. Although only apparent in short post with images taller then the wrapped text. More likely than not these tall images will extend beyond the post metadata area disrupting the post metadata layout. Images that are tall enough will even extend beyond the next post title.</p>
<p>Of course, I hear you protest that theme writers are usually very generous to give their hard work out for free and that I should be more grateful to their effort. Don’t get me wrong. This post is never intended to slam theme designers and I am really grateful for their work. I’m just hoping that some theme developers may come across this post and perhaps notice missing layout style in their design. Besides, I do feel that most theme developers do what they do to build up a portfolio plus it is a very good way to build links, traffic and attention to their site or blog. An over sight like leaving out style for photos does taint their effort in my opinion.</p>
<p>How many themes have you come across that not only have support styling and layout for photos in the CSS but also to have the styling of photos matches the theme?<span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-04-01: SBB Post2
google_ad_channel = "5982299188";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sandboxblogger.com/wordpress-theme-designers-not-paying-attention-to-in-post-photo-styling-and-layout/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Difference between DIV tag and SPAN tag in WordPress post content</title>
		<link>http://sandboxblogger.com/difference-between-div-tag-and-span-tag-in-wordpress-post-content/</link>
		<comments>http://sandboxblogger.com/difference-between-div-tag-and-span-tag-in-wordpress-post-content/#comments</comments>
		<pubDate>Sun, 08 Apr 2007 21:31:45 +0000</pubDate>
		<dc:creator>Han</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[SandboxBlogger]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.sandboxblogger.com/difference-between-div-tag-and-span-tag-in-wordpress-post-content/</guid>
		<description><![CDATA[If you are those blogger, like me, who would always customize themes yourself, there is no way to escape learning up some of those technologies behind web pages. No HTML, No CSS, No PHP (or whatever web language your blogger software is based on), No custom theme. Today, I&#8217;ve learn the difference between the DIV [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
//2007-04-01: SBB Post1
google_ad_channel = "7510872587";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>If you are those blogger, like me, who would always customize themes yourself, there is no way to escape learning up some of those technologies behind web pages. No HTML, No CSS, No PHP (or whatever web language your blogger software is based on), No custom theme.</p>
<p>Today, I&#8217;ve learn the difference between the DIV and the SPAN tag.</p>
<p>During my <a href="http://www.sandboxblogger.com/my-wtf-moment-with-adsense-deluxe-plugin/">WTF moment with AdSense-Deluxe plugin</a>, I was just eager to fix the unsightly misalignment that I have neglect to check the other aspect of the layout.</p>
<p>It was days after I&#8217;ve fix the misalignment in the home page that I realized the first and second paragraph in all my posts was always join together when I have place an ads panel on top of the post. In other words, the paragraph spacing had gone missing between the first and second paragraphs. The rest of the post seems unaffected and the paragraph spacing turned out correct. When I look at the page source, I saw this:</p>
<blockquote><p><code>&lt;p&gt;&lt;div…&gt;&lt;adsense code&gt;&lt;/div&gt;followed by the text in the paragraph&lt;/p&gt;</code></p></blockquote>
<p>So I went to my best pal Google and ask for help. Turns out the reason for the missing spacing between my first two paragraphs is because the DIV tag creates a line break before and after the DIV block and that will interfere with the paragraph tag &lt;P&gt;.</p>
<p>Ah ha! So all I need to do is to move the DIV in front of the paragraph tag. Like this:</p>
<blockquote><p><code>&lt;div…&gt;&lt;adsense code&gt;&lt;/div&gt;&lt;p&gt;followed by the text in the paragraph&lt;/p&gt;</code></p></blockquote>
<p>Well, that&#8217;s what I thought. Unfortunately I was not able to locate any options in WordPress that will allow me to tell WordPress to stop adding the &lt;P&gt; tags for me and let me do it myself. To fix it in that manner, it would be nothing short of a hack or a plugin. Both of which I don&#8217;t fancy.</p>
<p>When I dig deeper into some more HTML reference, I began to understand.</p>
<p>DIV is a generic block-level container that will interfere with other block elements if the DIV is contained within the other block element such as the paragraph block. What I needed was an inline container instead.</p>
<p>The solution to my problem is to use the SPAN tag instead. Like this:</p>
<blockquote><p><code>&lt;p&gt;&lt;span…&gt;&lt;adsense code&gt;&lt;/span&gt;followed by the text in the paragraph&lt;/p&gt;</code></p></blockquote>
<p><em>I still think this is a hack because the ads block should be logically divided from the rest of the post text. After all, I am going to use the float property in my style.css to move it out of line. However, WordPress does not support pure HTML writing in the write post interface, at least none that I can find.</em></p>
<p><em>If any readers knows better, please feel free to correct me.</em><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-04-01: SBB Post2
google_ad_channel = "5982299188";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sandboxblogger.com/difference-between-div-tag-and-span-tag-in-wordpress-post-content/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Simplify WordPress upgrade; a first hand experience</title>
		<link>http://sandboxblogger.com/simplify-wordpress-upgrade-a-first-hand-experience/</link>
		<comments>http://sandboxblogger.com/simplify-wordpress-upgrade-a-first-hand-experience/#comments</comments>
		<pubDate>Wed, 04 Apr 2007 21:31:55 +0000</pubDate>
		<dc:creator>Han</dc:creator>
				<category><![CDATA[SandboxBlogger]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://sandboxblogger.com/simplify-wordpress-upgrade-a-first-hand-experience/</guid>
		<description><![CDATA[The post I’ve written yesterday about giving WordPress its own directory during installation, just so happened to be WordPress upgrade day. I was rather surprise at yet another upgrade because it was not too long ago that there was this emergency upgrade to address the issue where someone hacked into their distribution server and added [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
//2007-04-01: SBB Post1
google_ad_channel = "7510872587";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>The post I’ve written yesterday about <a href="http://sandboxblogger.com/giving-wordpress-its-own-directory/">giving WordPress its own directory during installation</a>, just so happened to be <a href="http://wordpress.org/development/2007/04/wordpress-213-and-2010/">WordPress upgrade day</a>. I was rather surprise at yet another upgrade because it was not too long ago that there was this emergency upgrade to address the issue where someone hacked into their distribution server and added malicious code in the WordPress 2.1.1 package. Oh great, here we go again. I thought what the hack, I could write a post about the upgrade and how easy it is now that files are kept more separated from the WordPress files. So, today is the first real test with this kind of layout.</p>
<p><strong>NOTE: <em>If you intend to follow the instruction below for the upgrade, please read and understand the official upgrade guide at WordPress.org before you proceed. There are no guaranties that the fine folks at WordPress will not throw in a curve ball from time to time. At the very least scan through the guide to see if there is anything different with the version you are going to use for the upgrade. You have been warned.</em></strong></p>
<p>Here are the simple steps I’ve taken to upgrade WordPress from version 2.1.2 to 2.1.3. You are expected to know your way around the Linux/UNIX prompt or the cpanel equivalent to be able to follow the guide or (God forbid) the Windows system.</p>
<ol>
<li>Backup the whole website starting from the root directory of your website. Make sure to include every file (we all screw up from time to time, so better be safe than sorry).</li>
<li>Backup your database. Usually during the upgrade, there will be a step to upgrade your database. Always backup the database when ever you do anything that touches the database. Besides, it does not hurt to have an extra pair of backup.</li>
<li>Login to WordPress Dashboard and deactivate all the plugins.</li>
<li>Logout.</li>
<li>At the root of your website, rename your wordpress directory to something like “myblog.bak”. Does not matter as long as you remember what it is and it does not already exist and must not be “wordpress”.</li>
<li>Download and unzip the WordPress package. There should now be a directory name “wordpress” in the root directory of your website. If that is not the name you use before, move the “wordpress” directory to the name you have use the last time. For example “myblog”</li>
<li>If you have followed the installation instruction in yesterdays post, you should only have custom files in the wp-content directory. Now, move over all your custom files to the new WordPress directory. Remember not to overwrite the new WordPress files. If you have customized some of the WordPress files, you will need to figure what are the changes you have made and port it over to the new files.</li>
<li>You should be all set now to upgrade the database. Just follow the rest of the instruction from the official guide and you are set.</li>
<li>When you done with the upgrade, and verify that everything is in order, remember to cleanup the old WordPress directory at step 5.</li>
</ol>
<p>The experience in this upgrade is a much pleasant one for me. In the past, I will have to sort over all the files and see if they belong to WordPress or not and make sure I pull over all the customization. One thing to note is that if you do not customize any files that belong to the WordPress package, the upgrade will be the most trouble free. For example, if you want to customize and use the default WordPress theme, make sure you copy the whole directory and customize the copy. Trust me, it will make your life much easier.<span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-04-01: SBB Post2
google_ad_channel = "5982299188";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sandboxblogger.com/simplify-wordpress-upgrade-a-first-hand-experience/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Giving WordPress its own directory while leaving your blog in the root directory</title>
		<link>http://sandboxblogger.com/giving-wordpress-its-own-directory/</link>
		<comments>http://sandboxblogger.com/giving-wordpress-its-own-directory/#comments</comments>
		<pubDate>Tue, 03 Apr 2007 19:28:44 +0000</pubDate>
		<dc:creator>Han</dc:creator>
				<category><![CDATA[SandboxBlogger]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://sandboxblogger.com/giving-wordpress-its-own-directory/</guid>
		<description><![CDATA[Typically, when I install WordPress, I usually install it in the root directory of the website. That is because I prefer not to host too many things under one domain name and I really don’t like overly long URL. Simply put, I like my blogs accessible via URL like http://example.com/ rather than http://example.com/my-wonderful-blog. Installing WordPress [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
//2007-04-01: SBB Post1
google_ad_channel = "7510872587";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>Typically, when I install WordPress, I usually install it in the root directory of the website. That is because I prefer not to host too many things under one domain name and I really don’t like overly long URL. Simply put, I like my blogs accessible via URL like <em>http://example.com/</em> rather than <em>http://example.com/my-wonderful-blog</em>.</p>
<p>Installing WordPress in the root directory of the website is usually not a problem but really soon, I would start to optimize my blog for search engine and usually means, placing files like robots.txt, and sitemap.xml. Add a .htaccess file to support the customize the URL. Then there are files for ownership verification required by services like <a href="https://siteexplorer.search.yahoo.com/mysites">Yahoo! Site Explorer</a> to help clutter up the root directory even more. That is all fine until one day a new version of WordPress is released and it is time to upgrade (just like <a href="http://wordpress.org/development/2007/04/wordpress-213-and-2010/">TODAY!</a>)<br />
Every time I need to upgrade, I find myself doing a lot of cross referencing to make sure I’m not deleting the wrong files. This time around, when I’m installing WordPress for SandboxBlogger.com, I’ve came across this instruction on the <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">WordPress.org</a>. What a great idea! Basically, this simple guide showed me how to install WordPress in a subdirectory off the root directory of the website yet the URL will still remain as http://www.example.com/. Also, all other files I place in the root directory of the website is still accessible via URL like http://www.example.com/sitemap.xml.</p>
<p>For those interested, here’s how:</p>
<ol>
<li>Unzip wordpress package in the root of your website. Assuming the root of your website is <strong>~/public_html/</strong>, you will now have <strong>~/public_html/wordpress</strong> (wordpress unpacks into a subdirectory named <strong>wordpress</strong>). Move the <strong>wordpress</strong> directory to another directory name like <strong>myblog</strong>. I assume you will want to but if you don’t, remember to substitute <strong>myblog</strong> to the actual directory name you want to use.</li>
<li>Proceed to install WordPress as the installation guide said and use this URL: <strong>http://example.com/myblog/wp-admin/install.php</strong>. Your blog will now have the following URL <strong>http://example.com/myblog/</strong>.</li>
<li>Login and go to the Options panel.</li>
<li>In the box for “WordPress address (URL):” you should see <strong>http://example.com/myblog/</strong> leave that alone.</li>
<li>In the box for “Blog address (URL):” change the address to the root directory’s URL, like <strong>http://example.com/</strong>. <em>Click on the picture below to see where in the WordPress Dashboard to make the changes.</em></li>
<p><a href="http://farm1.static.flickr.com/179/461693421_b0ea8b2e9f_o.gif" title="Wordpress Dashboard"><img src="http://farm1.static.flickr.com/238/461703547_bab11d4541_o.jpg" alt="Wordpress Dashboard" class="center" /></a></p>
<li>From the file system, copy index.php from <strong>~/public_html/myblog/index.php</strong> to <strong>~/public_html/index.php</strong>.</li>
<li>Open the <strong>~/public_html/index.php</strong> file in your text editor and change the following line:<br />
<strong>require(&#8216;./wp-blog-header.php&#8217;);</strong><br />
to the following:<br />
<strong>require(&#8216;./myblog/wp-blog-header.php&#8217;);</strong></li>
<li> If you need to customize your permalink, remember to create your <strong>.htaccess</strong> file in <strong>~/public_html/.htaccess</strong></li>
</ol>
<p>Remember to also place all other files that do not belong to WordPress in <strong>~/public_html/</strong>. Example files like <strong>robots.txt</strong> and <strong>sitemap.xml</strong>.<span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-04-01: SBB Post2
google_ad_channel = "5982299188";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sandboxblogger.com/giving-wordpress-its-own-directory/feed/</wfw:commentRss>
		<slash:comments>55</slash:comments>
		</item>
		<item>
		<title>My WTF moment with AdSense-Deluxe plugin</title>
		<link>http://sandboxblogger.com/my-wtf-moment-with-adsense-deluxe-plugin/</link>
		<comments>http://sandboxblogger.com/my-wtf-moment-with-adsense-deluxe-plugin/#comments</comments>
		<pubDate>Mon, 02 Apr 2007 20:08:52 +0000</pubDate>
		<dc:creator>Han</dc:creator>
				<category><![CDATA[SandboxBlogger]]></category>

		<guid isPermaLink="false">http://sandboxblogger.com/my-wtf-moment-with-adsense-deluxe-plugin/</guid>
		<description><![CDATA[Today, I had a WTF moment when I was adding AdSense code to SandboxBlogger.com theme. Naturally, I install Wayne’s AdSense-Deluxe Plugin for WordPress to make it easy on myself. I’ve made the choice simply because AdSense-Deluxe Plugin is the best plugin out in the WordPress plugin jungle (more about that in later post). In the [...]]]></description>
			<content:encoded><![CDATA[<p><span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
//2007-04-01: SBB Post1
google_ad_channel = "7510872587";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span>Today, I had a WTF moment when I was adding AdSense code to SandboxBlogger.com theme. Naturally, I install <a href="http://www.acmetech.com/blog/2005/07/26/adsense-deluxe-wordpress-plugin/">Wayne’s AdSense-Deluxe Plugin for WordPress</a> to make it easy on myself. I’ve made the choice simply because AdSense-Deluxe Plugin is the best plugin out in the WordPress plugin jungle (more about that in later post).</p>
<p>In the past, I have been avoiding ads in posts on my other blog that I either participate or have helped to setup. All for the name of unintrusive ads, in fact too unintrusive… This time around I wanted to be a little bit bolder in my ads arrangement. However, I did not want those post ads to show up in my home page, archive pages, or any non-single pages in the blog. Ahh… Good! AdSense-Deluxe allows me to turn them off with just a few clicks to unchecked the related check box.</p>
<p>Then I saw it.<span id="more-4"></span></p>
<p><img src="http://farm1.static.flickr.com/221/461693415_d3bcd4f018_o.gif" alt="Alignment off cause by extra divs" class="center" /></p>
<p>WTF is there a gap screwing up my alignment?!</p>
<p><img src="http://farm1.static.flickr.com/172/461693419_c52a305285_o.gif" alt="A closer look" class="center" /></p>
<p>As it turns out, I wanted to make the post text wrap around the ads. Also to place a little more space around the ads so that my post text will not be too close to the ads. Without thinking, I went ahead to add a pair of DIVs around the AdSense-Deluxe commented codes in the post. Well, AdSense-Deluxe did its job by not replacing the HTML comment with AdSense code, but that leaves a pair of empty DIVs that naturally takes up space…</p>
<p>At this point, I was still in the WTF moment, franticly digging into AdSense-Deluxe code to see if I can somehow fix it to also handle the pair of DIVs around the AdSense code block. Should I hack it to use a special form of the comment code so that AdSense-Deluxe will recognize how to add the pair of DIVs around the AdSense code blog? I was thinking to myself.</p>
<p>It was only after a few hours that I realized that WTF! I could just add the pair of DIVs along with the AdSense code block in the AdSense-Deluxe options page! WTF do I need to place the pair of DIVs in the post!?</p>
<p><code>&lt;div class=”adsclass”&gt;&lt; … adsense block …&gt;&lt;/div&gt;</code></p>
<p>Talk about feeling stupid…<span class="postads"><script type="text/javascript"><!--
google_ad_client = "pub-1032740129670555";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
//2007-04-01: SBB Post2
google_ad_channel = "5982299188";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "59770E";
google_color_text = "333333";
google_color_url = "CC6600";
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></span></p>
]]></content:encoded>
			<wfw:commentRss>http://sandboxblogger.com/my-wtf-moment-with-adsense-deluxe-plugin/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

