Fileref:sl distrib/sl distrib channel linker.php
From SLIS Second Life Wiki
This Linker Script allows in-world distribution objects to send data to the Moodle database. There are two items of data which must be sent:
- the key of the XML-RPC remote data channel on which the Distributor object can receive requests
- a list of items which the Distributor object can give to avatars
Contents |
Dependencies
Sloodle files:
Parameters
The following HTTP parameters are required when requesting this script:
- sloodlepwd = the site's Prim Password
- sloodlechannel = specifies the UUID of the XMLRPC channel which the Distributor object has opened
- sloodlecontents = a pipe-delimited list of inventory item names (e.g. "Sloodle+Set+0.704|Sloodle+WebIntercom|Sloodle+Quiz+Chair")
Response
- If fully successful, then the response status code is 1.
- If a required parameter was not specified, code -811 is returned, usually with an error message in the first data line
- If the system fails to store some of the data, then code -101 is returned.
Algorithm
- Construct SloodleLSLHandler object
- Process basic request data
- Authenticate request
- Fetch additional parameters
- Store the channel key (terminate on failure)
- Store the inventory list (terminate on failure)
- Construct and render the response
- Terminate the script
| This page is part of the SLOODLE documentation | |||
|---|---|---|---|
| Docs: Users | Administrators | Developers | |||
| Wiki Frontpage Sloodle.org | |||