rackerlabs/developer.rackspace.com — pull request #14 by maxlinc (2014-04-04 22:07:41+00:00)
Title: SDK data as "DOAPLite" YAML

I wanted a list of SDKs for some dashboards I'm working on. I wanted to see if there was a way to share the data since it is needed in more than one part of the site.

Jekyll and similar projects like Middleman have support for [data files](http://jekyllrb.com/docs/datafiles/), which can be used to share the data across different parts of the site. The data I think is needed for SDKs is similar to DOAP ([Description of a Project](http://en.wikipedia.org/wiki/DOAP)), but DOAP is an RDF Schema, which would be difficult to use directly inside a Jekyll (Liquid) template. So I created a simplified YAML document that is inspired by the DOAP schema.

I created a script to extract and merge data from the GitHub API and various [sites that publish DOAP](https://github.com/edumbill/doap/wiki/Sites) (like Apache or PyPI, and Ohloh indirectly). I left it out of the PR because I didn't want to add dependencies for a rarely (if ever) used ad-hoc script to the Gemfile. I published as a [gist](https://gist.github.com/maxlinc/9983095) for now, but may package it up as a gem later.