[Opensim-dev] Get grid information from user server?
Mana Janus
mana.janus at web.de
Sat Jul 26 11:46:44 UTC 2008
XMLRPC should be fine for the viewer too. LLSD is really comfortable,
but looks like there are similar classes for XMLRPC.
I will give it a try!
Mana
dr scofield wrote:
> Michael Wright wrote:
>
>> +1 , please lets avoid LLSD where we can and only use it where the
>> client already uses it.
>>
> i've got no beef either way :-) personally, i like JSON, but XML is fine
> with me as well. i'll think i'll first move the GridInfo functionality
> to its proper place so that it not only works standalone but also with
> grid... and then concentrate on making progress with HttpServer before
> worrying about any other format then.
>
> cheers,
> dr scofield
>
>> */"Frisby, Adam" <adam at deepthink.com.au>/* wrote:
>>
>> Question:
>>
>> Is LLSD really appropriate here? Why not just plain XML?
>>
>> 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.
>>
>> Regards,
>>
>> Adam
>>
>> > -----Original Message-----
>> > From: opensim-dev-bounces at lists.berlios.de [mailto:opensim-dev-
>> > bounces at lists.berlios.de] On Behalf Of Dr Scofield
>> > Sent: Friday, 25 July 2008 11:12 AM
>> > To: opensim-dev at lists.berlios.de
>> > Subject: Re: [Opensim-dev] Get grid information from user server?
>> >
>> > Mana Janus wrote:
>> > > Dr Scofield wrote:
>> > >
>> > >> Mana Janus wrote:
>> > >>
>> > >>> 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.
>> > >>>
>> > >>>
>> > >> 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):
>> > >>
>> > >> {
>> > >> 'about': 'http://127.0.0.1/about/',
>> > >> 'welcome': 'http://127.0.0.1/welcome',
>> > >> 'help': 'http://127.0.0.1/help',
>> > >> 'register': 'http://127.0.0.1/register',
>> > >> 'gridnick': 'hippogrid',
>> > >> 'platform': 'OpenSim',
>> > >> 'mode': 'standalone',
>> > >> 'gridname': 'the lost continent of hippo',
>> > >> 'login': 'http://127.0.0.1:9000/',
>> > >> 'password': 'http://127.0.0.1/password',
>> > >> 'economy': 'http://127.0.0.1:9000/'
>> > >> }
>> > >>
>> > >> (not sorted)
>> > >>
>> > >> will do LLSD later.
>> > >>
>> > >> cheers,
>> > >> dr scofield
>> > >>
>> > >
>> > > Wow, that was fast, thanks! Looks great so far!
>> > > As soon as I am up to 1.20 and got a Linux version, I will
>> start on
>> > > retrieving this information in the viewer.
>> > > A REST returning LLSD will be much simpler to handle there :-)
>> > >
>> > yep. working on it. also, need to get this properly into the user
>> > server
>> > still. stay tuned.
>> >
>> > cheers,
>> > dr scofield
>> >
>> > --
>> > dr dirk husemann ---- virtual worlds research ---- ibm zurich
>> research
>> > lab
>> > SL: dr scofield ---- drscofield at xyzzyxyzzy.net ----
>> > http://xyzzyxyzzy.net/
>> > RL: hud at zurich.ibm.com - +41 44 724 8573 -
>> > http://www.zurich.ibm.com/~hud/
>> >
>> > _______________________________________________
>> > Opensim-dev mailing list
>> > Opensim-dev at lists.berlios.de
>> > https://lists.berlios.de/mailman/listinfo/opensim-dev
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>>
>> ------------------------------------------------------------------------
>> Not happy with your email address?
>> Get the one you really want <http://uk.docs.yahoo.com/ymail/new.html>
>> - millions of new email addresses available now at Yahoo!
>> <http://uk.docs.yahoo.com/ymail/new.html>
>>
>> ------------------------------------------------------------------------
>> Not happy with your email address?
>> Get the one you really want <http://uk.docs.yahoo.com/ymail/new.html>
>> - millions of new email addresses available now at Yahoo!
>> <http://uk.docs.yahoo.com/ymail/new.html>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Opensim-dev mailing list
>> Opensim-dev at lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/opensim-dev
>>
>>
>
>
>
More information about the Opensim-dev
mailing list