By the way, thats what I meant the other day when I was reporting
the error about KeyIndexClient quitting when it hits a key not inserted
with KeyIndexClient. The CVS version is fixed though (Thanks Brandon)


On Saturday 16 June 2001 09:29 pm, you wrote:
> On Saturday 16 June 2001 09:19 pm, you wrote:
> > > If someone posts a key 'manually' with freenet_insert it won't work
> > > with KeyIndexClient unless they wrapped it up in RDF.
> >
> > RDF - rich document format???
> >
> > Can you please explain further?
> >
> > What's the exact format needed?
>
> Yeah, that RDF, but I have no clue about the format. Download a key
> generated by KeyIndexClient with freenet_request/frequest and you'll see.
> The RDF isn't in use for now, but is for future use for key description or
> metadata or something, I dont' know. It sounds nice though for the future
> when we can get descriptions of keys and categorize them programatically
> with RDF.
>
> For instance, there is one in Snarfoo, grab it and see:
>
> freenet_request snarfoo-992736000-0
> (blah blah blah)
>
> <rdf:RDF
>   xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
>   xmlns:RDFNsId0='http://purl.org/dc/elements/1.1/' >
>   <rdf:Description
> rdf:about='freenet:KSK at pdf/Hate_Directory/hate_groups_in_the_internet/hated
>ir.pdf'>
>
> <RDFNsId0:identifier>freenet:KSK at pdf/Hate_Directory/hate_groups_in_the_inte
>rnet/hatedir.pdf</RDFNsId0:identifier> </rdf:Description>
> </rdf:RDF>
>
> > Cheers
> > David
> >
> > ----- Original Message -----
> > From: "Rob Cakebread" <robc at myrealbox.com>
> > To: <devl at freenetproject.org>
> > Sent: Sunday, June 17, 2001 16:17
> > Subject: Re: [freenet-devl] Key index bug
> >
> > > Did you insert the key with KeyIndexClient? If not, my best guess
> > > is you didn't make it look like RDF that it wants. If someone
> > > posts a key 'manually' with freenet_insert it won't work
> > > with KeyIndexClient unless they wrapped it up in RDF.
> > >
> > > On Saturday 16 June 2001 08:33 pm, you wrote:
> > > > I'm working on key index code, and I'm getting something weird in
> > > > Freenet.client.KeyIndexClient:
> > > >
> > > > Exception in thread "main" RDF Error code:9 Nested Exception =
> > > > Freenet.contrib.x
> > > > mlrpc.xml.sax.SAXParseException: expected character (found "f")
> >
> > (expected
> >
> > > > "<")
> > > >         at Freenet.client.rdf.util.RDFLoader.load(RDFLoader.java)
> > > >         at
> > > > Freenet.client.KeyIndexClient.getIndexAsModel(KeyIndexClient.java)
> > > >         at Freenet.client.KeyIndexClient.main(KeyIndexClient.java)
> > > >
> > > > That is happening as the keyindex client tries to retrieve a key I
> >
> > posted.
> >
> > > > The key contains a single line, being a freesite URI.
> > > >
> > > > Ideas anyone?
> > > >
> > > > Cheers
> > > > David
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Devl mailing list
> > > > Devl at freenetproject.org
> > > > http://lists.freenetproject.org/mailman/listinfo/devl
> > >
> > > _______________________________________________
> > > Devl mailing list
> > > Devl at freenetproject.org
> > > http://lists.freenetproject.org/mailman/listinfo/devl
> >
> > _______________________________________________
> > Devl mailing list
> > Devl at freenetproject.org
> > http://lists.freenetproject.org/mailman/listinfo/devl

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

Reply via email to