> Redirect
> Redirect-to=freenet:CHK at klasdfadsfldsfdfjsdf

> Multipart
> Part-count=10
> Part-1=freenet:CHK at asdlfldsfhsadfraewf
> Part-2=freenet:CHK at alsdfhjsdfadfkdsfj 

I don't like simply putting the content-carrying fields in the metadata
because they're not metadata, they're content. In a sense they're metadata
about some other thing in Freenet, but the way I look at it, the private
metadata should contain metadata about the included file. Of course you
can say if there is no file, then the metadata must be referring to some
other file. But I don't see why this is better than just having it
uniform. You avoid possible namespace collisions between metadata about
the file itself and metadata about the file it is referring to. And it
just seems cleaner to me.

Examples:

Redirect
Signature=312798432109813209813298012
Data
freenet:CHK at klasdfadsfldsfdfjsdf

Multipart
Count=2
Encoding=RAID0
Author=Brandon
Title=72 Naked Cryptographers in Vienna
Data
freenet:CHK at asdlfldsfhsadfraewf
freenet:CHK at alsdfhjsdfadfkdsfj 

Index
Signature=980439804309843098
Title=Philosophical texts
Author=Automated philosophical text indexing bot
Count=3
Data
Art of War=freenet:CHK at asdlfldfklsdioeipopiopiofspio
The Prince=freenet:CHK at ioioioioioioioioiooiioioioioi
Leviathan=freenet:CHK at jkdkjfdjklfdkljfsdkljfsdkljfs

These all have the same format as a "normal" file:

Normal
Author=Brandon
Content-type=image/gif
Title=picture of a monkey
Data
<a bunch of binary gibberish representing a gif file>




_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to