RDF/RSS1.0 podcasting updates
I think I am going to build a podcast aggregator on my own, usage of RDF/RSS1.0 in the podcasting universe must be enhanced… The first step would be a Python console application getting the usual suspect’s podcasts. As it’s beeing Python the natural choice seems to be librdf, so get a grip on Rasqal. With a little help of dajobe I got a SPARQL query to get the list of Enclosures and the Length out of my RDF/RSS1.0 feed. Here is the code:
PREFIX dc: <http ://purl.org/dc/elements/1.1/>
PREFIX rss: <http ://purl.org/rss/1.0/>
PREFIX enc: <http ://purl.oclc.org/net/rss_2.0/enc#>
SELECT ?title ?enc ?len
WHERE ( ?item rdf:type rss:item )
( ?item rss:title ?title )
( ?enclosure rdf:type enc:Enclosure )
( ?item enc:enclosure ?enclosure )
( ?enclosure enc:url ?enc )
( ?enclosure enc:type ?type )
( ?enclosure enc:length ?len )
AND ?type =~ /audio/mpeg/
Have a try on it.
About this entry
You’re currently reading “RDF/RSS1.0 podcasting updates,” an entry on B:\datenbrei
- Published:
- 2005-02-04, 16° 39'
- Category:
- Python, music, podcasting, semantic web
- Tags:
-
B4mad blogging bluetooth coding comments desktop Events foaf general blogging GNU Debian/Linux IBM jabber/XMPP Java Kerberos macish MacOSX mobile Mono/C# mtb music openafs OS philosophy Photographie photos podcasting projects Python semantic web sioc technology Travel web 2.0 webservices wireless WordPress
- Maybe related:
- Action:
- ,
Fatal error: Call to undefined function: dbt_getlinktag() in /usr/www/users/bsmads/b4mad.net/datenbrei/wp-content/themes/hemingway/single.php on line 34