Technology

What’s The Best Panorama Stitching App For iPhone?

I spent some time looking for panorama-related apps for the iPhone and came up with the following:

I’ve actually played with PanoLab a bit (landscape, portrait) after seeing p0ps Harlow using it.

Fixing Batcache to Send The Correct Content-Type Header

I’m a fan of Batcache, the Memcached-based WordPress full-page cache solution, but I’ve discovered that it ignores the content-type header set when the page is initially generated and re-sends all content with content-type: text/html. I posted a note about this at the WordPress support forums, but then I realized what the problem was: apache_response_headers() doesn’t return the content type, but headers_list() does.

The solution is to replace apache_response_headers() with headers_list() in the code, though headers_list() is PHP 5+ only, so it might be a while before we see a change like this committed. Still, I’ll shamelessly tag Andy Skelton (Batcache’s author) on it.

Facebook’s Favorite Metadata

[Facebook’s guide to sharing][1] details some meta tags to make that sharing work better:

In order to make sure that the preview is always correctly populated, you should add the tags shown below to your html. An example news story could have the following:

> 
> As shown, title contains the preview title, description contains the preview summary and image_src contains the preview image. Please make sure that none of the content fields contain any html markup because it will be stripped out. For consistency’s sake, please use the 
> 
> <meta />
> tag to provide text data for the preview, and the 
> 
> <link />
> tag for any source urls.
> 
> The title and summary tags are the minimum requirements for any preview, so make sure to include these two.

 [1]: http://www.facebook.com/share_partners.php "Facebook | Share Partners"

Jeeves Is Back! Does Your Organization Need Its Own Avatar/Personality?

If you remember Ask.com, you probably remember Jeeves. Now he’s back on the UK site. It turns out that people liked the old chap, and in this age of social media, it’s probably prudent to have a corporate avatar (it looks a lot better on Facebook, anyway). There’s more about the resurrection at Search Engine […] » about 100 words

Do We Need A WordPress Common Invite or Challenge-Response API?

The BuddyPress forums have a number of threads about handling invitations (two worth looking at: one, two), but no real solution has emerged. At the same time, there’s also a need for some means of confirming other actions such as password resets, email changes (both of those are already handled by WPMU, I know), cell phone numbers to receive SMS messages, and other actions that need to be confirmed later.

So I’m proposing a generic API to handle things like this. The built-in WordPress cron and ajax functions seem to offer a clear pattern for creating such an API: Simply, plugins and core code could register an action and a function to be called when that action is executed. The API could also store data to be sent to that function when it is executed.

Among the things I’d do with this?

  • Confirm email addresses
  • Confirm cell phone numbers via text message
  • Confirm IM accounts
  • Confirm Twitter accounts
  • Confirm password reset requests
  • Confirm invitations in BuddyPress

Anybody else interested?

Fixing User Meta To Accept Repeating Fields — Just In Time For The WordPress Has-Patch Marathon

There’s a WordPress has-patch marathon going on now and I’m hoping one of my recent patches gets some attention. I’m hoping to fix the user meta functions to allow them to accept multiple values per key, per user.

It’s listed there among the other has-patch tickets in Trac, and there’s been some discussion in WP-Hackers. Why not take a look?

WiFi Is Critical To Academia, The WiFi Alliance Says

study sponsored by the WiFi alliance reveals the following:

WiFi and college choice

  • 90% of college students say Wi-Fi access is as essential to education as classrooms and computers
  • 57% say they wouldn’t go to a college that doesn’t have free Wi-Fi
  • 79% say that without Wi-Fi access, college would be a lot harder
  • 60% agree that widely available Wi-Fi on campus is an indication that a school cares about its students

WiFi and where they use it

  • 55% have connected from coffee shops and restaurants
  • 47% from parks
  • 24% from in their cars

WiFi in the classroom

  • 55% have checked Facebook™ or MySpace™ and sent or received e-mail while using their laptop in class
  • 47% have sent instant messages to a friend during class
  • 44% used Wi-Fi to get a head start on an assignment before a class was finished

WiFi and linkbaiting statistics

  • If forced to choose, 48% would give up beer before giving up Wi-Fi

Survey methodology: “In conjunction with the Wi-Fi Alliance, Wakefield Research surveyed 501 U.S. college students in September 2008. The sampling variation in this survey is plus or minus 4.3 percentage points.”

GlobeSurfer X-1 Wireless Broadband Router

Option GlobeSurfer X•1 router: “a new product that transforms any USB wireless modem into an instant Internet-connected WiFi network capable of supporting multiple users.” Too bad I can’t figure out where to buy it. Also too bad that I can’t simply do this with a jail-broked iPhone. I mean, doesn’t an iPhone have everything it […] » about 100 words

Not Sure That rev=“canonical” Is Really The Solution

Anything that can help stop this kind of madness is worth a good long look (yes, I don’t like the DiggBar any more than John Gruber, despite Digg’s assurances it’s safe), so I’ve had rev=“canonical” on my mind (yes, that’s rev, not rel). Chris Shiflett thinks it will save the internet, but Matt Cutts suggests […] » about 300 words

CAS Is A Standard Protocol, Not A Standard Application

I’m not really part of the Jasig CAS Community (learn more), but I do maintain the wpCAS WordPress CAS client and I’ve started development of a CAS server component for WordPress. That project is on hold because one of the products that I’d expected to integrate with it doesn’t use standard CAS and the vendor […] » about 200 words

Crime vs. Highways. Or, Internet Security Is A Social (Not Technical) Problem

Stefan Savage, speaking in a segment on March 13’s On The Media, asked: The question I like to ask people is, what are you going to do to the highway system to reduce crime. And when you put it that way, it sounds absolutely ridiculous, because while criminals do use the highway, no rational person […] » about 400 words

Wufoo Forms WordPress Embed Shortcode

I tossed this together a while ago, and it even made it in to bSuite for a time, but I don’t have a need for it anymore, and I’m cleaning house.

function shortcode_wufoo( $arg ){
 // [wufoo id=z7x4m0 domain=place.wufoo.com]

 $arg = shortcode_atts( array(
 'id' => FALSE,
 'domain' => FALSE,
 'height' => 500,
 ), $arg );

 if( !$arg['id'] || !$arg['domain'] )
 return( FALSE );

 return( str_replace( array( '%%id%%','%%domain%%','%%height%%' ), array( $arg['id'], $arg['domain'], $arg['height'] ), '<iframe height="%%height%%" allowTransparency="true" frameborder="0" scrolling="no" style="width:100%; border:none" src="https://%%domain%%/embed/%%id%%/"><a href="http://%%domain%%/forms/%%id%%/">Fill out my Wufoo form!</a></iframe>' ));
}
add_shortcode( 'wufoo', 'shortcode_wufoo' );

Download the simple plugin here: wufoo_shortcode.php. Save it as wufoo_shortcode.php, upload it to your WordPress’ wp-content/plugins/ directory, then activate it.

To use it you’ll have to have a Wufoo account and forms. Then simple put in a shortcode like this [wufoo id=z7x4m0 domain=place.wufoo.com] in one of your posts or pages. The result will look like this.

Slideshare WordPress Embed Shortcode

I’m cleaning house in [bSuite][1], and I’ve decided that this shortcode function for embedding Slideshare items in WordPress needs to go. Rather than totally toss it away, however, I’m posting it here in case somebody else finds it useful.

``` function shortcode_slideshare( $arg ){ // [slideshare id=211578&doc=misty-holland-1198496990903941-2&w=425]   $arg = shortcode_atts( array( 'id' =&gt; FALSE, ), $arg );   if( ! $arg['id'] ) return( FALSE );   return( str_replace( '%%id%%', $arg['id'], '
'

)); }   add_shortcode(‘slideshare’, array(&amp;$this, ‘shortcode_slideshare’));

      </td>
    </tr>
  </table>
</div>

 [1]: http://maisonbisson.com/bsuite/

Dual-WAN or Multi-WAN Load Balancing Routers

Bonding and 802.3ad/802.1AX link aggregation it’s not, but dual- or mutil-WAN load balancing seems like a good way to improve overall bandwidth and reliability. The Cisco/Linksys RV016 (just under $400) can group up to seven different WAN connections, but the customer reviews are only so-so. For a little more I can get a Peplink Balance […] » about 200 words

Usability vs. Open Source

This article comparing the usability of Joomla vs. WordPress has already been linked by everybody’s uncle, but it’s still worth a look.

I find it amusing, however, that none of the comments so far on that blog post mention the commitment that the core WordPress team appears to have on making blogging fun. If you start with the goal of making something fun, then add sophistication to make it flexible without being complex, you’ll get a very different result than you would if you started with different goals.