Re: Dumb moniker questions (was Re: Bonobo dependencies ...)



Hi,

On Fri, 1 Dec 2000, Joe Shaw wrote:
> > >  2) Can I refer to an HTML NAME using '#'?
> > >
> > >   http://www.foo.com/gnu-tools.html#ls
    
        What interface do you expect to get from your HTML name ?

> > It is an implementation detail, but my current take is that the '#'
> > inside the http moniker could trigger a moniker that would connect a
> > stream on the left hand side to a DOM interface on the right hand.   

        Easily, there is no need for a moniker to use
seek_standard_separator. However, I think this is not a nice way to solve
this problem; I would prefer:
  
        http://www.foo.com/whatever.html#dom:[ls]
  
        where [ls] is an optional tag. So the dom moniker will take any
stream and convert it to whatever interface you want, this way we don't
put special cases in the http moniker.
 
> Right now we also use the bang for seperating them, but I never cared
> much for this approach, but Miguel and I were sort of out of possible
> delimiters.
 
        ? The bang is used for the item moniker as it is simple, standard
practice, small in the string, and easy to parse / escape. cf:
 
        file:/tmp/a.gnumeric#item:Sheet1#item:Chart3
 
        file:/tmp/a.gnumeric!Sheet1!Chart3
 
> My opinion is that using the octothorpe for accessing anchors
> in the HTML should be escaped somehow, so you could do:
 
        I'm being dumb again, but what interface do you want to get from
these anchors ?

> http://www.foo.com/stuff.html\#anchor1
> or
> http://www.foo.com/compress.html.gz#gzip:

        Again, what if my html is not coming via. an http transport; this
approach looks strange to me.

        Regards,

                Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]