gnomoradio.org |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Gnomoradio Metafile Specificationby Jim Garrison This document describes the specification for RDF files that describe songs, artists, and albums on Gnomoradio. This specification is a superset of Creative Commons' specification for RDF metadata. Knowledge of XML is helpful to those reading this document. IntroductionGnomoradio is a peer to peer music playing system that allows independent bands and musicians to promote themselves. It is an opt-in service for musicians who wish to allow peer to peer file sharing. As such, it requires technology that allows bands to publish their music along with details about file sharing permissions. Creative Commons has already designed licenses that fit this description. These licenses all fall under the same umbrella, and they are supported and maintained in the same way. In addition, Creative Commons has designed an RDF specification for describing these licenses. Gnomoradio RDF OverviewUnfortunately, CC's current metadata specification is incomplete when it comes to describing files to be shared. Therefore, we have created our own superset of CC metadata that derives from their RDF classes. In particular, we have only modified and expanded the section of RDF that applies to CC resources; we have not modified the RDF sections that describe the licenses themselves. There are a number of modifications we made. First of all, Gnomoradio separates the notion of a resource (a song/recording) from its representation (a file). In this way, it understands when multiple files represent the same recording in different formats (mp3, ogg, even different bitrates). This is crucial to an abstract user interface. A user should not need to care about file formats. It is the song that matters, and the program should take care of finding and obtaining the appropriate file to represent that song. Secondly, Gnomoradio verifies each file that it downloads against a sha1 checksum, which is described in a the RDF metadata describing the file. This is useful to combat viruses and hoax files on the network. Finally, there are many other pieces of metadata that Gnomoradio supports that are not specifically mentioned in CC's RDF spec. These include a location for the band's web site, a place to purchase an album online, cover art for albums, song lyrics, and other useful features. Another problem with current CC metadata lies in how people implement it. Often, authors will use rdf:about="", which makes it difficult to determine exactly what the license applies to. There is usually a written notice to describe what the CC license applies to, but the machine is often left in the dark. This act makes it easy to embrace and promote CC licenses, but it is not good enough for Gnomoradio to function properly. Rainbow BuilderUnderstanding of this document is in no way necessary for an artist to be distributed using Gnomoradio. The easiest way to prepare an RDF document is to use the Rainbow Builder, a web application that will produce this metafile in a user-friendly way. Hopefully, online music sites will find it beneficial to produce RDF files for the artists that they host in the near future. This will further lessen the difficulty of creating RDF files for the artist. In addition, Gnomoradio itself will drive further traffic to these sites and relieve them of bandwidth for distributing audio files. Publishing the metafileThe metafile as described below, or as produced by Rainbow Builder or a similar system, must be published on the world wide web for Gnomoradio to recognize it. One way to publish a file is to upload it in its entirety to a web server. The specific mime type is not essential, but it should be something such as text/plain, or ideally application/rdf+xml. A second way of publishing the metafile that Gnomoradio supports is the embedding of an RDF document within a comment block of an html file. If this method is chosen, it is important to consider that only one RDF file should be embedded in a given HTML file for Gnomoradio to find it. Thus, if an HTML document already contains a different type of RDF, it is best to put the Gnomoradio metadata in a separate file. RDF EssentialsPeople who are unfamiliar with RDF may find it helpful to read an introduction, such as the RDF Primer. Summary of namespaces"rdf" is the namespace that describes rdf itself. "dc" and "dcterms" are built on top of rdf to describe general features of an object. The "cc" namespace further builds upon this work, describing details of licenses for resources. Gnomoradio's RDF adds two more namespaces onto this. The first is rainbow ("rbow"), which is used to describe file resources in a reliable way for file transfers. The second namespace is gnomoradio, which describes songs, artists, albums, and how they relate to files described by rainbow resources. Before publishing or describing a song through RDF, it is necessary to describe an actual file that represents that song. Rainbow resources represent files of any type--audio, images, etc, that can be transferred via peer to peer. They are most often licensed under a Creative Commons license, so that file sharing can take place legally. Songs and albums are then described in the gnomoradio namespace with links to the rainbow resources that represent them. This may seem more straightforward after looking at an example. Here is a sample RDF file, which in its totality represents four songs off the album Science in the Hand of an Angry God by Tommy Magik and the Wonderfulls (the author's band). Only part of the file is shown below, describing the album itself and one of the four songs. The full file is available at http://www.tommymagik.com/discography/science.rdf.
Please feel free to contact me if you still have any questions. Jim Garrison <garrison@gnomoradio.org> |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Ale Fernandez | Ale Fernandez | Alloy As Patient Stars Align | Bret Whissel/Mary Blick-Wall/Debi Chandler | Curvedspace Cyborg Echoes DECONcert | Darko | Dave Fancella Dave Neuer | Eli and the Sporktastics | Free Greasy Potatoes Greenguitar | Infinity Plus One | Jip Jip de Kort | Jip de Kort | May Ip Polish Revolver | Ranger Rick | Robert Lazaneo Rodney Lorrimar | Ryan Kroetch | TOGoS Tommy Magik and the Wonderfulls | UNIT-E | UNIT-E c.z.robertson | d. Taylor Singletary | d. Taylor Singletary emillo | j.c. wilson | jonix racecar | subatomicglue | subatomicglue |