Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Method for importing real-time data into SL

Morse Dillon
Lifetime Member
Join date: 11 Dec 2003
Posts: 142
12-31-2003 07:37
This is something along the lines of the recent "SLIP" proposal but would be quite a bit simpler for LL to implement and would provide a lot of the same functionality without the security risk.

What I propose is *some* way to pipe text from the outside into SL. This could take many forms, here are a few options:

1. A function that retrieves the text that is returned from a certain URL. For example, I could put a text file on my webserver, and llGetHttp(www.mywebserver.com/file.txt) would retrieve the text.

2. A full system to read and parse RSS feeds. This is essentially #1, with some XML-like stuff added in.

3. Some sort of special stream system, whereby you can connect an object to a text stream server that runs on someone's computer. The server would have all the extensibility, whereby a user could pipe the output of something into the stream server, which would then be fed to the in-game client.

Perhaps there are more and better ways to do this, but that's just a few. To start with, I'd propose #1 because it would take minimal effort on LL's part and would provide a lot of the functionality we need. A full-on network system like the "SLIP" thread would be nice, but I think we need to walk before we can run. Perhaps if a simpler model is successful, LL would be more inclined to take on the more complex option at a later date.

Feel free to reply not just with better ways to do this but also with possible uses. I have the feeling that the chance of getting something like this implemented is dependent on a large number of creative uses - so let's tell LL what we could do "if only"... :)
Kex Godel
Master Slacker
Join date: 14 Nov 2003
Posts: 869
01-03-2004 03:54
Of course, there's always llGetNextEmail()...

If it worked...
Carnildo Greenacre
Flight Engineer
Join date: 15 Nov 2003
Posts: 1,044
01-03-2004 15:17
llGetNextEmail has too high a latency (potential latencies of several days!) for many uses.
_____________________
perl -le '$_ = 1; (1 x $_) !~ /^(11+)\1+$/ && print while $_++;'
Kex Godel
Master Slacker
Join date: 14 Nov 2003
Posts: 869
01-05-2004 08:30
I like this idea, especially the simplicity of recieving raw text via HTTP.

I'm not asking for HTML or XML or parsing of any type.

Just give me (at the very least) the first 4096 bytes of text that comes back from an HTTP request.

This would have two great benefits:

- Our request itself can push data out to the RL world (by using urlencoded CGI arguments)

- Our request can pull real data into the SL world.

This would go a long way toward realizing the "metaverse" direction that SL is headed in.

Currently we are living on a deserted island, separated from the rest of the world, with only the ability to throw a message in a bottle (llEmail) which may eventually get picked up and handled.
Meekrat Pendragon
Registered User
Join date: 30 Dec 2003
Posts: 19
01-07-2004 10:51
I've had similar ideas.

I think RSS is a good solution for short updates, but I think it is best to set up as a manual pull mechanism (llGetRSS( "url" ) and an on_rss event). It's easy enough to set a timer up around this.


Another standards based route is WebServices. Better yet, but not as common, are GridServices, which are just a stateful variant of web services. See:
http://www.globus.org/ogsa/


Meek