on 5/27/03 7:18 AM Jeff Turner wrote:

> On Tue, May 27, 2003 at 01:44:45AM -0500, Stefano Mazzocchi wrote:
> ....
> 
>>How?
>>
>>Using a link-translating protocol.
>>
>>Example:
>>
>> <html>
>>  <head>
>>   ...
>>   <link src="link:/styles/main.css" ...>
> 
> 
> Hooray ;)  For those who didn't know, this is what the linkrewriter block
> does.  In this example, it would look up the '/styles/main.css' key in
> the 'link' InputModule, whatever that may be.

Nononono, the above is not only a lookup, it's more complex.

It's basically paving the road for

 <link src="link:skin:/styles/main.css" ...>

where

 link: -> is the link-translation protocol
 skin: -> is the block role
 /styles/main.css -> is the absolute location in the context of the block

but it could well be

 link:styles/main.css

which is equivalent to

 link:this:styles/main.css

but different from

 link:this:/styles/main.css

hope you see my point.

-- 
Stefano.


Reply via email to