AktivMakeProjselEn

aktiv_make_projsel: generating the project selection menu for aktiv.ffii.org

--> [ aktiv | make aktiv menus | creating projects | project news | mlht database ]


News & Chronolgy

Synopsis

The Perl script

is invoked from 'daily-aktiv.knecht', either by hand or by cronjob every night. It writes html text to standard output that is used by the ffii participation system (aktiv) to let people subscribe to a project at various participation levels. The html text belongs into one of the files

which are read by the aktiv.ffii.org program and found in its main menu (via an item labelled 'participate in projects' or similar). Once the text is stored there, it is immediately used by aktiv, as soon as the menu page is loaded/reloaded.

Without any commandline argments, the scripts writes the english version. An two-letter iso language code can be supplied to change the language. Currently translations are available mainly for 'de' and 'fr', to a lesser degree also 'pt', 'se', 'nl' and others.

Project participation and signoff decision can also be taken implicitely in the related mailman mailing lists. Both decisions are translated to one another with help of the ffiidb2mm and ffiimm2db scripts.

The script reads both the project titles and descriptions and all other texts from the mlht database. Texts that do not belong to projects but to the page itself are stored in the table 'langtxts' under the virtual document ID 'projsel'. They are retrieved by the sql command

Currently translations that are sent to the localisation system used by mwas are not automatically stored in this database.

The script has a few commandline options which are mostly interesting for debugging purposes and not yet further documented here.

To Do

Hosting sponsored by Netgate and Init Seven AG