> Can someone please write in with some 'boilerplate' syntax for inserting a
> valid key index record in the valid RDF format?
>
> I (and many other client writers) need to be able to insert keyindex RDF
> keys without using the official key index client.

The official key index client is actually a library with a thin command
line interface. So anyone coding in Java should use the library. Anyone
not coding in Java should probably use an RDF library for their language.
In the case of there being no decent RDF library (currently, only the case
with Perl, as far as I know), you can use this template:

<rdf:RDF
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
  xmlns:dc="http://purl.org/dc/elements/1.1/";>
  <rdf:Description rdf:about="blah">
    <dc:identifier>blah</dc:identifier>
  </rdf:Description>
</rdf:RDF>

Replace "blah" with the key you want to insert.


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to