From the monthly archives:

July 2009

PubSubHubbub is a fancy name for a rather new protocol being promoted by various services like FriendFeed, which allows you to receive updates of RSS feeds without polling.

Basically it will allow blogs and readers to communicate real time, in a push-like method, like instant messaging, and not via pulls like the way it happens now, which can take minutes or even hours (for an explanation of push and pull technologies, you can read my previous post about it).

The cool thing about PubSubHubbub is that it works on top of existing protocols (in this case Atom) so readers and source don’t have to change much. The only thing you need is to notify a server that you published and the clients have to be subscribed to that server. Dave Winer has a good, deeper, explanation of how it works.

In this tutorial I will show you how to implement PubSubHubbub in a self-hosted installation of Wordpress, using Feedburner for feed distribution and FriendFeed as the receiving client. With this system in place, your blog posts will appear in your FriendFeed in a matter of seconds.

Let’s start with Wordpress. You need to make sure that your auto-discovery RSS feed is pointing to feedburner instead of your own blog’s feed.

The way to check for that is to do a view source of your blog. On the header, you must see this:

<link rel=”alternate“ type=”application/rss+xml“ title=”jungleG RSS Feedhref=”http://feeds.feedburner.com/jungleg” />

Be careful, as some themes do not handle this properly, so you might need to manually edit the “header.php” or similar template and hardcode the Feedburner address.

I use a plugin to handle all my Feedburner chores called FD Feedburner.

Even though my blog’s feed is located at jungleg.com/feed, I don’t want the services to subscribe to this, as Wordpress won’t be able to ping the clients subscribed to the blog. We want to leave that to Feedburner, which has implemented this properly.

For the images on your blog to show up in FriendFeed, I have enabled the MediaRSS plugin, but that might not be necessary, as Feedburner pulls those fine. But if images aren’t showing up for you, try installing it.

We now move to Feedburner. Make sure you have the Ping Shot option checked:

feedburner-pingshot

This allows Feedburner to ping FriendFeed or any other subscribers that you have posted new content.

Last, but not least, you will need to configure FriendFeed. What you want to do is setup your feed to point to the Feedburner RSS feed URL (in my case http://feeds.feedburner.com/jungleg) and not your regular blog URL or regular feed URL. That way FriendFeed is directly pinged by Feedburner instead of waiting for our blog to do so, which as I said earlier won’t work.

If you want the excerpts to show, you might want to setup your feed as a Custom RSS/Atom feed and check the ”Include entry description as a comment” option (thanks Ivan for the tip).

You’re all set. You should now be able to see your posts come up in FriendFeed as soon as the Wordpress Cron (wp-cron) process is run by your blog. This might be immediate or take a minute or two to be triggered (if you’re seeing your apache logs real time, you’ll something come up like the line below (click on the line to see it in full).

wp-cron

I want to give a special thanks to Brett Slatkin for always being there for me throughout this process.

Now let’s see how this post goes up realtime on FriendFeed.

{ 58 comments }

The Audience/Complexity Ratio and Your Ideal Point of Broadcast

July 24, 2009
Thumbnail image for The Audience/Complexity Ratio and Your Ideal Point of Broadcast

Yesterday I was listening to one of Leo Laporte’s podcasts, which I believe is broadcast nationally on radio as well. I had several times seen him record it in his Twit video channel, but had never listened to him without seeing him.

Two things struck me as I listened.

First, that Leo has a very cool radio voice. Trent Hamm, a FriendFeed user, described it perfectly: “strong, deep, authoritative tones, yet still warm and inviting”.

Second, that Leo’s technologic complexity on the show is right in the middle: not too complex, not too simple.

Leo is really admired and has a very loyal and large following. He has 137,000+ followers on Twitter and this Twit shows are always buzzing with people who ask him stuff, but also help him in things he doesn’t know.

I think Leo knows more about technology than he shows or broadcasts. He has his ideal point really figured out. Of course, he’s done it for years, first on ZDTV, then TechTV and now with his own channels.

I’m thinking about many other technology newsmakers with decent following and they always seem, to me, that they weren’t advanced in their technology knowledge. They’re not hardcore programmers like I am.

Read the full article →

The Loyalty Index: Why it Should Be One of your Top Numbers

July 20, 2009
Thumbnail image for The Loyalty Index: Why it Should Be One of your Top Numbers

Back in the early days of the web, I worked in this small startup funded by a large public company. Life was good. We were pioneers heading into an uncharted jungle.

One of the first things we were discussing was how to measure the success of our web operation. Back then a lot of people were talking about “hits”, which seemed like a bad metric, as each hit would be an individual element on the page (like a page with 4 images would result in 5 hits). We decided to use pageviews instead.

We also knew we wanted to track unique visitors per month (i.e. if one visitor visits 5 times in a month, he’s counted as 1). This would tell us how many actual visitors were coming to our site.

But we knew there was something missing from this picture. We also wanted to know how well we were keeping our users “hooked” into our content. We decided to also have repeat visitors as part of our top goals and measurements.

This really worked. Even though the site was content centric (it was a network of radio station websites), we managed to add a lot of social features to it, so that users had a reason to come back often.

Today, I don’t hear about repeat visits any more in any of the business circles I move in. I hear a lot about user engagement and “let’s get a ton of traffic” or “how do I get more followers”.

Read the full article →

Google Voice App Just Killed the Telcos and Skype

July 15, 2009
Thumbnail image for Google Voice App Just Killed the Telcos and Skype

Forget Google Wave, the Google Voice Application for Android and Blackberry (with an iPhone version on the way) will be the communications revolution that will engrain Google into our daily lives.

Om Malik puts it right: Meet Google, Your Phone Company.

Why is it that revolutionary? It’s all in one little dialogue that pops up when you’re setting up your phone, which has three options (I will change the order for dramatic purposes):

  • Do not use Google Voice for any calls (Acees Google Voice messages only)
  • Only use Google Voice for international calls (Get low-priced international call rates)
  • Use Google Voice for all calls (Display your Google Voice number as called ID)

Yes, the last option means that your mobile line becomes the least important part of your cell phone. It’s just the dumb pipe to connect you to Google Voice. If I were to port my cell phone number to Google Voice (which will be an option soon) I would be able to switch phone companies without any regret, because Google Voice is now my main switchboard.

Read the full article →

If Your Content is Monetizable, You Might Have a Shot at the Free Model

July 14, 2009
Thumbnail image for If Your Content is Monetizable, You Might Have a Shot at the Free Model

There’s no such thing as Free. There is always a catch.

Malcolm Gladwell wrote a very provocative piece on The New Yorker about Wired’s Editor In Chief Chris Anderson’s book about the Free model: “Free: The Future of a Radical Price“.

In the article, Gladwell critizices Anderson’s ideas, specifically applied to YouTube’s case:

When you let people upload and download as many videos as they want, lots of them will take you up on the offer. That’s the magic of Free psychology: an estimated seventy-five billion videos will be served up by YouTube this year. Although the magic of Free technology means that the cost of serving up each video is “close enough to free to round down,” “close enough to free” multiplied by seventy-five billion is still a very large number.

In another section, Gladwell talks specifically about his world: journalism. Anderson writes on his book: “If so, leveraging the Free—paying people to get other people to write for non-monetary rewards—may not be the enemy of professional journalists. Instead, it may be their salvation”, to which Gladwell responds:

It is not entirely clear what distinction is being marked between “paying people to get other people to write” and paying people to write. If you can afford to pay someone to get other people to write, why can’t you pay people to write?

Anderson quickly replied to Gladwell on Wired’s blog with a provoking post: “Dear Malcolm: Why so threatened?“:

So that’s the difference between “paying people to write” and “paying people to get other people to write”. Somewhere down the chain, the incentives go from monetary to nonmonetary (attention, reputation, expression, etc).

Let me stop there and try to bring you a better level where we can start this conversation.

Read the full article →

Using Google Event Tracking to Know When You Get New Subscribers

July 10, 2009
Thumbnail image for Using Google Event Tracking to Know When You Get New Subscribers

One of the most annoying things about RSS is the lack of information we get about subscribers (something I’ve talked about in the past):

RSS is, in internet years, an old technology that was never meant to be measured. Feedburner and all other RSS measuring tools, compile data from the HTTP hits to your feed URL, and then manipulate this data to come up with an approximation of an audicence.

I’m always thinking how I could implement something that allows me to measure if new people are subscribing to my blog. Aside from fancy PHP programming to parse HTTP requests (if you don’t understand that, don’t worry) I thought if there was an easy way to use a mainstream tool to track this.

Google Analytics is one of those tools that are used by many blogs. There are easy to use plugins for all blogging platforms and if not, it’s pretty easy to setup on your own.

Analytics has a subset of very useful tools to track what users do on your site. Event tracking is one of those.

Basically event tracking allows you to send a “ping” to Analytics when users interact with a piece of your page. In this article I’ll show how to implement it.

Read the full article →

Stop Crying About Followers Already

July 9, 2009
Thumbnail image for Stop Crying About Followers Already

Let’s face it: social media is about our own personal or corporate egos.

A couple of days ago @nickleung asked me:

Since you’re an online expert, do you have any advice on how I can build a community for FeedbackJar.com?

I immediately answered: Interactive Feedback. That means listening and talking in a two-way channel.

I had recently come across this article by Dan Martell where he talks about how feedback is “the secret weapon for startups”. The truth is it’s not only for startups and it’s not a secret.

He gives five recommendations to enable a feedback loop. The last one is the most important: “Listening Online”.

But it’s not just listening. It’s participating.

Read the full article →

Google Has Done Bad Moves in the Past. Chrome OS is One of Them.

July 8, 2009
Thumbnail image for Google Has Done Bad Moves in the Past. Chrome OS is One of Them.

Today, as I opened my FriendFeed, I was astonished as I read, via Rob Diana, the announcement that Google will build a “Chrome OS”, geared initially to netbook users who only run web applications.

If you said “WTF?”, you were thinking exactly like me.

If you read through the official press release and skip over the marketing parts of it, you’ll come to a paragraph that sums it up for me:

While there are areas where Google Chrome OS and Android overlap, we believe choice will drive innovation for the benefit of everyone, including Google.

Why does Google need to offer two Operating Systems? Why not make an Android “light” and a full Android.

Read the full article →

Push Technology is the Core of the Real Time Web

July 7, 2009
Thumbnail image for Push Technology is the Core of the Real Time Web

Push technology is a term that is used often but rarely explained. Although we take it for granted, push technology hasn’t been around for long, and it had a false start at the very inception of the world wide web.

A client is usually your computer or your cellphone. A server is a service you use, like E-mail or Twitter. The event is usually a new piece of content, like a new Tweet or a new E-mail.

What’s the opposite of Push technology? Yes, you guessed it, it’s called “Pull Technology” and its been the most common way of transferring content on the web. In a ‘Pull’ scenario, the computer or cellphone asks the server every so often if there’s any new content, and the server then tells the computer or cellphone if it does or if it doesn’t.

Read the full article →

If You’re a FriendFeed Addict, You Must Use Feedly

July 6, 2009
Thumbnail image for If You’re a FriendFeed Addict, You Must Use Feedly

Just when I thought I was closer to giving up on Firefox, a new application, in the form of a plugin, has become a major addiction for me (and a saviour for the spiraling browser). I’m talking, of course, about Feedly.

Feedly was brought to my attention (as many other applications have) by the omnipresent Robert Scoble. He posted on FriendFeed:

I love http://www.feedly.com — it is how I read my Google Reader feeds now. Requires Firefox, but if you have it very nice headline display

I thought, Firefox plugin? No thanks. But something about the UI bit my curiosity and I decided to install it.

The truth is, it’s much more than an RSS reader. It’s an extension to FriendFeed, to a point where I’m wondering why FriendFeed hasn’t purchased them yet.

Read the full article →