Business Card: bowen@dwelle.org
Smoothbeats.com
KALX Berkeley    WSUM radio

WFMU radio
You found me. Work-wise, I'm CEO of AdMonsters, a professional association and conference series that I founded in 1999, co-founder of PrefPass, and co-founder of CreditCovers. I do a bunch of other things as well - have a look around. I don't really write much here though, so don't look for too much of that...

Let’s geek out a little. Liz was asking about social networking aggregators (she was, I swear), and I bet there are a bunch, but FriendFeed is the big one right now. As soon as I checked it out and set up my feed, I noticed that while there are a few of the online music services listed, there wasn’t a way to publish what I was listening to on my iTunes. However, since I already have Brandon Fuller’s awexxxome Now Playing iTunes Plugin installed, and that publishes to my own blog, I figured there had to be a way to hook Now Playing to FriendFeed. Sure enough, there is a “Ping” function built in to Now Playing that sends an HTTP POST to a given URL with the the now playing info. A quick download of the FriendFeed php API, and now a few lines of php bridge the gap and publish what’s playing on my PC to FriendFeed. Incredibly, it turns out that the FriendFeed API uses the same fieldnames that arrive in the Now Playing POST. That never happens.


require_once("~/lib/friendfeed-api/php/friendfeed.php");

define( 'FF_NICKNAME', 'XXXXXXXXX' );
define( 'FF_REMOTE_KEY', 'XXXXXXXXXXXX' );

if ($_POST['title']) {
$friendfeed = new FriendFeed( FF_NICKNAME, FF_REMOTE_KEY );
$entry = $friendfeed->publish_link( ‘Now Playing: ‘.$_POST['title'], $_POST['link'] );
}

Ruby on Rails looks neat. I’ve been playing with it the past couple of days. The latest version has built-in AJAX (async JScript) integration. One thing I haven’t been able to find is documentation for built-in functions like link_to and link_to_remote.

I integrated the Fade Anything Technique with Robby’s AJAX random number generator to make the updated number fade in. The only trick was finding the right callback hook in link_to_remote. I found the answer by googling link_to_remote and finding the :complete method that I used below:

< %= link_to_remote "Generate Random Number",
:update => “myrandom”,
:complete => “Fat.fade_element(’myrandom’)”,
:url => { :action => “myrandom” } %>

Are link_to and link_to_remote documented anywhere?

Firefox rocks. ExtensionsMirror is helpful. Here’s something that appears to be missing:

I usually keep my cookie prefs on “until they expire”, meaning that I accept cookies without prompting. However, I’d like to be able to have Firefox prompt me to accept cookies if the site is in a list that I define. I’ve checked out Cookie Button and the other cooke extensions, but I don’t see that anyone has dealt with this yet. C’mon all you XPI hackers! Btw, I’d prefer a context menu item vs. a button (I hate buttons).

Jan 24

Picasa 2 sure is neat. The interface is so slick, and it seems to do just about everything the right way. With one big exception — I want to be able to integrate Picasa with WordPress, as I did with iMatch. I want my captions, etc to be preserved, and I want to be able to create a blog entry for each photo, so I can reference them in other posts.

If I ever have time, I’ll have to have a look at the XML output from Picasa; some others are thinking the same thing. The thing about this XML is that I’d have to write some code on the PC to parse the XML, upload the images, and create entries in the WordPress database. Granted, that’s what I did with iMatch, but if one was to do that, it would be nice to have access to Picasa’s database, instead of having to word off of a static export file.

For some reason I couldn’t find a good WordPress post bookmarklet, so here’s mine. bookmarklet.php was already set up to accept post_title and content; I added support for feeding the referring url into the trackback url field. This requires a small change in bookmarklet.php and edit-form.php.

Moblog
Recent Posts

Fatal error: Call to undefined function: recent_posts() in /home/.ragamuffin/bdwelle/dwelle.org/index.php on line 214