Skip to Content.
Sympa Menu

en - Re: [sympa-users] XML File Format

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Redmond Militante <address@concealed>
  • To: address@concealed
  • Cc: Redmond Militante <address@concealed>, address@concealed
  • Subject: Re: [sympa-users] XML File Format
  • Date: Tue, 31 Oct 2006 11:54:15 -0600

Thanks, this was helpful.

++ address@concealed <address@concealed> [06/10/31 10:15]:
>
> Redmond Militante wrote:
>
> We are creating lists from the command line like
>
> sympa.pl -create_list test -input_file test.xml
>
> The XML list creation template looks like
>
> <?xml version="1.0" ?>
> <list>
> <listname>test</listname>
> <type>private_working_group</type>
> <subject>example list</subject>
> <description/>
> <status>open</status>
> <visibility>secret</visibility>
> <shared_edit>editor</shared_edit>
> <shared_read>editor</shared_read>
> <language>us</language>
> <owner multiple="1">
> <email>[1]address@concealed</email>
> </owner>
> </list>
>
> This will create a generic private_working_group list. Are there XML
> elements
> that will create a list such that...
>
>
> You have to edit your own list type.
> * create ~sympa/etc/create_list_templates
> * cp -pR ~sympa/bin/etc/create_list_templates/private_working_group/
> ~sympa/etc/create_list_templates/uchicago-list-type1
> * edit and customize anyfile you want in
> ~sympa/etc/create_list_templates/uchicago-list-type1 . You can
> introduce any new var using [% xxx %] tt2 syntax
> * create a xml file for variables definition : myfile.xml
>
> * it must include all vars you have defined at previous step
> *
> <type>uchicago-list-type1</type>
>
>
> sympa.pl -create_list test -input_file myfile.xml
>
> Hope this help.
> Serge
>
> References
>
> 1. mailto:address@concealed

--
Redmond Militante / NSIT / The University of Chicago
PGP Public Key: <http://home.uchicago.edu/~rjm/pubkey.asc>



Archive powered by MHonArc 2.6.19+.

Top of Page