erw-devel
[Top][All Lists]
Advanced

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

[Erw-devel] New beta & updated licensing scheme


From: erw-devel
Subject: [Erw-devel] New beta & updated licensing scheme
Date: 24 Sep 2003 11:57:44 +0200

A new beta. I wanted it to go out because it contains a much-needed
feature, i.e., the ability of using *any* relationship type in filters
and labels. For filters, the filter matches if at least one associated
item matches (which is reasonable).

For labels, there is a new extension to the printf syntax: you can write

%<alignment_width_ecc>[<separator>]<format spec>

The result: each item associated is formatted using the format spec. The
resulting strings areconcatenated using the separator string between [].
The resulting string is formatted using the alignment, ecc. stuff before
the separator. You can use (, [, < or { to delimit the separator, so
escape is not a necessity.

For instance, if you have document/author with a "authorship" type
between them, you can use something like

%[, ]s

and argument authorship_author->name to get a list of the authors
separated by ",". If you want to truncate the list at 40 chars, use

%40[, ]s

If instead you want a more columnish thing, use

%[]20s

which puts no separator but alignes each name in 20 characters.

The licensing scheme has been modified so that it is always GPL but
applications built using ERW and its hooks can be distributed under any
license.

Moreover, for lazy people there is now an RPM!!

http://erw.dsi.unimi.it/ERW-0.9.9b3.tar.gz
http://erw.dsi.unimi.it/ERW-0.9.9b3-1.i386.rpm

Ciao,

                                seba







reply via email to

[Prev in Thread] Current Thread [Next in Thread]