W3C home > Mailing lists > Public > www-rdf-interest@w3.org > July 2003

W3C mailing list search results in RDF

From: Eric Prud'hommeaux <eric@w3.org>
Date: Tue, 29 Jul 2003 18:17:51 -0400
To: www-rdf-interest@w3.org, www-annotation@w3.org
Cc: Philippe Le Hegaret <plehegar@w3.org>
Message-ID: <20030729221751.GA14613@w3.org>

The mailing list search [1] results are now available in triple
languages.  The accet header tells it how to render the results. The
following accept headers are defined:
  application/rdf+xml
  application/n3
  application/soap+xml

You can try this with the GET script that comes with perl's LWP CPAN
module:
  GET -H Accept:\ application/rdf+xml http://www.w3.org/Search/Mail/Public/search?keywords=hommeaux

You can use the form [1] to generate the above URLs in a conventional
browser and then script it as above.  You may also want to try it with
the advanced_search script [2]. You will simply get longer URLs.

The SOAP serialization is interesting as it uses SOAP for some of the
transaction information and keeps the queried data in RDF in a SOAP
Body:
GET -H Accept:\ application/soap+xml http://www.w3.org/Search/Mail/Public/search?keywords=hommeaux
<?xml version="1.0" encoding="iso-8859-1"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
   xmlns:email="http://www.w3.org/2000/10/swap/pim/email#"
   xmlns:search="http://www.w3.org/Team/2001/09/search/search.pl#"
   xmlns:session="http://dev.w3.org/cvsweb/perl/modules/W3C/Util/W3CDebugCGI.pm">
 <env:Header>

  <session:id>1059516344.687881</session:id>
 </env:Header>
 <env:Body>
<rdf:RDF xmlns:email="http://www.w3.org/2000/10/swap/pim/email#"...>
...
</rdf:RDF>

 </env:Body>
</env:Envelope>


Perhaps Philippe has written some WSDL for this but I can't remember.

[1] http://www.w3.org/Search/Mail/Public/search
[2] http://www.w3.org/Search/Mail/Public/advanced_search
-- 
-eric

office: +1.617.258.5741 NE43-344, MIT, Cambridge, MA 02144 USA
cell:   +1.857.222.5741

(eric@w3.org)
Feel free to forward this message to any list for any purpose other than
email address distribution.
Received on Tuesday, 29 July 2003 18:17:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:00 GMT