Marcio Galli
I didnt work on a specific API set to CCHits. But the good news is
that CCHits was built over a nice playground that is Ning, and so it
already has totally open APIs out of the box that you can play with
now using REST!!!
The returned results are in ATOM format and the complete
documentation on how to use it can be found at: http://
documentation.ning.com/sections/rest.php
To be used as background sound for presentations I would probably
start by looking for tracks tagged with "ambient" or "instrumental",
the easiest way to get this feeds is by using the normal media RSS
feeds already available:
http://cchits.ning.com/tags/rss/?/ambient/&xn_auth=no
http://cchits.ning.com/tags/rss/?/instrumental/&xn_auth=no
They contain all the important information: title, link, description,
mp3 url, size, duration, image, pubdate, and CClicense. Alternatively
you can choose to use the XSPF or RDF outputs also.
The problem with this method is that these are generic feeds made to
be consumed by podcasts, rss readers, music players and web crawlers,
so they contain tracks tagged with "ambient" by *anyone*. With the
Atom API, you have more filtering control, and you also have access
to much more metadata, like the information not presented in the rss
feeds such as all ID3 tags of every track, the number of votes, the
track score, total playtime, users that played, users that voted and
the Ning content id of the object.
And thats wher the Atom API comes in. Some examples:
CCHits MusicTracks tagged with ambient by anyone
http://cchits.ning.com/xn/atom/1.0/tag(value='ambient')/content
(type='MusicTrack')?
CCHits MusicTracks with more than 2 votes tagged with ambient by anyone
http://cchits.ning.com/xn/atom/1.0/tag(value='ambient')/content
(type='MusicTrack'&my.votes_total>2)?
CCHits MusicTracks with more than 2 votes, voted by fabricio, tagged
with ambient by anyone
http://cchits.ning.com/xn/atom/1.0/tag(value='ambient')/content
(type='MusicTrack'&my.voted_by likeic 'fabricio' &my.votes_total>2)?
CCHits MusicTracks with more than 2 votes, voted by fabricio, tagged
with instrument by fabricio
http://cchits.ning.com/xn/atom/1.0/tag
(value='instrumental'&author='fabricio')/content
(type='MusicTrack'&my.voted_by%20likeic%20'fabricio'%20&my.votes_total
%3E2)?
CCHits MusicTracks with more than 2 votes, voted by fabricio, tagged
with instrument by fabricio and licensed with creative commons
Attribution Non-commercial 2.5
http://cchits.ning.com/xn/atom/1.0/tag
(value='instrumental'&author='fabricio')/content
(type='MusicTrack'&my.voted_by%20likeic%20'fabricio'%20&my.votes_total
%3E2&my.license_url='http://creativecommons.org/licenses/by-nc/2.5/')?
Ok, that last query was very specific, but the result is PERFECT for
presentation backgrounds ;)
Does it helps? Please write if the samples are not clear.
BTW, Visinote is looking great, I hope to see more Minimo and other
software presentations like that coming from you!
[]s
--
Fabricio C Zuardi
http://cchits.org
Or a new Ning App that is a Cart service. Where I can store your URLS
in that Cart and then my external app can retrieve.
Marcio wonder thoughts.
/\/\
Your suggestion was in terms of how to make CCHits send content to
other WebServices not the other way.
We have some integration in that sense with the bookmark and playlist
buttons, you can send tracks to online bookmark services like
delicious, smarking, myweb, etc and also send to online playlist
services, currently only webjay is supported but sideload/mp3tunes
will be next.
For blogging, unfortunately current we only have some rudimentary
tools wich requires copy/paste at the end of the process (youtube
way), if you look at the share button functionality, bloggers can
quick get the track html code to link the url, integrate the mini
button player, display license icons and other options by copying the
html snippet.
The next step is to integrate this basic tool with the existing
blogging APIs, like Blogger, LiveJournal, Wordpress, etc. Digg does
that and it is really practical. I think that if your blogging
service have a similar blogging api we would not need the Cart
service between the products the integration would be direct one-way.
[]s
--
Fabricio C Zuardi
http://cchits.org