These forums are CLOSED. Please visit the new forums HERE
Importing my blog |
|
|
Andrew Hughes
Registered User
Join date: 24 Jul 2006
Posts: 5
|
04-23-2007 12:18
I want to import my blog on a prim.. is this possible? I want to be able to allow people to read my blog via sl! Anyone have any ideas how I can go about doing this? Is there a way to view items outside of SL such as blogs, and websites? Anyone know where I can get a script to do so? Thanks!
|
|
RJ Source
Green Sky Labs
Join date: 10 Jan 2007
Posts: 272
|
04-23-2007 12:40
You can call llHTTPRequest to get info from a web page into a script.
But its limited on the amount of info it returns. |
|
bucky Barkley
Registered User
Join date: 15 May 2006
Posts: 200
|
04-23-2007 13:03
hmm..another way is to parse RSS feeds (or whatever data from a web server), and produce SMIL & TexML on the fly.. this gives you styled text via Quicktime video.
The drawback is that not everyone seems to be able to handle text in QuickTime (some get a black screen), and you have to remind people to hit the movie control. There are also some interesting quicktime quirks, such as having to use a cache-busting element in the request url in order to assure fresh data. And as for the limit on llHTTPRequest().. yep.. 2048 bytes.. not much. The quicktime method ignores that entirely, because it is requesting TexML to fill in a region. The other main method for just text is to use one of the XYText-based prim signs. It gets the job done, but uses lots of prims, lots of script resources, and does not update very quickly. Oh.. and one more method... capturing web pages as jpeg/tga files on the web server side, and then having some sort of custom viewer automatically upload them as textures... The simple answer is "there's no good way to do it that doesn't venture into hackery and workarounds". _____________________
Bucky Barkley -- Mammal, Scripter, Builder, Lover
|
|
Andrew Hughes
Registered User
Join date: 24 Jul 2006
Posts: 5
|
04-23-2007 13:30
This sounds like it is difficult to obtain info from a website. That is sad to hear. Do you have a quick example of how I would get this to work? thanks!
You can call llHTTPRequest to get info from a web page into a script. But its limited on the amount of info it returns. |
|
2fast4u Nabob
SL-ice.net
Join date: 28 Dec 2005
Posts: 542
|
04-23-2007 14:35
Do you have a quick example of how I would get this to work? thanks! Already documented on the wiki: http://lslwiki.net/lslwiki/wakka.php?wakka=llHTTPRequest |
|
Andrew Hughes
Registered User
Join date: 24 Jul 2006
Posts: 5
|
04-23-2007 18:48
SWEEEEEEEET THANK YOU SO MUCH!
you guys rock thanks! ![]() |