I have another blog that I use entirely for my own note-taking and reference, and I very frequently refer to my notes on my iPhone. Safari on the iPhone renders the pages wonderfully, but it is a bit of a pain to have to zoom in on the text of the page. This is when I realized an iPhone-optimized version of the blog would be so nifty.
WPtouch is the best solution for WordPress blogs. It’s as simple as a plugin installation, and it is very decently polished.
It renders in “mobile” mode only for iPhone/iPod/Android clients. It has an option for those clients to still view the site in “normal” mode. It uses JQuery for various AJAX and visual effects. It just works and looks good while doing it, and I’ve recently installed it on this blog as well.
Finally, I have beautiful syntax highlighting for the code snippets I put on my blog entries! Doing this is incredibly painful with TinyMCE, especially with tag-based code, because it would try to mess with the code.
Maybe I'll actually blog about specific code examples more often now, because I'll know I won't have the hurdle of wrangling with TinyMCE.
So now I can post beauteous code snippets like this:
CFM:
-
<cfparam name="url.PerID" default="0">
-
<cftry>
-
<cfscript>
-
cfcurl="http://site.com/ws/person.cfc?wsdl";
-
p=CreateObject("webservice",cfcUrl);
-
</cfscript>
-
<p>Hello, <cfoutput>#p.getName(url.PerID)#.</cfoutput></p>
-
<cfcatch type="any"><cfoutput>#cfcatch.message#</cfoutput></cfcatch>
-
</cftry>
This is all thanks to the WordPress plugin by Amit Gupta over at iGeek.info called iG:Syntax Hiliter. You might note that it doesn't support ColdFusion out of the box. However, this plugin uses the GeSHI syntax highlighter, which does in fact support ColdFusion. So, as Adam Fortuna points out, getting ColdFusion syntax rendering is as easy as getting the cfm.php file from the GeSHI package and dropping it into iG:Syntax Hiliter's geshi directory.
After that, there may be some tweaking or style alterations you may want to make, but after activating the plugin, you're basically done. Thanks Amit!
Jenny had a post about how WordPress caching seems to mess everything up, at least in WP v2.0.2. Disabling the cache fixed a very serious error that was bringing the site down.
As it turns out, I was having a heck of a time with user management on a fresh WordPress install. When I initially logged in as Administrator, I immediately changed the default password, but then the new password wouldn't work. After several attempts, it finally accepted the new password. Later, I tried making other changes to the profile, and they just wouldn't take. But then later, some of the changes would start showing up. Very odd and perplexing.
Well, caching issues usually do cause very odd behavior. Sure enough, I disabled the caching, and everything was fine. And to further verify that this is a valid solution, if you look inside the ~/wp-content/cache directory, there are two user-oriented cache subdirectories: "users" and "userlogins". WordPress v2.0.2 apparently doesn't handle the caching very well when updating user information.
Wow. While I was on vacation, Spam Karma kind of freaked out in some way and was no longer functioning. As a result, I was left with the default WordPress comment moderation facilities.
Thank goodness for the default WordPress spam blocking functionality! Even though it left over 400 spam comments to moderate for Nazin and over 200 to moderate for my personal site (over the course of a week), at least it caught them and prevented them from appearing on the site itself!
My email client checks my accounts every 5 minutes, and on every refresh, it would pull down about 5 new comment moderation messages. That means that by yesterday, my site was getting comment spam or trackback spam once every minute during parts of the day. That is incredible.
You know, comment spam seems like a logical step for spammers, but you have to admit that the Trackback Spam, or Sping, is absolutely vile in an irritatingly clever way.
When you reach this level of blog spam, you realize how helpful services like Spam Karma are, and how incomplete CAPTCHA is as a solution to spam. It was never meant to be a total blog spam solution, but some people flog it as such. I used to be one of them. And now I'm glad I have Spam Karma. Except for its glitch (which I think was database related, not actually a fault of Spam Karma), it has had a 100% success rate for positive and negative spam identification.