W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > October 2001

Earl, 404 checks and Annotea.

From: Jim Ley <jim@jibbering.com>
Date: Fri, 26 Oct 2001 16:24:12 -0000
Message-ID: <034a01c15e3a$a653abe0$ca969dc3@emedia.co.uk>
To: <w3c-wai-er-ig@w3.org>
Cc: <www-annotation@w3.org>

I've taken, the 404 checklink suggestion, as I felt this was a nice
simple place to start with an EARL client implementation that built on
top of Annotea which allows people to share the 404 notices. (one thing
on this though, is that an annotatea check is more resource intensive
than performing your own 404 checks for the majority of pages, so it's
probably a bit silly :-)

So anyway the first thing I need to do is to get the 404 report into
EARL, but I'm not completly understanding RDF yet (and am much more able
to hack around something that works than understand the technical specs
initially.) so I've tried to hack something together:

<rdf:RDF xmlns="http://www.w3.org/2001/03/earl/0.95#"
  <asserts rdf:parseType="Resource">
   <rdf:subject rdf:parseType="Resource">
]/a[2])" />
    <testMode rdf:resource="http://www.w3.org/2001/03/earl/0.95#Auto" />
    <testSuite rdf:resource="http://jibbering.com/fillyjonk/" />
    <date>Sat, 27 Aug 2001 19:27:52 GMT</date>
    <note>Link is a 404</note>
   <rdf:predicate rdf:resource="http://jibbering.com/fillyjonk/#404" />

Is this right?    Fillyjonk[1] is the tool that will check for 404's it's
not at the url yet, and will generally be built in to Snufkin, rather
than standalone.

So how do I then include this with annotea, this is what I think I want
to submit:

<r:RDF xmlns:r="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  <r:type resource="http://www.w3.org/2000/10/annotation-ns#Annotation"/>
  <r:type resource="http://jibbering.com/fillyjonk/#linkreport"/>
  <a:annotates r:resource="http://jibbering.com/404.html"/>
  <d:creator r:resource="http://jibbering.com/fillyjonk/"/>
  <earl:asserts r:parseType="Resource">
  <r:subject r:parseType="Resource">
a[2])" />
   <earl:testMode r:resource="http://www.w3.org/2001/03/earl/0.95#Auto"
   <earl:testSuite r:resource="http://jibbering.com/fillyjonk/" />
   <earl:date>Sat, 27 Aug 2001 19:27:52 GMT</earl:date>
  <r:predicate r:resource="http://jibbering.com/fillyjonk/#404" />

but Annotea doesn't consider this properly - it ignores my <r:type
resource="http://jibbering.com/fillyjonk/#linkreport"/> link treating it
exactly the same as the normal comment namespace (it seems)  so is this
not the way to go, I think a type other than a comment would make
querying the annotations easier, but what is the correct approach?

Received on Friday, 26 October 2001 12:25:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:01:33 UTC