Might as well make it a JSONP output.

>From JavaScript it's like
http://toolserver.org/~platonides/public_html/common/status.php?callback=Foo
> Foo({"status":"blabla"});

And from many other languages, it's a GET request to 
http://toolserver.org/~platonides/public_html/common/status.php
and json_decode or something alike (including Python).


-- Krinkle

On Aug 11, 2011, at 2:04 PM, Dr. Trigon wrote:

>> In case anyone isn't taking status files into account and wants to 
>> benefit from my library, he can do:
>> 
>> require_once "/home/platonides/public_html/common/status.php";
>> ToolserverStatus::showPrettyBox();
>> 
>> And a nice box will appear -if needed- with any relevant status 
>> information at that point.
> 
> Nice! Is there any possibility to use this from python? Do you have
> a python module? Or could you make it possible to call
> 
>> ToolserverStatus::showPrettyBox();
> 
> by URL request? E.g.
> 
> http://toolserver.org/~platonides/public_html/common/status.php
> 
> This would allow to use it with any language... ;)
> 
> Greetings
> Dr. Trigon
> 
> _______________________________________________
> Toolserver-l mailing list ([email protected])
> https://lists.wikimedia.org/mailman/listinfo/toolserver-l
> Posting guidelines for this list: 
> https://wiki.toolserver.org/view/Mailing_list_etiquette


_______________________________________________
Toolserver-l mailing list ([email protected])
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette

Reply via email to