W3C mailing list search results in RDF

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 UTC