Subject: The mailing list for listmasters using Sympa
List archive
[sympa-users] Re: Sympa list config for another application
- From: Olivier Salaün <address@concealed>
- To: Steven Peterson <address@concealed>
- Cc: address@concealed
- Subject: [sympa-users] Re: Sympa list config for another application
- Date: Thu, 19 Apr 2007 15:54:45 +0200
Hi Steven,
If you wish to enable this behavior, you should have a look at how RSS is handled in wwsympa.fcgi. Basically 'rss' is just a flag that tells Sympa to use a different TT2 template for the output ; all the processing is independent of RSS. You could probably do the same for your 'xml' feature.
Steven Peterson wrote:
We are interested in getting more of the list config information from SYMPA into another application than is supplied in the SOAP interface. Rather than add the additional fields to the SOAP interface, we are thinking a simpler approach might be to use TT2 to generate an XML document rather than a web page, when certain keys are in the URL.
The other application could simply call the url with an appended ?xml
parameter and appropriate cookies, which hopefully would not interfere with
wwsympa's processing, but which could be used to branch to an XML producing
template from the main.tt2 template.
Is there a way to get the original url (like the request_uri environment
parameter) from a tt2 template? Is there a better way to do this?
- [sympa-users] Re: Sympa list config for another application, Olivier Salaün, 04/19/2007
Archive powered by MHonArc 2.6.19+.