<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Mana Janus wrote:
<blockquote cite="mid:4888DB88.10004@web.de" type="cite">
  <pre wrap="">Hello,

Not too long ago, I started working on a new viewer targeted at OpenSim 
users. I like the idea of using links like "opensim://user.server:port/" 
to easily connect to another grid. They can be handled by the viewer 
directly, but the viewer needs more information on the grid, like login 
page and helper URI.

I suggest to add a new function "get_grid_info" to the user server, that 
returns an LLSD map containing information on the grid required by the 
viewer. The LLSD map allows to add more information any time, without 
breaking older viewers.

Below is an ad-hoc list of information that would be useful to the 
viewer. I am sure there is more... :-)

    * Grid name for display, allowing space and other special characters.
    * Short grid ID or "unixname", alphanumeric, preferably lower-case.
      It can be used as a part of file names for storing grid-specific
      information and settings.
    * Link to the login page.
    * The helper URI.
    * Link to the grid's web site.
    * Link for "create account".
    * Link for "forgotten password".
    * Link for "help" and F1.

I guess this is not a huge effort to implement. Apart from making 
opensim:// links work smoothly, it would save the user from typing all 
those options on the command line.
  </pre>
</blockquote>
yep, yep, yep :-) a first cut is available from r5658. currently it's
not yet an LLSD returning REST, but just an XmlRpc call to
get_grid_info (i'll extend it shortly). the plugin will return as a
bare minimum the platform ("OpenSim") and the mode ("grid" or
"standalone"). if you provide configuration values in OpenSim.ini under
the [GridInfo] section, then those will be returned as well. i've
updated OpenSim.ini.example with an example section following your list
and here's the result of  a python XmlRpc call (see
share/python/grid_info.py):<br>
<br>
<blockquote><tt>{<br>
    'about': '<a class="moz-txt-link-freetext" href="http://127.0.0.1/about/">http://127.0.0.1/about/</a>', <br>
    'welcome': '<a class="moz-txt-link-freetext" href="http://127.0.0.1/welcome">http://127.0.0.1/welcome</a>', <br>
    'help': '<a class="moz-txt-link-freetext" href="http://127.0.0.1/help">http://127.0.0.1/help</a>', <br>
    'register': '<a class="moz-txt-link-freetext" href="http://127.0.0.1/register">http://127.0.0.1/register</a>', <br>
    'gridnick': 'hippogrid', <br>
    'platform': 'OpenSim', <br>
    'mode': 'standalone', <br>
    'gridname': 'the lost continent of hippo', <br>
    'login': '<a class="moz-txt-link-freetext" href="http://127.0.0.1:9000/">http://127.0.0.1:9000/</a>', <br>
    'password': '<a class="moz-txt-link-freetext" href="http://127.0.0.1/password">http://127.0.0.1/password</a>', <br>
    'economy': '<a class="moz-txt-link-freetext" href="http://127.0.0.1:9000/">http://127.0.0.1:9000/</a>'<br>
}<br>
  </tt></blockquote>
(not sorted)<br>
<br>
will do LLSD later.<br>
<br>
    cheers,<br>
    dr scofield<br>
<pre class="moz-signature" cols="80">-- 
dr dirk husemann ---- virtual worlds research ---- ibm zurich research lab
SL: dr scofield ---- <a class="moz-txt-link-abbreviated" href="mailto:drscofield@xyzzyxyzzy.net">drscofield@xyzzyxyzzy.net</a> ---- <a class="moz-txt-link-freetext" href="http://xyzzyxyzzy.net/">http://xyzzyxyzzy.net/</a>
RL: <a class="moz-txt-link-abbreviated" href="mailto:hud@zurich.ibm.com">hud@zurich.ibm.com</a> - +41 44 724 8573 - <a class="moz-txt-link-freetext" href="http://www.zurich.ibm.com/~hud/">http://www.zurich.ibm.com/~hud/</a>
</pre>
</body>
</html>