On Sat, Apr 07, 2001 at 12:02:20PM -0500, Steven Hazel wrote: > "Info" doesn't have a docname in the spec because I split it apart > from control documents, which made sense at the time. So the idea was > one Info message per CHK, or something like that. > > But now that we've decided that metadata in CHKs is a Bad Idea, it > obviously needs to go in the control document. In fact, there is no > longer a distinction between control documents and metadata, since > control documents are the only sensible form of metadata. Freenet now > has two distinct kinds of files: metadata files, and data files.
Actaully, that's why I put a DocName in Info in the first place. I wish I had remembered that when I took it out again! > So, with the current metadata scheme, there's no way to associate an > Info message with a document. We could fix that by adding a docname > field, but I don't think that's the best way to do it. Since Info > goes in what were formerly control documents, it never refers to any > data that has come with it, which means that it always needs to be > associated with a URI. An Info message doesn't make any sense without > a corresponding Redirect statement. So let's just merge them into a > single command: > > DocInfo > URI=freenet:CHK at blah,blah > Docname=foo > Metadata.Title=blah > Metadata.Author=blahblah > [and so on] > EndPart But how do we give out CHKs then? We can't really point to a way to get the DMI (what I'm calling "Real Metadata", Dublin Core stuff because we don't have another name for it). Or do we say that you only link DMI to a CHK thru a DocInfo? > One great thing about doing it this way is that an in-Freenet key > index could list DocInfo entries instead of just keys, and key > indicies would have access to document metadata. I'm not clued up on this problem. (I read the threads again). Whats wrong with a list of Redirect, Info pairs? Also pairs of messages mean that we can cleanly replace it with a WaitRedirect (or whatever). AGL -- The herd instinct among economists makes sheep look like independent thinkers -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 240 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20010407/4a4fe004/attachment.pgp>
