For the past couple of weeks, Evan and I have been trying to figure out why StreetsblogSF sometimes takes a long time to load. I wrote up a post about our work here. I’m pleased to announce that we have found the solution to this.
First we activated the slow query log on our Mysql database. It showed us the queries that were taking a long time to run. Here was the worst of them:
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN wp_ec3_schedule ec3_sch ON ec3_sch.post_id=id WHERE 1=1 AND wp_posts.post_type = ‘post’ AND (wp_posts.post_status
= ‘publish’) AND ec3_sch.post_id IS NULL GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 3030, 10;
This took 12 seconds to run on average. When it was being run, any other database query would be stalled.
(more…)
Categories: Web Development | No Comments »
Occasionally I come across problems which can’t seem to be fixed. Often there’s a way to workaround the problem so that it doesn’t have to be solved. Sometimes, though, I just have to leave it unsolved and put up with the imperfection. Here is a great example.
StreetsblogSF runs using the same software (WordPress/lighttpd) and on the same hardware as Streetsblog NYC, DC, and LA. Unlike the others, however, it occasionally takes a long time, up to a minute, to load in the browser. Go to it now and see if this happens for you. There doesn’t seem to be any pattern to when these long loads occur. Most of the time the site loads in just a few seconds.
I’m not sure why StreetsblogSF behaves like this. It is setup and configured the same as the other sites, has the same webserver settings, installed plugins etc. I checked the server logs and there are no reports of anything unusual. I watched the site load in firebug but got no additional information. (more…)
Categories: Web Development | No Comments »
How do people consume the content we create on our blogs? That is the question I’d like to examine in this post.
In the charts below, I compare the various ways that people consume our content for each of our blogs during the past month. People can come directly to our sites on their desktop browsers. They can come on their mobile devices, by hitting our mobile themes. They can subscribe to our RSS feeds using Google Reader or a similar RSS reader. And they can also subscribe to our email feeds which delivers a daily digest email to their inboxes.
(more…)
Tags:analytics, mobile, rss | Categories: Web Development | No Comments »
Over the last years, Streetfilms has become a resource for people all over the world who are interested in improving the street life of their cities. People have also started to translate the films and create new videos with subtitles for their native audience. Here’s an example of a Streetfilms video translated for Streets of Iran. This is all very exciting for the Streetfilms team!
Today, in an effort to facilitate this process, we’ve released an update to Streetfilms.org which incorporates Universal Subtitles into the site. Universal Subtitles is a system in which any film can have subtitles added to it and displayed in any language. People can play the film with subtitles by choosing any of the available translations, or even with English subtitles which is helpful for the hearing impaired.

The real genius of Universal Subtitles is that translations are crowd-sourced, that is, anyone can add a translation. Once it is added, it is available immediately on the site for anyone to use. Hopefully, over time, Streetfilms will grow a large repository of subtitles for many of our films. (more…)
Tags:streetfilms, subtitles | Categories: Web Development | 2 Comments »
Earlier this year I acknowledged the growing trend of mobile browsers and soon after rolled out an improved mobile theme to GothamSchools. This week I deployed the same mobile platform to Streetsblog.org and the other city Streetsblogs. See the new theme below:

As with GothamSchools, this new theme has many advanced features such as reformatting images on the fly to fit a particular display and integrated Share buttons. (more…)
Tags:analytics, mobile | Categories: Web Development | No Comments »
It was my birthday yesterday. It was also, perhaps, my birthday that generated the most ever Internet activity. By that I mean facebook wall posts, emails, eCards etc. And that got me thinking about the Internet and what it is doing to and for human relationships. This birthday event is the perfect microcosm from which we can study that.
Facebook
So first, let’s take a look at exactly what activity was generated by my birthday yesterday. Let’s start with Facebook.

Facebook reminds users when it is the birthday of one of their friends in a little panel beside the main news feed. For example, I’m reminded that it is my cousin, Robert Duffy’s, birthday today. Using this reminder, I can click “Rob Duffy”, type “Happy Birthday!” at the top of his wall and be done with it. Let’s time this action… okay, 2.5 seconds.
So, of my 185 Facebook friends, 3 decided to do just that.
The next rung on the engagement ladder was to type my name as well, such as “Happy Birthday Chris!”, “Happy Birthday Yudo”, “Happy Birthday Fed” or some variation on that. That might have taken an extra second, especially if they came up with some kind of nickname. I count 9 who did something like that.
Next we have those who followed the best wishes with something like “Have a great day” or even “sending a birthday dance your way.” I’d give equal points to someone who came up with an original way to wish me a happy birthday, such as “happy happy!” or followed it with an open question like “How are you doing?” So in this category we have 8. (more…)
Tags:birthday, facebook | Categories: Web Culture | 8 Comments »
A few weeks ago I upgraded our sharing infrastructure on our various Streetsblogs to use the ShareThis service. Previously we had a custom set of icons that were not integrated into a sharing service.


I made this upgrade partly to make it more obvious to people how to share posts and in so doing promote sharing and expand the reach of our content. The old buttons were in the sidebar and the new ones are larger and directly below the post. I decided to have just the twitter, facebook, and email buttons due to data from our ShareThis widget on GothamSchools which shows that these are the most popular channels.
Another benefit of going with a service like ShareThis is that it provides analytics that tell us which posts are the most shared, which channels are most popular, etc. See below: (more…)
Tags:sharethis | Categories: Web Development | No Comments »
A couple of weeks ago we deployed the Disqus commenting system across our blogs. Read more about that here. Now I want to analyze how the communities have engaged the various new features offered by Disqus.
We are currently running on free Disqus accounts. If we were to upgrade to a Plus account, we would get access to some built-in analytics. In their absence, I did this analysis by hand, by grepping through the source of Disqus moderation screens.
First, I looked at how users were authenticating when they place a comment.
| blog |
anonymous |
disqus |
google |
twitter |
facebook |
yahoo |
| GothamSchools.org |
88% |
8.5% |
0 |
3% |
0.5% |
0 |
| Streetsblog.org |
60% |
33% |
2% |
3% |
0.5% |
1.5% |
| dc.Streetsblog.org |
60% |
26% |
5% |
4% |
2% |
3% |
| la.Streetsblog.org |
52.5% |
21% |
6% |
14.5% |
5.5% |
0.5% |
| sf.Streetsblog.org |
61% |
37% |
0% |
2% |
0% |
0% |
| Streetsblog.net |
42% |
38% |
12% |
0% |
6% |
2% |
| Streetfilms.org |
55% |
25% |
10% |
6% |
3% |
1% |
The anonymous comment rate is the percentage of comments that are made anonymously as opposed to by people who authenticate with Google, Twitter, Facebook, Yahoo, or Disqus. This indicates something about how much people are willing to expose of themselves.
It makes sense that people at Streetsblog.net are the ones who are most willing to authenticate and reveal their true identities. This blog is intended to be read by the most dedicated members of the Livable Streets initiative. GothamSchools, on the other extreme, is a public journalism site that doesn’t have a strong bias so naturally has the most commenters who do not wish to reveal their identities.
I then looked at how much people were using the “Likes” button and how often people are writing a reply to a comment.
| blog |
Likes / 100 comments |
Replies / 100 comments |
| GothamSchools.org |
39 |
45 |
| Streetsblog.org |
34 |
39 |
| dc.Streetsblog.org |
66 |
29 |
| la.Streetsblog.org |
55 |
34 |
| sf.Streetsblog.org |
84 |
58 |
| Streetsblog.net |
72 |
34 |
| Streetfilms.org |
48 |
30 |
It’s good to see here that the new Disqus features are being well used.
Tags:disqus | Categories: Web Development | 1 Comment »
Several weeks ago I deployed the Disqus commenting system on GothamSchools.org. The editors there are happy with this new system. So this week I deployed Disqus on StreetsblogNYC, StreetsblogLA, StreetsblogDC, StreetsblogSF, Streetsblog.net and Streetfilms.
Technically, it was a pretty straightforward process. I had to strip out our old commenting system on these sites, which integrates with LivableStreets.com, and then install and style the Disqus system. This will allow us to shut down LivableStreets.com for good, something we’ve been wanting to do for some time.
I did run into some problems exporting our existing comments to Disqus. For some reason, the built-in exporter kept hitting errors and failing. The Disqus engineers were responsive to my complaints and said that they’re building a command-line tool for large exports to be in the next release. (more…)
Tags:disqus | Categories: Web Development, WordPress | 1 Comment »
I’ve been thinking about how to measure community activity on our blogs. This would be useful so that we can judge our effectiveness over time at enabling conversation and participation among the communities we are trying to serve.
People interact with our blogs at varying depths. It would be interesting to measure statistics at each level. First, people simply navigate to a single blog posts, then they might browse other blog posts, then they might “like” a comment or leave a comment, or several comments, and finally they may share the blog post on a social network via one of our sharing widgets.
Looking at the statistics for each of these levels would show us how shallow or deep typical blog visitors go in interacting with the blog.
For example, on GothamSchools in Feb 2011 we can gather these statistics:
127533 visits to the blog
77795 visits viewed more than one page
1449 comments were left by
390 commenters
117 shares to social networks using the sharethis widget
You can see how activity dropped off at deeper levels of participation. (more…)
Tags:analytics, stats | Categories: Web Development, WordPress | 1 Comment »