Great TED talk by Tim Berners-Lee the inventor of the World Wide Web. His next project is working on the open, linked data that could do for numbers what the Web did for words.

Not only should we share our data, but we should demand that governments and businesses share the data they prepare as well, he says. Accessible raw data is his new objective for the world wide web. As he points out, “data drives a huge amount of what happens in our lives… because somebody takes the data and does something with it.” To Berners-Lee, it is essentially from this sharing of data, that advances in science will emerge.

-From Compute Magazine outlining what he describes in the video below.

Thanks Enej for the link.

Well I could never afford to go to FOWA this is the next best thing, FOWA has but their past speakers online. The video below features Chris Messina discussing OAuth, probably one of the better talks I have seen on OAuth.

gimmie wiki!

by on March 2, 2009

Enej Bajgorić created the plugin for republishing MediaWiki (or any HTML) pages within WP.

For those who liked the idea, here are some good news: we are continuing development of this plugin for our culturepedia project.

Here is the functionality in the nutshell;

  • seamlessly integrate wiki pages, categories or searches into WP blogs.
  • works as both shortcode (more here and here) and widget.
  • content can be constantly refreshed (as wiki pages changes) or one-time brought in.
  • the wiki content will be searchable by google (not the case with WikiInc).
  • the wiki pages could be further shared by using embed functionality.

For example, if I want to publish all the pages from ubc wiki that are stored in both culturepedia AND idioms category, I should shortcode something like this:

[gimmiewiki -category URL:http://wiki.ubc.ca category:culturepedia,idioms refresh:yes popups:yes|embed|link]

Or if we end up developing a visual component, it could look like this:

Will get back with more!

I want to fly

by on January 15, 2009

Tomorrow I am flying to Louisville . I wish it would be a shorter flight or a bit more interesting.

We have been running Movable Type for over three years and for number of reasons (far better platform, CWL integration, the support overhead and availability of plugins, to name a few) decided to move to WordPress.

Since last summer we have pretty smooth, CWL-enabled, pilot WPMU installation available to selected UBC faculty, staff and students; so far, things look pretty good!

Now that we are at ease with our ability to run the new system, we are planning to migrate more than a thousand MT users  and blogs to WP.  We are expecting that only the small number of people will actually want to move their blog – for the rest… well, we are thinking about it as the great autumn-cleaning opportunity. Anyways, EVERY blog will be backed up and saved in case users come in the future to restate their blogs.
Here is the process with its requirements and challenges along with the ideas on how to go around them:

Setup: There are three environments in which the migration takes place:

  • Original MT (Source)
  • Verification WP (Check-point)
  • Production WP (Target)

The process:

1.       Notifying the Users and Project Tracking.
We will send the email to users describing the migration process and inviting them to create an account and a blog on the Production WP, which is the new location for their blog. We have classified all the users on the scale of 1 to 5, based on the importance of the blog (we have tons of abandoned blogs) and we also have special VIP list – those blogs get extra attention!
Here are the fields of our migration tracking database:
blog_id, blog_name, entries_count, blog_site_url, author_id, author_name, author_email, other_blog_owners, blog_description(tags), priority_rating, migration_notes,  vip, new_author_name, other_authors_translation, new_url.
You can sense the complexity of this operation by just looking at these fields!

2.       User reports back
Upon creating the account, blog user gets back to us with the account and blog info (details instructions on how to do this were sent in an email). We then proceed with the next step of migration:

3.       The Import to Verification WP
MT blogs and users’ info are exported from MT to Verification WP by using WeblogsMigrator plugin that Michael Ha and Seth Tee have specifically developed for this purpose. This WP plugin actually queries the MT database and retrieves all the information on the given blog and user and then stores them in the Verification WP. So, we end up with blogs, authors and comments, all properly imported within WP Verification. Users from MT keep the same username in WP Verification. It is worth mentioning that in this process, all the links that point to the other posts within same blog are being re-written to point to the new URLs. It is even cooler that we are grabbing all the media files (images, movies) and storing them automatically in WP Verification.

4.       Finalizing the Look and Feel and dealing with blogs’ extras.
Here, we apply theme that look close to one in MT, for look and feel consistency. For VIPs, this may involve additional tweaking or creation of the new theme. If needed, we consult with users on how to proceed with extra content (if there is any) of their MT blogs. Usually, this means dealing with side bar content and advising on how to recreate these in WP (through using widgets).

5.       From WP Verification to Production
After examining the blog and round of QA, we do another round of export/import; this time using slightly changed WeblogMigrator. Things get hairy with blogs that have multiple authors; for this reason, we made sure that this plugin, which looks very much like standard WP to WP import, also provides username matching. With this, we make sure that the original users keep ownership of their posts after the blog is migrated. It is expected that many users will have different usernames from those on MT, that’s why we cannot automate this process. This is only important for multi user blogs.

6.       Redirecting old URLs
One of the major requirements of this process is to make sure that every post will automatically redirect to the new post’s URL.  In the process of importing (step 3), we record the old and the new URL for each post and store it in the database. This table is now queried to produce the  .htaccess file that will, for every post, redirect to the new post URL.

7.       User takes control
At this point user has the complete control over their blog. We are expecting that owners of more complex blogs will require additional support that we can provide through pointing to various WP support websites and examples online, or via direct support.

We are planning the migration of our Movable-Type based websites to WordPress. While offering way nicer management interface and wealth of advanced controls, default WP installation still misses a few things that we took for granted in MT.

Here is the one: On our big websites that run on MT, such as Leap or OLT, we have multiple authors maintain number of posts and pages. Whenever there is a comment on any of these posts or pages, it should be directed to the author of the post for approval.

MT does this well, all the comments indeed go to the authors of the posts. WP however, redirects all the comments to the site admin (?!) with authors left in the dark about the new comments. Admin is usually the technical person who created the blog, without the clue what comments to approve. This makes management of the site very difficult as authors need to be able to respond to the comments in timely fashion.

Luckily we‘ve found Mark Ghosh’s extension that does exactly what we need: emails the comment to authors for approval. The extension is installed and working great at blogs.ubc.ca.

here is the LaTeX for you

by on November 6, 2008

A month ago, Scott has enabled WP LaTeX plugin for all those UBC scientists who know how to use it.

One of those super creatures is my wife Sanja, who just happened to start using UBC blogs as her portfolio website. She was very happy to find out about the plugin and voila, her formulas were done in no-time!

please comment to test comments

by on November 6, 2008

The forum-like tracking comments plugin, that I talked about earlier, is now live on this blog (thanks for the great work Enej!): see recent comment link above the header.
It works, it is stable and it covers the basics that we have originally defined:

  • Ability to expand/collapse post and its comments (little plus in front of post);
  • Sort the posts by
    • time published (default, though I think we should make sorting by latest comments default),
    • name of the post,
    • author,
    • number of comments,
    • date/time of the latest comment.

Now that it is live, I see that few small things could be added:

  • Remove the posts with no comments – the point of this plugin is to show activity on posts;
  • Tighten up the user interface to look better, perhaps apply gray to the first row (one that carries the columns’ names);
  • Ability to expand/collapse ALL post with one click (big plus in the header of the table, left of the post);
  • Add the date/time for each comments;
  • Ability to sort comments by date/time;
  • Trim the post to first X words with more link to load the full post (since it is your post you do not really the whole thing here);
  • Limit posts to latest 10 or so with see more link that will load all other comments;
  • Have a little control panel (options) thing so that the user could setup the preferences for the most of the above (how many post/comments, default sorting, exclusion of certain columns – like author in personal blogs, etc…).

We have submitted the code to WordPress Codec, and once it is published I hope that others will join to  continue the development of this plugin.

So, please support this plugin and comment on the this post and previous posts to give this plugin a proper test!

Love Movies?

by on November 4, 2008


Love Free Movies even more? You should check out http://www.cinemapolitica.org/ubc for free movies at UBC.