On Tue, 26 Dec 2000, Scott G. Miller wrote:

> On Mon, Dec 25, 2000 at 11:21:44PM -0600, Mark J. Roberts wrote:
> > On Mon, 25 Dec 2000, Brandon wrote:
> > 
> > > Last time we talked about this, my solution was to create a new
> > > psuedo-keytype. With a new keytype you can disambiguate between mapped and
> > > non-mapped keys and you can store information about the mapfile in the key
> > > without limiting what normal keys can look like. What do you think of this
> > > idea? I didn't think all that much about it so it may have some problems.
> > 
> > That was my original proposal. Break the key into two parts: the location
> > of the map file, and the filename to look up in the map file. I used a
> > colon. For example,
> > 
> >     freenet:KSK@blah:/index.html
> > 
> > where freenet:KSK@blah is the mapfile and /index.html is the filename. The
> > slash after the colon is superfluous, but it satisfies the browser.
> > 
> > I'll check this in when I'm done in a few hours, if you'd like.
> No.  Overloading the key is bad.  Create a new client-side keytype (SSKs
> aren't real keytypes, their client-side specialized SVKs, same with
> KSK).  Create a new one, MSK (Mapped Subspace Key), with the right fields:
> 
> freenet:MSK@[subspace pubkey]/[mapkey]/[document name]
> 
> Mandate that mapkey never contain a slash and you've got it.

It doesn't permit completely guessable keys, but it is elegant.

I'm ambivalent about this now. Mapfiles are the most efficient and simple
way to insert a site into Freenet. So they're going to be used
everywhere. If they aren't simple and guessable, like

        freenet:pigdogjournal//index.html

they will have to be redirected to with a very annoying entry page, like
the one for the Pigdog Journal. Almost all of them will use Javascript
updating for the [mapkey], probably even after real updating is
implemented, because the key format suggests it, so you'll always have to
click through the stupid entry page, over and over, every time you access
the page. This would get so annoying that people would start to insert
Javascript-filled lists of popular links that automatically pseudo-update.

But I don't know. Maybe we'll get used to KSK entry pages, and prefer them
to typing the extra "//index.html". Well, actually, we could assume an
implied index.html when just // is entered, so

        freenet:pigdogjournal//

would refer to index.html. So, as a practical matter, we can type two
extra characters, or we can click through an entry page. Hrmmm...

I'm ambivalent about this now. Must think... must sleep...


-- 
Mark Roberts
[EMAIL PROTECTED]


_______________________________________________
Freenet-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to