On Tue, Apr 03, 2001 at 12:55:25AM +0100, Michael Rogers wrote:
> If we're talking about keys found in other Freenet documents (ie 
> hypertext) rather than through websites, graffiti, skywriting etc., then 
> this overhead could be avoided in most cases if there was a way of adding 
> simple metadata to links. I don't know if there's a way to do it in HTML, 
> but I'm thinking of something like this:
> 
> <img src="freenet:CHK at abcdefg" freenet_metadata="content-type:image/png 
> foo:bar" alt="A picture">
> 
> This would avoid the need to retrieve metadata for anything except the 
> first file accessed. It gives the linker the freedom to add whatever 
> metadata they like, without creating duplicate copies of the data. But I 
> don't know if you can do it in HTML.

You would want to add it onto the key like this:

<img src="freenet:CHK at abcdefg?metadata=content-type:image/png foo:bar"" 
alt="A picture">

This is compatible with standard CGI style arguments.

-- 
GCS d s+:-- a--- C++++ UL++++ P L+++ E W++ N- o K- w-- O- M 
V- PS+ PE+ Y+ PGP+++ t 5 X R+ tv-- b+ DI+ D++ G e- h! r-- y--
pete at petertodd.ca http://retep.tripod.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20010405/cb2d210c/attachment.pgp>

Reply via email to