Showing posts with label Web Development. Show all posts
Showing posts with label Web Development. Show all posts

Saturday, November 3, 2012

An update to Smashingline: web feeds

I added a new feature to my "internet property" Smashingline. You can now get updates when new race results are posted through a news reader like Google Reader. Web feeds are commonly known as "RSS" and are represented by a icon (technically RSS is a specific type of web feed and Smashingline uses Atom syndication).

Previously new race results were announced through Facebook and Twitter I added RSS because of changes made by Facebook to how items appear on people's "News Feed," you know the thing that used to be called your "Wall." If you used Facebook years ago you know that all your friends' posts used to appear there. When "Facebook Fan Pages" were added you could "become a fan" and all the page's posts also appeared on your Wall. Eventually Facebook changed "Wall" to "News Feed," those "Facebook Fan Pages" became "Facebook Pages," and instead of being a fan of a page you now "Like" them. But most crucially Facebook also decided that users were getting too many posts for them to peruse so they created "EdgeRank" which is an algorithm that attempts to filter incoming posts and only show the "most relevant" ones on a person's News Feed.

Since then Facebook has tinkered with EdgeRank attempting to find the optimal mix of posts you actually care about versus advertising. This tinkering has only accelerated since Facebook's IPO. This past September Facebook announced "promoted posts" where the poster pays to increase the likelihood that their post will appear in a News Feed. The converse is that if you don't pay your posts are less likely to be seen. The most insidious part of all this is that when people "Like" a Facebook Page most of them probably believe that they will get all of the posts from the page. Most of us thought that Like was analogous to "Follow" on Twitter, unfortunately that's not so and Facebook user's are probably not getting information from organizations they are interested in.

Since Smashingline does not make money I will not be paying to promote posts (in fact I have to pay Google every month for resource usage on their App Engine platform). RSS web feeds, a pre-Facebook part of the internet, are the solution to this problem. RSS takes away the power Facebook currently has over what information people see and puts it in the hands of people and the organizations they have a relationship with. It has been suggested that Twitter and Google+ are alternatives but they both have the same problem: ultimately another entity decides what information you get. With RSS there is no gatekeeper between a person and the information they are interested in.

There are a variety of news readers freely available. Google Reader is probably the most well-known. It is very easy to add a news feed to Google Reader and after that you won't miss information from web pages you're interested in. And if you have a web site or blog you should be sure that web feeds are enabled for it, your readers will thank you.

Monday, October 17, 2011

Smashingline

I started working on Smashingline five months ago. Smashingline is a website that displays results from races. Most of the results are for footraces but there are some triathlons and a bike race or two.

For about two years I had wanted to build some sort of web property (a web site or a web app) as a way to demonstrate that I could build the frontend, backend, and an API to glue the two parts together. At the beginning of May of this year following a race that Sarah and I had both run we were discussing how tedious it was to download race results and create charts in Excel to get a better idea of how we did in the race relative to the other runners. I casually remarked that this seemed like something that would be helpful if it was online. As the thought formed I realized that this idea was a good candidate for the web site I was looking to build. I did a few quick searches but didn't find anything like it; I did turn up a variety of race results web sites, but at best they showed a table of results with a row for each runner. This presentation of data didn't (and still doesn't) give you any deep understanding of how you did compared to anyone else. A week later we were on vacation in Maine when I started putting the website together at the Maine Grind.

I made a few key decisions fairly quickly; first I chose to develop on Google's AppEngine. The reasons were entirely pragmatic: I already had the development environment including Eclipse and its AppEngine plugin installed and configured on my laptop. Second the project would be coded in Java. Since Java is very similar to C#, which I use daily at work, the learning curve was not very steep. In making these choices I had to balance conflicting desires: getting the website up and running as quickly as possible against learning a new language like Ruby or Python and an associated platform like Heroku or Amazon's AWS. In the end I decided that "shipping" the finished product was more important than academic pursuits. By the end of the vacation I had a working prototype.

Unlike the weekend projects you can often find posted to Hacker News I have probably spent about 140 hours on Smashingline. That time includes both writing code and uploading race data. About two months in to the project and with several races on the website I realized that I needed to make major changes to the way that race information was organized in the DataStore (Google's version of a database). It was taking too long to get information out and Google was changing the pricing model for AppEngine which would raise the cost of Smashingline from $0 per week to about $10 per week. Once I successfully completed those changes the site was much more responsive and the costs fell well below AppEngine's free quotas. Since then other changes have been relatively easy: adding "Like," "+1," and "Tweet" buttons to the front page and the results page for each entrant so they can share them with friends. Adding Google analytics and opening webmaster accounts at Google and Bing. Settling on the name "Smashingline" buying the domain and configuring DNS. Creating a Smashingline page on Facebook and opening a Smashingline account on Twitter. Of course there's always bug fixing and a whole host of minor improvements like a feedback form so people can suggest races for inclusion on the site.

The biggest challenge to the site going forward is the continued availablity of race data. Right now most race data on the web is an HTML table or a table embedded in a PDF file. But some of the results are only available through websites that display information for a limited number of runners at a time and they require the user to "page" through the information if they want to see all of it. Race result data, acquiring and arranging it for use on Smashingline, deserves to be the subject of its own post.

For now I have a growing backlog of features to add and not enough time to do them. Beyond that if the site is to thrive I have to deal with a variety of issues: it takes considerable time to properly format race results so they can be added to the DataStore, if the site's popularity grows data formatting will consume all of my available time (and more). Also as site usage increases its costs grow. Currently there is no advertising but that can't continue when the site exceeds AppEngine's free quotas. If ads become necessary I'd like to keep them as unobtrusive as possible. There is very little publicity for the site. Improving the site's visibility is probably more important than almost anything else, even greater than implementing new features. There is definitely a need to build relationships with race directors and other people and groups that organize races.

It's been an interesting almost six months of code hacking on vacations, nights, and weekends. If it's really true that most web sites and applications become an overnight success in about two years then I only have 18 months to go!