A few weeks ago I said I no longer needed the Wufoo embedding code that I’d put into bSuite. I was wrong. So I’ve taken another look, fixed the code from my old post, and coded it up into a stand-alone plugin. I’ve added installation and usage instructions to the bottom of the original post.
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:
- Panorama by Airshed
- Panoramas by Helix Interactive
- TripStitch by Byteslice Software
- Pano by Debacle Software
- Panoramascope by Phil Endicott
- PanoLab and PanoLab Pro by Originate Lab
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"
Three Or More Ways To Record Or Intercept VoIP Calls
VoIP Now offers a few tips, Hackszine discusses VoIPong, and Mac VoIP mentions Cain & Abel and describes ARP poisoning to make a man-in-the-middle intercept.
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
A 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
BumpTop: Taking The Desktop Metaphor Deeper
BumpTop: a fun, intuitive 3D desktop that keeps you organized and makes you more productive. Like a real desk, but better. Your desktop doesn’t have to be a boring graveyard for lost and forgotten files anymore! Transform it with BumpTop. Create the desktop that suits your needs and style. Recently reviewed in ArsTechnica. » about 100 words
Extracting/Decompressing .RAR files on Mac OS X
Mac OS X doesn’t ship with unrar, the common Linux utility, but you can easily get it bundled in UnRarX, a convenient Mac OS X utility. Dig around and you’ll find it in UnRarX.app/Contents/Resources.
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
Sniff Sniff — Network Sniffing in Mac OS X
Adam had to remind me of this:
sudo tcpdump -i en0 -s 0 port 80
Of course tcpdump can only tell us what other machines the computer is talking to, not what the conversation is. That requires a sniffer like Wireshark.
iPhone Earbud + Business Card Hacks: Speakers and Cord Winder
Two interesting submissions to the Core77 Business Card Hacks Challenge: earbud speakers and a cord winder. » about 100 words
Damn Firewalls…But Which Firewall?
For some reason two CDNs, BitGravity and Castfire, are being blocked on campus. You might think firewall, but the problem even seems to appear outside the firewall.
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
PHP iCalendar
PHP iCalendar can parse and render iCal formatted files. Apple’s developer docs, amusingly enough, offer a few more hints along those lines.
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.
The Economist on Open Source
From The Economist in 2006: Open-source business: Open, but not as usual.
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' => FALSE,
), $arg );
if( ! $arg['id'] )
return( FALSE );
return( str_replace( '%%id%%', $arg['id'], '
'
)); } add_shortcode(‘slideshare’, array(&$this, ‘shortcode_slideshare’));
Dual-WAN or Multi-WAN Load Balancing RoutersBonding 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 Yeah, I’m That GuyI’m flying Virgin America from BOS to SFO, and apparently all their planes on that route offer in-flight internet via Gogo. $12.95 buys 3Mbps down and 300Kbps up (at least early on when nobody else seemed to be using it). I can get my iPhone online for only 8 bucks, but as far as I […] » about 200 words Usability vs. Open SourceThis 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. |