[Demexp-dev] [SOLVED] IE6 compatibility problems

2007-10-18 Par sujet Lyu Abe
Hi again, Ok, I solved the problem. FF recognizes custom styles (other than h1, h2, p, etc.) while IE6 does not. The solution is to declare styles as: .mystyle { ... } and to use ... It works fine now... Thanks. ABE Lyu ___ Demexp-dev m

Re: [Demexp-dev] Web Client Interface [status]

2007-10-18 Par sujet Lyu Abe
Hi David, But apart from this probably nicer visual effect, we have to think about its overall "readability". Think also at the ability to read the page by a simple web browser, in text mode, without javascript (blind people). Unfortunately, I'm not fully aware on how text browser work and h

Re: [Demexp-dev] Re: Demexp-dev Digest, Vol 48, Issue 6 : Python or php ?

2007-10-18 Par sujet Lyu Abe
Hi Diogene, First Id like to say that I dont receive the mails of the discussion ?? Just receive the summary at the end, is this normal ? Errr I don't think so. I'll forward copies of the discussion later today (I also guess the mails of this list are archived somewhere, but I don't know

[Demexp-dev] Re: Demexp-dev Digest, Vol 48, Issue 6 : Python or php ?

2007-10-18 Par sujet Diogene Laerce
Hello First Id like to say that I dont receive the mails of the discussion ?? Just receive the summary at the end, is this normal ? > Do you really want to use PHP? :-) > > In any case, if you prefer PHP, it might be better to use Augustin's > code. We know it works and it does not need an exter

Re: [Demexp-dev] Web Client Interface [status]

2007-10-18 Par sujet FĂ©lix
On 10/18/07, Lyu Abe <[EMAIL PROTECTED]> wrote: > Hi, > > Here's a small report of what I've obtained so far: > http://img138.imageshack.us/img138/3824/demexpinterfacev001lj2.png > > It's just tests, so probably we should not care about small details > right now. > (maybe you can tell if this prese

Re: [Demexp-dev] Questions

2007-10-18 Par sujet David MENTRE
Hello Lyu, Lyu Abe <[EMAIL PROTECTED]> writes: >> BTW, please note that there is no guarantee of the demexp server to >> sort the list in a specific order (the current reverse order comes >> from the current sequence of processing in the server, that might >> change in the future). Each question

Re: [Demexp-dev] Web Client Interface [status]

2007-10-18 Par sujet David MENTRE
Lyu Abe <[EMAIL PROTECTED]> writes: > I was just talking about the way to organize this > "consulting response" step... open a new page - simplest, or maybe > later, a more "sophisticated" method using javascripts(?): for example > unhiding a sub-window with all the informations just below the >

Re: [Demexp-dev] Web Client Interface [status]

2007-10-18 Par sujet Lyu Abe
I also need to figure out how to retrieve and display correct question tags ("Categorie"). See chapters 3.3.5 and 3.3.6 starting at page 21 of demexp book. To get tags and their label, use RPC: * max_tag_id() * tag_info() To get the set of tags assigned to a set of questions, use RPC: * t

Re: [Demexp-dev] Questions

2007-10-18 Par sujet Lyu Abe
David, Yep, use [::-1] operator ([:] operator with a negative step): l=[1,2,3,4] for i in l[::-1]: print i 4 3 2 1 Explanation in the Python library doc: http://docs.python.org/lib/typesseq.html The Python doc (http://docs.python.org/) is very useful. Most of the time, the thing you

Re: [Demexp-dev] Web Client Interface [status]

2007-10-18 Par sujet David MENTRE
Hello Lyu, 2007/10/18, Lyu Abe <[EMAIL PROTECTED]>: > Here's a small report of what I've obtained so far: > http://img138.imageshack.us/img138/3824/demexpinterfacev001lj2.png This seems okay for me. The look seems pretty clean. :-) > I also need to figure out how to retrieve and display correct

Re: [Demexp-dev] Questions

2007-10-18 Par sujet David MENTRE
Hi Lyu, 2007/10/18, Lyu Abe <[EMAIL PROTECTED]>: > Is there a very simple way of addressing elements in a > reversed way in a list? Yep, use [::-1] operator ([:] operator with a negative step): >>> l=[1,2,3,4] >>> for i in l[::-1]: print i 4 3 2 1 Explanation in the Python library doc:

[Demexp-dev] Web Client Interface [status]

2007-10-18 Par sujet Lyu Abe
Hi, Here's a small report of what I've obtained so far: http://img138.imageshack.us/img138/3824/demexpinterfacev001lj2.png It's just tests, so probably we should not care about small details right now. (maybe you can tell if this presentation is "roughly" okay to you) I also need to figure ou

Re: [Demexp-dev] Questions

2007-10-18 Par sujet Lyu Abe
Hi David, It can't work because those two mode are incompatible. Either you are running a CGI script (i.e. a Python script that is launch each time Apache handles an URL pointing to this script), or either you use mod_python and your code runs on a Python interpreter /within/ Apache. In both ca

Re: [Demexp-dev] Questions

2007-10-18 Par sujet David MENTRE
Hello Lyu, 2007/10/18, Lyu Abe <[EMAIL PROTECTED]>: > I had to install mod python > in order to make it work with it. [...] > Also, I tried to retrieve the "login" and "password" from the initial > index.html using "import cgi": > > import cgi > form = cgi.FieldStorage() > if form.has_key["login"]