Hey guys: My name is Dan and I'll be your semwebber for this flight. I'm trying to author as much RDF for audioscrobbler as possible; for everything from FOAF to better feed information.
I need encouragement however: -List links in this forum to feature requests related to RSS / RDF etc -Ideas for views of the data you'd like available as RDF.
set nl = res.documentElement.selectNodes("asx:item")
tx = "Your last 10 songs : " + VbCrLf + VBCrLf
for each song in nl tx = tx + song.selectSingleNode("mm:Artist/dc:creator/dc:title").text + " - " + song.selectSingleNode("dc:title").text + VBCrLf next
msgbox tx quit
-----------
Id really appreciate the feed for top songs from artists etc. I intend to be able to just right click a song in winamp and click 'enqueue top songs'. This will fire a script similar to the above and do ml queries to find the songs and enqueue them.
Any other services which can be tied into this plugin in some creative ways would be cool. ie, a service which lets you query the recommended artists, then I would go query the top songs for those artists, then attempt to enqueue them.
Also a 'top songs' service, so when I code my web interface, when you find a user you can enqueue their top songs etc.
Id still like to see a custom protocol handler such as "as://song" with a link with every song displayed. This would allow you to create a protocol handler which looks on your local system for the file and enqueue it.
Also, trying to parse the html as XML gives all sorts of errors with  . I think you need to do something with   or something. Im not sure, but I cant get it to work unfortuantly.
set xmlhttp = CreateObject("Msxml2.XMLHTTP.4.0") set xmlDoc = CreateObject("Msxml2.DOMDocument.4.0")
I have just stripped the '&'s from the HTML and it seems to parse ok. To demonstrate this, I have written a script which enqueues the top songs for an artist by just right clicking the artist in the playlist of winamp.
wget'd on Tuesday 5 October. Note the 'Last-Modified' header and the lack of an Expires header. You continually get stale data if you have a cache. Adding an Expires header of a minute or two in advance should fix the problem.
edit: The problem is partially at my end, a hard refresh causes it to be refetched. I can append ?rand=<random> or something to the URL to avoid the system cache.
However fixing this header may prevent this need, and would avoid filling the cache with "different" pages which are really the same url.
I'm having a hard time converting the date in PHP. strtotime() (http://php.net/strtotime) doesn't know what to do with the time that I get. I'd like to print the time like 10:38am EST.
I haven't used the AusioScrobbler data yet but it seems to me this wil make it impossible to merge the 2 graphs together in a clean way. For example when I query MB with this RDF: <mq:FindArtist > <mq:depth>3</mq:depth> <mq:artistName>Nick Drake</mq:artistName> </mq:FindArtist >
Will AudioScrobbler match its RDF resources with MB? what be nice too is to have the MB ID available in the RDF, now its embedded in a uri. Also, I'd love more stats offered through an AS RDF webservice but I'm not sure yet how this data would look like. I'd say AS needs its own namespace with classes en properties aimed at popularity stats/collaborative filtering of audio files, maybe this could be in the MusicBrainz Extended Metatadata namespace [MEM]. I'm not sure what MB has in mind for their RDF. Does anyone has ideas for this?
Quoth WALoeIII: I'm having a hard time converting the date in PHP. strtotime() (http://php.net/strtotime) doesn't know what to do with the time that I get. I'd like to print the time like 10:38am EST.
Time in rss feed: 2004-10-17T22:55:17+00:00
What strtotime likes: $date_time2 = strtotime("2004-04-04 02:00:00 GMT");
I haven't used the AusioScrobbler data yet but it seems to me this wil make it impossible to merge the 2 graphs together in a clean way. For example when I query MB with this RDF: <mq:FindArtist > <mq:depth>3</mq:depth> <mq:artistName>Nick Drake</mq:artistName> </mq:FindArtist >
Will AudioScrobbler match its RDF resources with MB? what be nice too is to have the MB ID available in the RDF, now its embedded in a uri. Also, I'd love more stats offered through an AS RDF webservice but I'm not sure yet how this data would look like. I'd say AS needs its own namespace with classes en properties aimed at popularity stats/collaborative filtering of audio files, maybe this could be in the MusicBrainz Extended Metatadata namespace [MEM]. I'm not sure what MB has in mind for their RDF. Does anyone has ideas for this?
A pickle indeed. One solution (which is a hack) is to strip out all the mm.musicbrainz.org and musicbrainz.org and replace with an XML entity, ie, &mb; before it ever touches your parser. Not a good thing to do but a temporary fix till this gets resolved. I'll follow up on it at some time or another.
I'm not sure wether this is the proper place to post my question here, but since it is RDF related I think I'm on the right spot.
I'm using SharpReader to monitor things that people played recently, but it doesn't update after initual subscription to the RDF. It seems like it doesn't want to update because in the HTTP header it gets the page last modified time in 1970 instead of the actual last update of the RDF. I hope you can fix this so that the http headers reflect the time of the last change.
I'm not sure wether this is the proper place to post my question here, but since it is RDF related I think I'm on the right spot.
I'm using SharpReader to monitor things that people played recently, but it doesn't update after initual subscription to the RDF. It seems like it doesn't want to update because in the HTTP header it gets the page last modified time in 1970 instead of the actual last update of the RDF. I hope you can fix this so that the http headers reflect the time of the last change.
Best regards, Richard
Well spotted, it's in the mailing list and should be fixed in the near future (I hope)
A group rss feed that I could use to post the top "x" number of songs from a group on my site would rock.
I run a music community site and a few readers and I have started a group here. I'd be willing to write a plugin for the CMS I use (e107 - similar to *Nuke) that other sites could use as well.
Integration of group stats into various CMS's would kick mucho a$$.
@~riwilo: I posted this problem a couple weeks ago (see a few posts back). Appending some random data to the URL bypasses your cache if you are able to do that. Otherwise a Ctrl-F5 refresh forces a re-load, not necessarily possible using an RSS reader.
I think its been mentioned, but feeds for top songs for an artist would also be good. I think it should be implemented as a web service rather than a feed - though I realise theres not a hell of a lot of difference between the two.
RDF suggestions