Skip to main content
  1. Posts/

CC RDF in JavaScript

It’s taking much longer than I’d like, but I’m slowly making progress on a new release of mozCC . The update, when it’s finally available, will hopefully play better with more browsers and have fewer “quirks” (read: bugs ).

As part of the development process, I decided that Jim Ley’s excellent all-JavaScript RDF parser just wasn’t a good fit. There were an increasing number of things I wanted to do that were CC specific and uncomfortable to accomodate with the code base. What I needed was a library designed to manipulate licenses. Like ccRdf does for Python. So taking what I learned from QuickFile , I put together ccRdf.js.

ccRdf.js is a limited port of ccRdf to JavaScript. Instead of attempting to provide facilities for both creation and consumption of RDF, it focuses solely on consuming RDF licenses. The API is similar, and it seems to work fairly well thus far. You can find the source here . There currently isn’t any other documentation, so e-mail me if you run into problems or have questions.