Blog Constellations Mashup

I finally got around to putting a few finishing touches on my Blog Constellations mashup.  It provides a visualization of a set of feeds, providing an intuitive sense of activity in a set of blogs, including frequency and size of posts, cross-links between the feeds, and highlighting links to "domains of interest."  This information proves useful in providing a feedback loop on the "quality" of blogging in support of the promotion of specific web sites, something WSO2 relies on as an open source company.

Some notes about the design of the mashup:

  • The blog analysis is performed by the mashup service (try it here), which has the following capabilities:
    • Subscription operations: add a feed to the analysis (trackBlog), remove a feed from the analysis(unTrackBlog), and list the feeds being analyzed (showTrackedBlogs).
    • Groups: Feeds are grouped under usernames so multiple groups of feeds are supported.  Groups can also be listed (listGroups) or removed (removeGroup).
    • Passwords: When you create a group by providing a password, adding or removing items from that group, or deleting the group entirely, requires a password.  Non password protected groups are also supported.
    • A utility method (fetchBlog) fetches a blog and analyses it in terms of size and the links it contains.
    • The analysis for a group of blogs can be easily obtained (getActivity).
  • The graphics are created entirely in the browser using the <canvas> tag and the excanvas.js library for IE.  Works pretty well although the graphic items don’t stay dynamic (and therefore can’t easily be used as links.)
  • The code contains some interesting performance techniques that may be useful for other mashup authors:
    • Reuses the feedCache mashup service to cache feeds for faster response.
    • Does some local caching of group analysis as well for faster response.
    • The mashup calls itself (getActivity calls fetchBlog) asynchronously to enable feeds in a group to be fetched in parallel.

The mashup is of course hosted on mooshup.com, our online version of the WSO2 Mashup Server.  This means you can try it out online or download it and run it locally on your Mashup Server, or use the service with your own front end or whatever.  The mashup page has all these links, metadata, script libraries, and everything you need to reuse this service or its source code.

Want to make some improvements?  How about these:

  • True multi-user capability - each user has their own groups, and can keep those groups private or make them public.
  • A mashup that finds a blogroll and publishes it into this mashup as a new group.
  • Adding animation (e.g. smooth zooming and spinning) and linking to the graphic (hover over a dot to see a preview of the blog?)
  • URLs for groups including options (so you can bookmark a particular visualization.)

Enjoy!

1 comment to Blog Constellations Mashup

  • I noticed that a lot, if not all, of the links to mashupsongs I see are to the 2009 DJ Earworm mashupof all the year’s hits. Does anyone know of other artists making mixes of that caliber of quality? Please share with us

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree Plugin