can't we just have a plain xml REST call? rather than xmlrpc?<br><br><b><i>Mana Janus <mana.janus@web.de></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> XMLRPC should be fine for the viewer too. LLSD is really comfortable, <br>but looks like there are similar classes for XMLRPC.<br>I will give it a try!<br><br>Mana<br><br><br>dr scofield wrote:<br>> Michael Wright wrote:<br>>   <br>>> +1 , please lets avoid LLSD where we can and only use it where the <br>>> client already uses it.<br>>>     <br>> i've got no beef either way :-) personally, i like JSON, but XML is fine <br>> with me as well. i'll think i'll first move the GridInfo functionality <br>> to its proper place so that it not only works standalone but also with <br>> grid... and then concentrate on making progress with HttpServer before <br>> worrying about any other format
 then.<br>><br>>     cheers,<br>>     dr scofield<br>>   <br>>> */"Frisby, Adam" <adam@deepthink.com.au>/* wrote:<br>>><br>>>     Question:<br>>><br>>>     Is LLSD really appropriate here? Why not just plain XML?<br>>><br>>>     LLSD is only ever used by Linden Lab (hence the name) and means we<br>>>     need to add LLSD handlers into potentially foreign ground-up clients.<br>>><br>>>     Regards,<br>>><br>>>     Adam<br>>><br>>>     > -----Original Message-----<br>>>     > From: opensim-dev-bounces@lists.berlios.de [mailto:opensim-dev-<br>>>     > bounces@lists.berlios.de] On Behalf Of Dr Scofield<br>>>     > Sent: Friday, 25 July 2008 11:12 AM<br>>>     > To: opensim-dev@lists.berlios.de<br>>>     > Subject: Re: [Opensim-dev] Get grid information from user server?<br>>>     ><br>>>     > Mana Janus
 wrote:<br>>>     > > Dr Scofield wrote:<br>>>     > ><br>>>     > >> Mana Janus wrote:<br>>>     > >><br>>>     > >>> Hello,<br>>>     > >>><br>>>     > >>> Not too long ago, I started working on a new viewer targeted at<br>>>     > OpenSim<br>>>     > >>> users. I like the idea of using links like<br>>>     > "opensim://user.server:port/"<br>>>     > >>> to easily connect to another grid. They can be handled by the<br>>>     > viewer<br>>>     > >>> directly, but the viewer needs more information on the grid,<br>>>     like<br>>>     > login<br>>>     > >>> page and helper URI.<br>>>     > >>><br>>>     > >>> I suggest to add a new function "get_grid_info" to the user<br>>>     server,<br>>>     >
 that<br>>>     > >>> returns an LLSD map containing information on the grid<br>>>     required by<br>>>     > the<br>>>     > >>> viewer. The LLSD map allows to add more information any time,<br>>>     > without<br>>>     > >>> breaking older viewers.<br>>>     > >>><br>>>     > >>> Below is an ad-hoc list of information that would be useful<br>>>     to the<br>>>     > >>> viewer. I am sure there is more... :-)<br>>>     > >>><br>>>     > >>> * Grid name for display, allowing space and other special<br>>>     > characters.<br>>>     > >>> * Short grid ID or "unixname", alphanumeric, preferably lower-<br>>>     > case.<br>>>     > >>> It can be used as a part of file names for storing grid-<br>>>     > specific<br>>>     >
 >>> information and settings.<br>>>     > >>> * Link to the login page.<br>>>     > >>> * The helper URI.<br>>>     > >>> * Link to the grid's web site.<br>>>     > >>> * Link for "create account".<br>>>     > >>> * Link for "forgotten password".<br>>>     > >>> * Link for "help" and F1.<br>>>     > >>><br>>>     > >>> I guess this is not a huge effort to implement. Apart from<br>>>     making<br>>>     > >>> opensim:// links work smoothly, it would save the user from<br>>>     typing<br>>>     > all<br>>>     > >>> those options on the command line.<br>>>     > >>><br>>>     > >>><br>>>     > >> yep, yep, yep :-) a first cut is available from r5658. currently<br>>>     > it's<br>>>     > >>
 not yet an LLSD returning REST, but just an XmlRpc call to<br>>>     > >> get_grid_info (i'll extend it shortly). the plugin will<br>>>     return as a<br>>>     > >> bare minimum the platform ("OpenSim") and the mode ("grid" or<br>>>     > >> "standalone"). if you provide configuration values in OpenSim.ini<br>>>     > >> under the [GridInfo] section, then those will be returned as<br>>>     well.<br>>>     > >> i've updated OpenSim.ini.example with an example section<br>>>     following<br>>>     > >> your list and here's the result of a python XmlRpc call (see<br>>>     > >> share/python/grid_info.py):<br>>>     > >><br>>>     > >> {<br>>>     > >> 'about': 'http://127.0.0.1/about/',<br>>>     > >> 'welcome': 'http://127.0.0.1/welcome',<br>>>     > >> 'help':
 'http://127.0.0.1/help',<br>>>     > >> 'register': 'http://127.0.0.1/register',<br>>>     > >> 'gridnick': 'hippogrid',<br>>>     > >> 'platform': 'OpenSim',<br>>>     > >> 'mode': 'standalone',<br>>>     > >> 'gridname': 'the lost continent of hippo',<br>>>     > >> 'login': 'http://127.0.0.1:9000/',<br>>>     > >> 'password': 'http://127.0.0.1/password',<br>>>     > >> 'economy': 'http://127.0.0.1:9000/'<br>>>     > >> }<br>>>     > >><br>>>     > >> (not sorted)<br>>>     > >><br>>>     > >> will do LLSD later.<br>>>     > >><br>>>     > >> cheers,<br>>>     > >> dr scofield<br>>>     > >><br>>>     > ><br>>>     > > Wow, that was fast, thanks! Looks great so far!<br>>>     > > As
 soon as I am up to 1.20 and got a Linux version, I will<br>>>     start on<br>>>     > > retrieving this information in the viewer.<br>>>     > > A REST returning LLSD will be much simpler to handle there :-)<br>>>     > ><br>>>     > yep. working on it. also, need to get this properly into the user<br>>>     > server<br>>>     > still. stay tuned.<br>>>     ><br>>>     > cheers,<br>>>     > dr scofield<br>>>     ><br>>>     > --<br>>>     > dr dirk husemann ---- virtual worlds research ---- ibm zurich<br>>>     research<br>>>     > lab<br>>>     > SL: dr scofield ---- drscofield@xyzzyxyzzy.net ----<br>>>     > http://xyzzyxyzzy.net/<br>>>     > RL: hud@zurich.ibm.com - +41 44 724 8573 -<br>>>     > http://www.zurich.ibm.com/~hud/<br>>>     ><br>>>     >
 _______________________________________________<br>>>     > Opensim-dev mailing list<br>>>     > Opensim-dev@lists.berlios.de<br>>>     > https://lists.berlios.de/mailman/listinfo/opensim-dev<br>>>     _______________________________________________<br>>>     Opensim-dev mailing list<br>>>     Opensim-dev@lists.berlios.de<br>>>     https://lists.berlios.de/mailman/listinfo/opensim-dev<br>>><br>>><br>>> ------------------------------------------------------------------------<br>>> Not happy with your email address?<br>>> Get the one you really want <http: uk.docs.yahoo.com="" ymail="" new.html=""> <br>>> - millions of new email addresses available now at Yahoo! <br>>> <http: uk.docs.yahoo.com="" ymail="" new.html=""><br>>><br>>> ------------------------------------------------------------------------<br>>> Not happy with your email address?<br>>> Get the one
 you really want <http: uk.docs.yahoo.com="" ymail="" new.html=""> <br>>> - millions of new email addresses available now at Yahoo! <br>>> <http: uk.docs.yahoo.com="" ymail="" new.html=""><br>>> ------------------------------------------------------------------------<br>>><br>>> _______________________________________________<br>>> Opensim-dev mailing list<br>>> Opensim-dev@lists.berlios.de<br>>> https://lists.berlios.de/mailman/listinfo/opensim-dev<br>>>   <br>>>     <br>><br>><br>>   <br><br>_______________________________________________<br>Opensim-dev mailing list<br>Opensim-dev@lists.berlios.de<br>https://lists.berlios.de/mailman/listinfo/opensim-dev<br></http:></http:></http:></http:></adam@deepthink.com.au></blockquote><br><p>



      <hr size=1> 
Not happy with your email address?
<br> <a href="http://uk.docs.yahoo.com/ymail/new.html"> Get the one you 

really want</a> - millions of new email addresses available now at <a 

href="http://uk.docs.yahoo.com/ymail/new.html"> Yahoo!</a>