On Sun, 2003-03-02 at 11:38, Erendil at aol.com wrote:
> Huh? Where did blocks come into templating?

(It might be your email client, but you should reply to the message you
want to reply to so that people with email clients that automatically
thread replies can see the messages correctly)


Sorry if my thoughts seem to shift between topics erratically.  That
tends to happen when I think too much before I write.

First of all, you'd probably want to put the template and content into
freenet before its compiled, then have something like FProxy
automatically compile the webpage then.  This would reduce the size of
the data because the template content would not have to be transmitted
multiple times, and new templates could easily be applied to old
content.

Templating can be done with many website management programs and then
newly-templated files could be inserted into freenet.  Basically, a
template creates a set of common data between two files, and rsync-like
block-matching would be able to find those matching segments of data and
re-use the common segments between editions of a freesite.  This would
actually work better compression-wise because some of the content itself
might have common segments between editions (which most freesites seem
to have, especially blog-style ones).

Templating and block-matching are not mutually exclusive.  Templating
would reduce the number of files inserted into the network if a new
template needs to be applied to old content, while block-matching would
reduce the overall size of the files by pointing back to similar
matching segments of data.  Together they would greatly reduce the
amount of data that needs to be requested to download a freesite
(although they would increase the number of files needed to view a
page).  It would be cool to get transparent XSLT.  XSLT with XPath,
XPointer, and some other W3C recommendations would provide an extremely
robust way of managing content - especially if it can transparently
convert pages into XHTML.


Scott Young




_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to