I just released the first version (well already 0.0.3, after small fixes) of RDFa On rails. It is a quite early release so don’t expect too much
. For those urged to try it just do :
sudo gem install rdfa
You can find the API documentation and the project website for more info. Basically it is a library which provides some abstractions to developers by means of helper methods to publish RDFa data.
The package comes with a theme for typo, the blogging system built on top of rails. To install it just go in the themes folder or your typo installation and type:
rdfa-typo
Then activate the theme and that’s it, your blog articles are published embedding RDFa.
In your rails apps try the following, for instance to publish a resource :
<% rdfa_resource url_for(resource) do %>
<h3><%= rdfa_label resource.name %></h3>
<%= rdfa_description resource.text %>
<h4>Created by : <%= rdfa_creator url_for(resource.author)%></h4>
<% end %>
There is still much work do be done, help and comment is welcome.


May 29, 2007 at 2:31 pm
[...] programmers with an API that enables them to easily publish RDFa. More details are in his log post RDFa on Rails, the Semantic Web made simple. The RDFa on Rails project itself, is hosted at [...]
May 31, 2007 at 10:13 am
…We talked briefly about RDF again, and how while it is incredibly flexible it is still a pain to work with, although RDFa on Rails does look interesting…