W3C home > Mailing lists > Public > semantic-web@w3.org > July 2008

Re: Maintaining an RSS 1.0 feed with SPARQL

From: Karl Dubost <karl@w3.org>
Date: Tue, 1 Jul 2008 16:27:21 +0900
Cc: "semantic-web@w3.org Web" <semantic-web@w3.org>
Message-Id: <0E348B10-A800-4962-9FB4-41FE0DC4C98C@w3.org>
To: Richard Newman <rnewman@twinql.com>

Richard,

thanks for the tips.

Le 1 juil. 2008 à 13:14, Richard Newman a écrit :
>  I'm not sure which operations you're inquiring about -- running  
> queries against RSS 1.0 data? Generating RSS 1.0 from a relational  
> DB using SPARQL? Generating RSS from differently shaped RDF?

* A blog site with an RSS 1.0 feed.
* A new blog post is created, a program creates an RDF item
      <rdf:li rdf:resource="http://example.org/somewhere/foo"/>
   and
      <item rdf:about="http://example.org/somewhere/foo">
         <title>Foo</title>
         <link>http://example.org/somewhere/foo</link>
         <description>boooo</description>
      </item>
* Update of the feed, removing old items and adding the new one.

I usually do that with script/xml parsers or using XSLT because RSS  
1.0 is an ordered RDF file by spec, *but* I was wondering if it was  
possible to do with an RDF parser, and/or SPARQL.

>  It's kinda depressing that this trivial thing isn't easy to do in  
> SPARQL; the handling of sequences just isn't there. Even as a SPARQL  
> implementor, without the opportunity to redesign RSS 1.0, I'd advise  
> you to use XSLT or plain ol' text substitution for this kind of  
> thing (particularly generation).

Indeed.

>  I hope that offered some insight!

Yes a lot. Many thanks.

if other people have ideas, please share.


-- 
Karl Dubost - W3C
http://www.w3.org/QA/
Be Strict To Be Cool
Received on Tuesday, 1 July 2008 07:27:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:42:05 UTC