[Demexp-dev] Re: Une question comme

2007-08-20 Par sujet David MENTRE
Hi Félix,

2007/8/19, Félix [EMAIL PROTECTED]:
 A question: would it be possible to make a simple modification to the demexp
 server, so that it sends an email to the classifiers (Fred and myself) when
 a new question arrives?

That should not be very difficult using the sendmail Unix command. I
only need to look at the way to use this command.

  I guess it could be
 done for the moment in a simple way by hard-coding the email adresses in the
 code.

Yes.

 What do you think?

I've added it on the server's feature wish list:
  
https://demexp.org/dokuwiki/doku.php?id=en:future_wishes#server_protocol_wishes

Another solution would be to use Thomas's Python binding to get the
list of questions and check if a new one is arrived. It would need
some Python programming though.

Yours,
d.


___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev


[Demexp-dev] Informations for those who want to build an web interface for demexp

2007-08-20 Par sujet Diogene Laerce

The actual demexp server supports only HTTP connexion for now, but will
supports HTTPS soon.

It uses an *ONC* RPC interface, different from the XML-RPC that you can
find in most of the current web applications.

But you can find a python XML-RPC - ONC-RPC passerel on this adresse :

- To send your XML-RPC requests :

http://www.linux-france.org/cgi-bin/demexp-xmlrpc-official

- The sources (zip files on top of the page) at :

http://www.linux-france.org/cgi-bin/hgwebdir.cgi/demexp/xmlrpc-proxy

- Some code example uses it :

- python :

http://www.linux-france.org/cgi-bin/hgwebdir.cgi/demexp/xmlrpc-proxy?f=fc0b5b82980b;file=test-xmlrpc.py

- PHP (Augustin's code) :

http://drupal.org/project/demexp

More informations on this proxy in demexp-dev files :

http://osdir.com/ml/politics.organizations.demexp.devel/2006-09/msg00015.html



To start with XML-RPC :

 http://en.wikipedia.org/wiki/XML-RPC
 http://www.xmlrpc.com/


For those who want to install their own server on their machine, for
testing purpose :

- login as : root, with password : demexp

You can also find a database (mybase.dmxp file) at :

http://www.linux-france.org/~dmentre/demexp/debug/test-base.dmxp.gz

If you encounter any trouble (server version for example), feel free to
contact David on this mailing-list.

Thanks to David for all these informations.

PS : will I ever be forgiven ?.. :)



___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev