Skip to Content.
Sympa Menu

en - Re: [sympa-users] create_list: comprehensive list of xml tags? or workaround?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] create_list: comprehensive list of xml tags? or workaround?
  • Date: Wed, 18 Sep 2013 16:13:05 +0200

Hi Dirk,

Le 18/09/13 15:13, Jahnke-Zumbusch, Dirk a écrit :
Hi all,

I am wondering (also), if there is a comprehensive list of xml tags anywhere
around.

I am in the course of splitting up an old 5.1.2 installation of SYMPA from
one host
into several virtualized hosts (changing to 6.1 and replacing the database
backend)
and in that course I would like to re-create the lists using XML input
files. 
But I found only an XML example in the documentation with some tags used.

Having a look at sympa.pl and Config_XML I can only see, that the XML input
is
parsed and a PERL hash is handed over to an internal function. So it would
be nice
to have that list of tags around. Any directions for me?
Actually, you don't need any. Sympa will convert your XML tags to variables used in the TT2 template for the config file.

So if you have a tag like this in your XML file :
<elephant>Dumbo</elephant>

You can use the following variable in the config.tt2 :
elephant_name [% elephant %]

that will be converted, in the final config file, into:
elephant_name Dumbo

Does it make sense to you, now?

Best regards,

David

Kind regards
Dirk

PS: would it be feasible to create those lists with a dummy XML and replace
the config files by the 5.1.2 configs and then adjust the list owners via
SQL?



--
A bug in Sympa? Quick! To the bug tracker!

 
David Verdin
Infrastructure pour les Services Informatiques
 

Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 

www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex



PNG image

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page