I have managed to hack together a way of embedding foaf music
recommendations in html using the Microformats hAudio [1] and hCard
[2] run through the W3C Online XSLT 2.0 Service [3] the concept of
which seems like an amazingly useful thing to do.
The hAudio markup represents the concept of a mo:Track
and hCard markup with a single ID represents the concept of a
foaf:person
There are two other important propeties that are needed for the
transformation a link with rel="index" which is the base url and links
with rel="bookmark" which are links to the actual music
recommendations
I am not so good at explaining things so, the demos:
This is a really nice implementation. In fact, I personally don't care about hFormats, but I do really care about the generated RDF :) This is a good example that shows that nobody should care, and that we can easily transform one format to another. What is important is the data, and their identification.
What is really nice if when you extend your interests (in some groups and albums!) and that by browsing your interests you endup being able to download free simple for some tracks.
Notice that the Musicontology skinning templates are not yet (all) developed, so the presentation of the data could be even better.
Also, what you can do is taking any web page of this web site, and put the URL at http://dataviewer.zitgist.com. Then check what happens:
This is the dataviewer for the main page of the web site. Now open the "navigator" (right sidebar) and check what has been extracted: MusicGroups, Tracks, Profile (you), Intervals (this is something to look at, seems wrong).
> I have managed to hack together a way of embedding foaf music > recommendations in html using the Microformats hAudio [1] and hCard > [2] run through the W3C Online XSLT 2.0 Service [3] the concept of > which seems like an amazingly useful thing to do.
> The hAudio markup represents the concept of a mo:Track > and hCard markup with a single ID represents the concept of a > foaf:person
> There are two other important propeties that are needed for the > transformation a link with rel="index" which is the base url and links > with rel="bookmark" which are links to the actual music > recommendations
> I am not so good at explaining things so, the demos:
> I have managed to hack together a way of embedding foaf music > recommendations in html using the Microformats hAudio [1] and hCard > [2] run through the W3C Online XSLT 2.0 Service [3] the concept of > which seems like an amazingly useful thing to do.
> The hAudio markup represents the concept of a mo:Track > and hCard markup with a single ID represents the concept of a > foaf:person
> There are two other important propeties that are needed for the > transformation a link with rel="index" which is the base url and links > with rel="bookmark" which are links to the actual music > recommendations
> I am not so good at explaining things so, the demos:
> This is a really nice implementation. In fact, I personally don't care
> about hFormats, but I do really care about the generated RDF :) This is
> a good example that shows that nobody should care, and that we can
> easily transform one format to another. What is important is the data,
> and their identification.
> What is really nice if when you extend your interests (in some groups
> and albums!) and that by browsing your interests you endup being able to
> download free simple for some tracks.
> Notice that the Musicontology skinning templates are not yet (all)
> developed, so the presentation of the data could be even better.
> Also, what you can do is taking any web page of this web site, and put
> the URL athttp://dataviewer.zitgist.com. Then check what happens:
> This is the dataviewer for the main page of the web site. Now open the
> "navigator" (right sidebar) and check what has been extracted:
> MusicGroups, Tracks, Profile (you), Intervals (this is something to look
> at, seems wrong).
yes the intervals do look wrong there is a blank node being produced ,
duration was added last thing, well last night really maybe I should
add a rdf:about="" on the interval tag? truthfully i am a little
unclear on how to add duration as i am a compete noob to MO.
> > I have managed to hack together a way of embedding foaf music
> > recommendations in html using the Microformats hAudio [1] and hCard
> > [2] run through the W3C Online XSLT 2.0 Service [3] the concept of
> > which seems like an amazingly useful thing to do.
> > The hAudio markup represents the concept of a mo:Track
> > and hCard markup with a single ID represents the concept of a
> > foaf:person
> > There are two other important propeties that are needed for the
> > transformation a link with rel="index" which is the base url and links
> > with rel="bookmark" which are links to the actual music
> > recommendations
> > I am not so good at explaining things so, the demos:
> (I have to run to the airport, I will answer in a more detailed way later on)
> > I have managed to hack together a way of embedding foaf music
> > recommendations in html using the Microformats hAudio [1] and hCard
> > [2] run through the W3C Online XSLT 2.0 Service [3] the concept of
> > which seems like an amazingly useful thing to do.
> > The hAudio markup represents the concept of a mo:Track
> > and hCard markup with a single ID represents the concept of a
> > foaf:person
> > There are two other important propeties that are needed for the
> > transformation a link with rel="index" which is the base url and links
> > with rel="bookmark" which are links to the actual music
> > recommendations
> > I am not so good at explaining things so, the demos:
> On Feb 28, 1:34 pm, Frederick Giasson <f...@fgiasson.com> wrote:
> > Hi Martin,
> > Great job!
> > This is a really nice implementation. In fact, I personally don't care
> > about hFormats, but I do really care about the generated RDF :) This is
> > a good example that shows that nobody should care, and that we can
> > easily transform one format to another. What is important is the data,
> > and their identification.
> > What is really nice if when you extend your interests (in some groups
> > and albums!) and that by browsing your interests you endup being able to
> > download free simple for some tracks.
> > Notice that the Musicontology skinning templates are not yet (all)
> > developed, so the presentation of the data could be even better.
> > Also, what you can do is taking any web page of this web site, and put
> > the URL athttp://dataviewer.zitgist.com. Then check what happens:
> > This is the dataviewer for the main page of the web site. Now open the
> > "navigator" (right sidebar) and check what has been extracted:
> > MusicGroups, Tracks, Profile (you), Intervals (this is something to look
> > at, seems wrong).
> yes the intervals do look wrong there is a blank node being produced ,
> duration was added last thing, well last night really maybe I should
> add a rdf:about="" on the interval tag? truthfully i am a little
> unclear on how to add duration as i am a compete noob to MO.
Ahh I have just used the dataviewer (I didn't know you could just
point url's at it, thought everything had to be RDF) and I see what
you mean time interval really needs looking at I will work on a fix
during today thanks again for pointing that out for me, I will use the
zitgist dataviewer a bit more in future its really usefull.
> > > I have managed to hack together a way of embedding foaf music
> > > recommendations in html using the Microformats hAudio [1] and hCard
> > > [2] run through the W3C Online XSLT 2.0 Service [3] the concept of
> > > which seems like an amazingly useful thing to do.
> > > The hAudio markup represents the concept of a mo:Track
> > > and hCard markup with a single ID represents the concept of a
> > > foaf:person
> > > There are two other important propeties that are needed for the
> > > transformation a link with rel="index" which is the base url and links
> > > with rel="bookmark" which are links to the actual music
> > > recommendations
> > > I am not so good at explaining things so, the demos:
> Ahh I have just used the dataviewer (I didn't know you could just > point url's at it, thought everything had to be RDF) and I see what > you mean time interval really needs looking at I will work on a fix > during today thanks again for pointing that out for me, I will use the > zitgist dataviewer a bit more in future its really usefull.
Good! Tell me if you come across any glitch while using it.
No problem :) it was fun, the hAudioRDF xsl is actually part of a
bigger project to do with portable Identities and FOAF Lifestreams
(sounds a bit mad) but I am having SOME success. In a nutshell your
"identity" is a single vcard with a single ID and from that using some
XSL you can Extract things Like your recently played tracks on lastfm
(Music ontology), your friends acquaintances and colleagues (XFN and
RELATIONSHIP vocab) and your recent blogposts (hatom) the idea is you
have the same RDF output no matter where your vcard has been marked up
eg: