+1 , please lets avoid LLSD where we can and only use it where the client already uses it.<br><br><b><i>"Frisby, Adam" <adam@deepthink.com.au></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> 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 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, like<br>> login<br>> >>> page and helper URI.<br>> >>><br>> >>> I suggest to add a new function "get_grid_info" to the user server,<br>> that<br>> >>> returns an LLSD map containing information on the grid 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 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 making<br>> >>> opensim:// links work smoothly, it would save the user from 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 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 well.<br>> >> i've updated OpenSim.ini.example with an example section 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 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 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></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><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>