Occasionally some very beautiful things here in Berlin between the grey and cold:
I’ve had a trial subscription to the fashionable Dutch morning paper: NRC.next and I got called today warning me that it is about to finish and whether I’d like to prolong my subscription with them.
I declined for the following reasons (of which I only communicated the first to the girl on the telephone):
- I don’t really have the time to read a morning newspaper. Most days I forget to get it out of the mailbox in the morning and if I take it with me I don’t really have time to read it at my place of employment anyway.
Also my mailbox is too far from my house to reasonably pick up the paper in the morning and read it at home over breakfast.
- I don’t believe in using physical resources to convey something as ephemeral as the news anymore. Yes, paper has a ‘better feel’, but I don’t think your outdated dead tree fethishism is a good excuse to impose on the environment as you do.
The free newspapers are even worse offenders handed out by the thousands, littering the trains in the morning. I think physical newspapers both free and not should be taxed to make some amends for the environmental damage they cause.
Solution: Read your news on your iPhone or other digital device.
- I don’t believe in broadcast media anymore. A physical newspaper has a lot of surplus, delivering to me not only the news I’m interested in, but also all the other news I’m not interested in. This is a waste. Not to mention the news from other newspapers I’m interested in which I’m not getting —a waste of opportunity.
Solution: Mix and mash a selection of news which is of interest to you from various newspapers, magazines, blogs and other media.
- I don’t agree with the selection of news or authors that this locale provides. Dutch newspapers write about Dutch news, from a Dutch perspective and focus almost exclusively on Dutch sports, opinions, science, books and arts. This is a narrowness of vision which is offensive if you’re interested in the world at large.
If you have a wider interest, you will probably read some English language publications and get information on the same topics days or weeks before it has been processed for the Dutch public.
Being bound to such a small locale also means that you get the best writing, the Dutch language has to offer, which is globally pretty insignificant. The New Yorker and the Times have a larger pool of talent to dip into, which explains the chasm of quality that separates them from most Dutch publications.
Solution: Learn English.
- And lastly but most importantly —taking from Talebs philosophies— reading a daily newspaper propagates the delusion that the world can be understood and controlled. Something, which is clearly not the case. It certainly cannot be understood and explained by journalists, just as much as it can’t be controlled by the people reading newspapers. Additionally being kept up to date of all the world’s events and miseries on a daily basis does not make us any happier.
Solution: Accept. Stuff happens and the world is unfathomably complex. Go to a lot of parties and people will tell you about important current events over a drink, which is all we can really hope for.
So no paper news for me and good riddance.
I am currently busy doing a project together with Tam Tam where we are tasked with developing a set of five widgets for Dutch government (assigned by the Dutch Ministry of Home Affairs and Kingdom Relations) as a proof of concept of how government data can be used. We’re developing widgets mostly because they are seen as modern, easy to develop and they can be deployed very near to users.
As a prerequisite for building these widgets, we need to work on the data sources to make them easier to use and better fitting to the available data and potential uses. Getting these data sources sorted out also provides a longer term benefit for any other party who would be interested in using this data. Our widgets are but one potential implementation in a realm of possibilities. Anybody can take the data source the widgets use and make something different and/or better. That vision is beyond the scope of this current project but it is also being worked on.
For this project we need to find a way to develop widgets which are deployable to a multitude of platforms with as much ease as possible. There are far too many widget platforms out there, as can be seen in this presentation by Niall Kennedy and because this is a Dutch project there is an elephant in the room we have to take into account.
The data sources we got were already halfway there. Some were not machine readable, those that were, were either not very well formed or did not include as much data as one would like. We filed change requests for some modifications but these move slowly in some cases. The data sources we are going to use and republish would ultimately be:
- RSS, preferrably well formed Atom and in some cases RSS 2.0 with media enclosures and/or geodata
- iCalendar (or xCal) probably wrapped in RSS
- generic XML or simpler still (CSV, TXT)
Personal vs. Public Dashboard
For widgets there are two major contexts in which they are run, either on personal dashboards such as iGoogle or Netvibes (or on public versions of these but dashboards nevertheless), but much more interestingly on social networking profile pages as a display of identity.
Ideally the widgets would work on both, though the uses of some of the data sources do not lend themselves well to be displayed on public vanity pages. Nevertheless being able to deploy widgets to both would be very welcome.
Taking the greatest common divisor of platforms restricts our set of functionality. There may be specific API methods available on each platform —most notably the social APIs exposed in the social networking platforms— which would enable us to make socially aware widgets. Incorporating sociality and the notion of a specific user is beyond the scope of this project. We most probably will rely on the cross platform nature of the client side and rely on the platform to supply us with a HTML rendering environment.
Important target platforms
Clearspring has a list of ‘drop targets’ which is pretty large. Because this is a project by the Dutch government and it is principally aimed at the Dutch public, we need to cover the online places that Dutch people use a lot first and foremost. This mostly means that we are not so interested in Orkut and Hi5 but more so in Hyves and MSN Live.
Hyves has a coverage of about 5M people in the Netherlands, MSN messenger and by extension the entire MSN platform should be bigger than that. This alone makes them very important to support and test for.
The government has some additional considerations which need to be taken into account when choosing a platform and or a technology.
- Dutch government tries to adhere to open standards and open source software wherever possible. This is not a hard requirement but it does influence decisions as far it is practical do so.
- Dutch government should strive to be independent of commercial partners and definitely should not mix commercial branding with governmental information.
- We need to consider a wider growth path towards the future so sustainability and scalability of efforts and platforms are considerations.
- In some cases exerting tight control over appearance and functionality of a widget may be desired.
There are a number of technology platforms that can be used when developing a widget. Each of these has its own advantages and disadvantages and implications for eventual deployment.
- Any platform that allows the use of embed codes in the HTML is a suitable host for Flash widgets. This type of widget is very popular mostly due to its ease of development and deployment, and full graphical control within the widget. Disadvantages are that ease of modification and reuse are severely limited because the platform is not very open and well known (at least not as well known as HTML), which will deter reuse and remix of widgets in the future.
After some deliberation we chose not to use Flash. Creating or reusing Flash widgets necessitates the use of an expensive authoring environment. This does not fit into the widest possible reuse, either within government or outside of it. Most of our data sources also mandate more text based and less graphical widgets, so Flash is not strictly necessary. And finally anybody who wants to make a Flash widget can embed it into any of the chosen technology platforms without any problems.
- A widget is a piece of a webpage and it happens to be that a (piece of) a webpage can also be used as a widget. Any webpage that displays a very specific piece of functionality on a limited amount of screen can function as widget.
Allowing the upload of a simple HTML page and wrapping that in an <iframe> or similar is the approach taken by some platforms and it works quite well. An advantage is that the widget may be rendered by a fragment of the same template that rendered the main webpage. Disadvantages are that the widget is not aware of its surroundings and does not have a way to set or retrieve settings.
- iGoogle Gadget
- OpenSocial Gadget
- An OpenSocial Gadget is an extension of the iGoogle gadget platform with some social extensions to the API which make a gadget aware of its social surroundings (logged in user, profile user, friend list) and allows gadgets to send messages to various activity streams. An iGoogle gadget will run in an OpenSocial container and essentially function as an OpenSocial gadget without social functionality.
- Netvibes UWA
- The Netvibes Universal Widget API is a way of creating a straight HTML page in such a way that it can be recompiled and served to a series of target platforms. There are some metadata extensions which have to be followed, the scripting environment is both extended to include settings and sizing, and the DOM is severely crippled. The UWA relies on the fact that most widget runtimes are de facto HTML rendering environments with many similarities and bridges the differences.
Just this week Netvibes announced the release of an OpenSocial compliant UWA which should make UWA widgets run on any OpenSocial container and make Netvibes itself also an OpenSocial container. A release of this new version is still forthcoming.
- Facebook applications need to be written in the FBML which is specific to Facebook. There are some widget distribution options which wrap a widget and republish it as a Facebook application but currently Facebook is not a large priority for this project.
- Sprout is a very interesting platform which provides a web based Flash widget builder where anybody can very easily use drag an drop to build their own widget from standardized elements (no programming required) with both simple controls and complex ones backed by outside data sources. The provided set of elements should cater to most needs, but being able to modify and build additional controls would have been very nice.
For this project it may not be the best starting point but if we make our data sources clean and standard, anybody can plug them into the Sprout Builder and rapidly build their own versions of our widgets.
I have made a diagram (PDF) summarizing the various options, platforms and eventual deployment targets in the widget landscape. This diagram is not complete but it gives a good impression of the complexities involved.
To define a simple test application to write and run on the various runtimes. The application should:
- Display some HTML
- Use custom CSS to style the elements
- Be able to display images
- Be able to retrieve RSS/XML data from the same server
- Be configurable with user preferences
And some softer requirements:
- Be able to embed Flash content
- Be aware of its own dimensions
- Respond to resize and refresh actions of the widget platform
Here is the test application as a plain HTML file, a version which should run on the iGoogle platform and a version for the Netvibes UWA. It looks quite horrible because it does not have proper styling, but it does most of the things listed above. Translating the base HTML version to the specific platforms was not too difficult, but somewhat idiosyncratic. There are some specific metadata elements which need to be accounted for, the DOM is altered in some cases and there are platform specific calls for XMLHttpRequests that use a local proxy to retrieve data. What is immediately apparent when working is that the documentation on the Google platform is far more comprehensive.
This test application was then run on the various platforms and galleries where applicable to see if it would work and what the options for redistribution per platform were. The experiences of these tests have shaped our impressions of the various distribution options. Our findings are discussed in the next section.
Galleries sometimes have widget building options but most of them are concerned with spreading a widget to as many platforms as possible and monitoring the reach of the widget. Important considerations when picking a gallery (if any) are:
- the input options, what kind of widgets this gallery will accept
- the output options, to what platforms can this gallery spread a widget
- look and feel of the gallery and of the widget wrapper
The Netvibes ecosystem provides a way for people to browse widgets submitted to the ecosystem and install them to either Netvibes or to a number of other platforms. The gallery also shows an install count per widget.
The Netvibes ecosystem accepts: UWA widgets, iCal files, SWF files.
The Netvibes ecosystem publishes to: a blog, iGoogle (install and gallery submit), Vista, Live, Dashboard and seems to work all right.
Clearspring is a generic widget gallery service with methods to widgetize page content and completely manage a widget.
Clearspring exports to too many platforms to mention, notably: Blogger, embed, iGoogle, Live, Dashboard, WordPress, delicious, e-mail, Facebook, Netvibes, Typepad. Clearspring can also publish directly to the Netvibes, Live and iGoogle galleries.
The options look fairly good but the inwidget functionality borders the widget with an ugly border through which the functionality to add the widget to other platforms is implemented.
- Can’t really get Gigya to work. It looks mostly focused on Flash widgets but the site is a mess and the documentation is very sparse.
Widgetbox is a partner of Netvibes
Widgetbox exports and shares with some platforms such as Blogger, Netvibes, iGoogle and WordPress.
A Widgetbox wrapper also includes a very ugly border button that enables visitors to add the widget to their platform of choice.
- Widgadget has severely limited creation and publication option, documentation is sparse.
- Spring Widgets
- Spring Widgets offers an SDK for Flash based widget development and seems to be exclusively focused on Flash widgets.
Various OpenSocial sites (Hyves, LinkedIn, Ning) have their own galleries for applications and their own policies on which to include. Most of these sites also have sandboxes where inputting the address to the gadget.xml file suffices to run an application. Hyves for instance has to give their approval of your gadget before it is included in the site.
On the subject of galleries our clients remarked that the appearance of control and non-commerciality needs to be maintained. Widget galleries which are all too present on the widget and exert a lot of control are not preferred. It is completely undesirable (and understandably so) to see the Clearspring logo mixed with government branding and data. So because galleries are not essential, they are mostly out of consideration for now.
During a final meeting based on this research, we presented our findings and got some more input as to in which direction we should focus and the consequences that would have on our final platform choice.
HTML vs. Flash
Using HTML in favor of Flash proved to be contentious but the compromise was chosen to have the basic functionality of widgets be done in HTML markup. Interested parties can always have a Flash widget developed and embed that in a chosen technology platform or use it standalone.
Based on the techology choices and the platforms that it definitely should run on: iGoogle, Hyves, LinkedIn, Ning our choice of platform is quickly reduced to either UWA or iGoogle. UWA widgets can already be compiled to iGoogle gadgets and with the upcoming release of the next version they should also more easily run as OpenSocial apps, but this version has not been released yet. The coyness of the Netvibes team, together with the sparsity of their documentation makes you wonder if this latest release of OpenSocial support isn’t a last ditch attempt to regain relevancy. For all we know Netvibes may cease to exist tomorrow, so sustainability is certainly a question.
On the other side if we choose for iGoogle gadgets to be the widget platform of choice, it will run on most of our target platforms and with the new version of Netvibes it will also run in their OpenSocial container. The only thing that we will not be getting are Netvibes recompilation options for Dashboard and Vista. iGoogle/OpenSocial looks like the platform with the most momentum and momentum is worth a lot.
There is a strong desire to make the widgets in the project as generic as possible to enable reuse for other applications. At a certain point there was the idea that we could make one widget to do everything, this however is not really advisable.
We defined a set of widget archetypes (news, events, images, videos, geodata, calculation, infodisplay) where a widget may fall into and we think that for the future it would be useful to have reference implementations of each archetype on file so that a request for a new widget can quickly be fulfilled by taking an archetype widget and customizing that.
For this project though, we will be making specific widget implementations which can be easily generified to their archetype. So after we make a branded news widget, any interested party can swap in the RSS feed and their own logo to make it theirs. We thought it would fit better in the modest scope of this project to deliver conclusive results instead of half-finished products.
Given this choice of base platform, if we were to use a gallery to ease distribution and monitor its reach, we would probably use Clearspring because it seems to be the most mature and functional of the lot (Clearspring is also used by the CBC (see their presentation at the Widget Summit)) with Widgetbox as a close contender. But because of the all too visible branding of Clearspring and other containers, we will not be using either.
Call for comment
Fortunately we do not have to make a definitive choice right now. For our set of widgets we will first be designing the functionality and doing some reviews. After that the basic functionality of the widget will be prototyped in HTML and finally the HTML will be modified to run on the target platform(s) of our choosing.
We’re not committed yet, so some of our choices are still open and most of it is up for debate. If you have any questions, additions or things we have missed in our survey, we would love to hear from you in the comments.
Update: Sprout Builder recently announced a pricing model to their up until then free service.
Update: The overview overlooked the yourminis widget publishing platform. Yourminis takes SWF files and distributes these to a number of platforms.
Shot a guerilla Christmas vid of the gang after last Thursday’s training:
In this podcast Adam Greenfield talks about everyware and contactless transit payment systems. At time index 15:33 the following question is asked: “But as a New Yorker would you want that to happen?”
As a prideful New Yorker, this is what I think. I think that all of the questions about privacy can be addressed. A smooth space of payment and mobility can be designed with clear strong provisions to protect anonymity and privacy. I don’t think that’s at all out of the question. And so it’s just a question of political will and as somebody who, I take a great deal of pride in being from New York and I wouldn’t want the city to persist into the 21st century very much longer, with what is essentially a 19th century model of payment for services. It’s just, it is a shame to me.
Replace ‘New York’ with ‘the Netherlands’ and this quite accurately summarizes my feelings about the OV-chipkaart fiasco.
Listen to the entire thing, it’s worth it. There’s also a part one.
These last couple of months we’ve been having regular music lessons. It’s a lot of fun and we are making crazy progress.
This is Divino playing something awesome which we’ll be learning very soon.
The Guardian shows a clip of the recent armed confrontations in Hebron due to the riots by Jewish settlers. I had read earlier about B’Tselem handing out small camera’s to Palestinians so they could record settler aggression and this is a clip that came out of that program.
This is a precursor to how amateur media are going to become even more important to the dissemination of news and how new media can flatten information asymmetry quite effectively.
One question remains about asymmetry and that is asymmetry in mainstream media reporting. The British press has a reputation to have one of the more fair and balanced reports on the conflict (as does for instance Ha’aretz). I am curious if Dutch mainstream media have aired this fairly graphic clip, I can’t find anything on either the NOS playeror the main NOS site and neither on RTL Nieuws.
Anybody seen this on Dutch television?
I recently bought the full version of RJDJ and it is a very fun way to create a dynamic soundgarden based on your environment. I also started using last.fm again even though they don’t have an iPhone player available yet in the Netherlands.
To riff a bit on the the spime concept, I thought it would be nice if you could scrobble location information along with the track and the moment you listened to it. I describe it in more detail on the last.fm board but nobody there thought it was interesting. At least it was a good excuse to use the term psychogeography.
Last Tuesday I attended the Service Design Network’s conference in the Rode Hoed in Amsterdam. I’ve been interested in Service Design for a while but I didn’t really know what it was all about. This conference was the ideal way to learn more about this field.
My findings are online in the report (Dutch only, sorry!) I’ve written of the conference for Frankwatching.