Re: secondlifescripters Digest, Vol 21, Issue 1

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: secondlifescripters Digest, Vol 21, Issue 1

Ina Centaur
Yes, XML-RPC is also another method, that allows you to initiate the
session from the web.
afaik, http_request requires that you initiate the session inworld.

On Dec 3, 2007 12:00 PM,
<[hidden email]> wrote:

> Send secondlifescripters mailing list submissions to
>         [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
>
> or, via email, send a message with subject or body 'help' to
>         [hidden email]
>
> You can reach the person managing the list at
>         [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of secondlifescripters digest..."
>
>
> Today's Topics:
>
>    1. Give an object from web (Renzo Amat)
>    2. Re: Give an object from web (Ordinal Malaprop)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 3 Dec 2007 18:05:48 +0100
> From: "Renzo Amat" <[hidden email]>
> Subject: Give an object from web
> To: [hidden email]
> Message-ID:
>         <[hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> HI,
>
> Anyone can help me ?
>
> I see that slexchange web, whern i select and object of the web page , i can
> receive the object into the Sl application.
>
> How i need for send an object from my webpage to another (avatar connect at
> SL) ?
>
>
>
> Thank's
>
>
> Renzo
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.secondlife.com/pipermail/secondlifescripters/attachments/20071203/05f591f0/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Mon, 03 Dec 2007 17:12:45 +0000
> From: "Ordinal Malaprop" <[hidden email]>
> Subject: Re: Give an object from web
> To: "Scripters" <[hidden email]>
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> There are objects in-world which communicate with the web server, which
> tells them when they should deliver products to avatars. There are
> different ways of doing this but at the moment I would use
> llHTTPRequest.
>
> On Mon, 3 Dec 2007 18:05:48 +0100, "Renzo Amat"
> <[hidden email]> said:
> > HI,
> >
> > Anyone can help me ?
> >
> > I see that slexchange web, whern i select and object of the web page ,
> > i can receive the object into the Sl application.
> >
> > How i need for send an object from my webpage to another (avatar
> > connect at SL) ?
> >
> >
> >
> > Thank's
> >
> >
> > Renzo
>
>
> ------------------------------
>
> _______________________________________________
> secondlifescripters mailing list
> [hidden email]
> https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
>
> End of secondlifescripters Digest, Vol 21, Issue 1
> **************************************************
>
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: secondlifescripters Digest, Vol 21, Issue 1

Jesse Barnett
XML-RPC is no longer reliable for mission critical tasks. High failure rate. LL has not been supporting it for a few months now and people are forced to put http request on a timer to poll frequently.

On 12/3/07, Ina Centaur <[hidden email]> wrote:
Yes, XML-RPC is also another method, that allows you to initiate the
session from the web.
afaik, http_request requires that you initiate the session inworld.

On Dec 3, 2007 12:00 PM,
<[hidden email]> wrote:

> Send secondlifescripters mailing list submissions to
>         [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
>
> or, via email, send a message with subject or body 'help' to
>         [hidden email]
>
> You can reach the person managing the list at
>         [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of secondlifescripters digest..."
>
>
> Today's Topics:
>
>    1. Give an object from web (Renzo Amat)
>    2. Re: Give an object from web (Ordinal Malaprop)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 3 Dec 2007 18:05:48 +0100
> From: "Renzo Amat" <[hidden email]>
> Subject: Give an object from web
> To: [hidden email]
> Message-ID:
>         < [hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> HI,

>
> Anyone can help me ?
>
> I see that slexchange web, whern i select and object of the web page , i can
> receive the object into the Sl application.
>
> How i need for send an object from my webpage to another (avatar connect at
> SL) ?
>
>
>
> Thank's
>
>
> Renzo
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.secondlife.com/pipermail/secondlifescripters/attachments/20071203/05f591f0/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Mon, 03 Dec 2007 17:12:45 +0000
> From: "Ordinal Malaprop" <[hidden email]>
> Subject: Re: Give an object from web
> To: "Scripters" <[hidden email]>
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> There are objects in-world which communicate with the web server, which
> tells them when they should deliver products to avatars. There are
> different ways of doing this but at the moment I would use
> llHTTPRequest.
>
> On Mon, 3 Dec 2007 18:05:48 +0100, "Renzo Amat"
> <[hidden email]> said:
> > HI,
> >
> > Anyone can help me ?
> >
> > I see that slexchange web, whern i select and object of the web page ,
> > i can receive the object into the Sl application.
> >
> > How i need for send an object from my webpage to another (avatar
> > connect at SL) ?
> >
> >
> >
> > Thank's
> >
> >
> > Renzo
>
>
> ------------------------------
>
> _______________________________________________
> secondlifescripters mailing list
> [hidden email]
> https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
>
> End of secondlifescripters Digest, Vol 21, Issue 1
> **************************************************
>
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
Reply | Threaded
Open this post in threaded view
|

Re: secondlifescripters Digest, Vol 21, Issue 1

Bartosz Ptaszynski
BOSH is a good alternative. It's similar to Comet but works well with all browsers, including the llHTTPRequest.
How it works is that it opens a connection for receiving information and the server keeps it open until the connection either times out, reaches the maximum idle time or the server has something to send to the client. Either way the client opens a new connection immediately after that. If the client has something to send it opens second connection and sends the data, server may use that connection to respond to the request or use the idling request.
This is how the XEP--0124 and XEP-0206 specification for Jabber HTTP Binding works.
It minimizes the amount of connections you have to make to the server as if there is little or no traffic you just make one connection per timeout period. But if there is a lot going on you can have the data almost instantly. Of course you have to keep in mind the throttling limit set by LL to 100 requests per 100 sec (approx 1request per 1sec) for ALL scripts that you own running on one Sim. But still I find this method most appealing for most applications that otherwise would require polling data in hardcoded intervals.
llHTTPRequest returns error code 499 when the connection times out so you can use that or set the max idling time when connecting to the server (a good value would be something between 30-60sec) to decide when you need to reopen a connection.
Also you have to keep track of keys returned by the llHTTPRequest (ie one for idling connection and one for request sending connection) to keep track to which connection the server is responding to.

If anyone has other ideas like that please share :)

Cheers,
Bart
On 4 Dec 2007, at 03:31, Jesse Barnett wrote:

XML-RPC is no longer reliable for mission critical tasks. High failure rate. LL has not been supporting it for a few months now and people are forced to put http request on a timer to poll frequently.

On 12/3/07, Ina Centaur <[hidden email]> wrote:
Yes, XML-RPC is also another method, that allows you to initiate the
session from the web.
afaik, http_request requires that you initiate the session inworld.

On Dec 3, 2007 12:00 PM,
<[hidden email]> wrote:

> Send secondlifescripters mailing list submissions to
>         [hidden email]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
>
> or, via email, send a message with subject or body 'help' to
>         [hidden email]
>
> You can reach the person managing the list at
>         [hidden email]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of secondlifescripters digest..."
>
>
> Today's Topics:
>
>    1. Give an object from web (Renzo Amat)
>    2. Re: Give an object from web (Ordinal Malaprop)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 3 Dec 2007 18:05:48 +0100
> From: "Renzo Amat" <[hidden email]>
> Subject: Give an object from web
> To: [hidden email]
> Message-ID:
>         < [hidden email]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> HI,

>
> Anyone can help me ?
>
> I see that slexchange web, whern i select and object of the web page , i can
> receive the object into the Sl application.
>
> How i need for send an object from my webpage to another (avatar connect at
> SL) ?
>
>
>
> Thank's
>
>
> Renzo
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.secondlife.com/pipermail/secondlifescripters/attachments/20071203/05f591f0/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Mon, 03 Dec 2007 17:12:45 +0000
> From: "Ordinal Malaprop" <[hidden email]>
> Subject: Re: Give an object from web
> To: "Scripters" <[hidden email]>
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset="ISO-8859-1"
>
> There are objects in-world which communicate with the web server, which
> tells them when they should deliver products to avatars. There are
> different ways of doing this but at the moment I would use
> llHTTPRequest.
>
> On Mon, 3 Dec 2007 18:05:48 +0100, "Renzo Amat"
> <[hidden email]> said:
> > HI,
> >
> > Anyone can help me ?
> >
> > I see that slexchange web, whern i select and object of the web page ,
> > i can receive the object into the Sl application.
> >
> > How i need for send an object from my webpage to another (avatar
> > connect at SL) ?
> >
> >
> >
> > Thank's
> >
> >
> > Renzo
>
>
> ------------------------------
>
> _______________________________________________
> secondlifescripters mailing list
> [hidden email]
> https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters
>
> End of secondlifescripters Digest, Vol 21, Issue 1
> **************************************************
>
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters

_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters


_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters