RE: TWiki cookbook / licences

"Anton van Straaten" <[email protected]>
Newsgroups gmane.lisp.scheme.plt.schematics
Message-ID <[email protected]>
Noel Welsh wrote:

> --- Anton van Straaten <[email protected]> wrote:
> > The one problem I'm aware of at the moment is that
> > the code snippet
> > inclusion mechanism I used seems to slow certain
> > things down dramatically
>
> Yeah, I'm experiencing problems with it as well.  I
> think it is fairly critical to speed this up.

I've come up with a solution to this which I've implemented on the
WebProgramming topic, and it works fine speed-wise.

Instead of using included attachments for the source code, I've created a
topic for each source file, which contains the raw source.  In this case,
the topics are Web1Scm, Web2Scm, Web3Scm.  Including a topic seems to work
plenty fast.

Assuming there doesn't turn out to be a better way, then I think to make
this manageable, it may make sense to create a separate twiki "web" for
source code topics.  For example, if we call that web "Scm", then you would
include source code using a name like Scm.Web1, i.e. the syntax is:
%INCLUDE{"Scm.Web1"}%

This would have the advantage of grouping all the source code in a single
directory, without being mixed with other stuff.  A simple copy+rename would
convert them all to ordinary .scm files for packaging in a zip.

I'll convert the other pages to this system shortly.  We can always change
it again if we find a better way.

> > OK.  Which license?  LGPL for now?  See below.
>
> I'm happy with LGPL.  The LGPL gives the option to
> licence as GPL so everything is covered.  (I've just
> stumbled across http://creativecommons.org/ but enough
> already!)

OK, I'll set that up.

Anton



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.