Trivial LT Gadget
Talk Second Life
This group has been archived. Find out more.
Join LibraryThing to post.
1libraryofus
I've been playing around with learning LSL (the Second Life scripting language) recently, and one of the products of that's been a freebie bookcase that's now modified to display your LibraryThing catalog (via built-in web browser)when someone clicks on it. Not really what I'm hoping for in terms of a long-term LibraryThing gadget, but it'll do as bookish furniture until then, I think.
Anyway, if anyone else wants a simple LibraryThing bookshelf, feel free to drop me an IM in-world ("Athanasius Skytower") or leave a comment on my profile here with your SL name, and I'll send you one.
-- Alistair
Anyway, if anyone else wants a simple LibraryThing bookshelf, feel free to drop me an IM in-world ("Athanasius Skytower") or leave a comment on my profile here with your SL name, and I'll send you one.
-- Alistair
3timspalding
Oh, me! I'm Callimachus Snook.
4BTRIPP
Re. #1: "display your LibraryThing catalog (via built-in web browser)when someone clicks on it"
So, this basically just has an LSL "URL" script dropped into a book-case?
You might do better to just post the code (since each will need to specify the URL of the individual user's library, which would certainly be a pain in the butt if you start getting a bunch of requests) than offer the item in-world. That way folks can modify the script (in a text editor) and then drop it into whatever bookcases, etc., they have for which they have mod rights.
By the way, I'm "Eschatos Graves" in-world.
So, this basically just has an LSL "URL" script dropped into a book-case?
You might do better to just post the code (since each will need to specify the URL of the individual user's library, which would certainly be a pain in the butt if you start getting a bunch of requests) than offer the item in-world. That way folks can modify the script (in a text editor) and then drop it into whatever bookcases, etc., they have for which they have mod rights.
By the way, I'm "Eschatos Graves" in-world.
5timspalding
Incidentally, LibraryThing has an "also on" feature, so we can make a simple web service—send a SL name, get back an LT username. That way the bookshelf wouldn't need to know anything except its owner.
How about it?
How about it?
6libraryofus
Also now available on OnRez here:
http://shop.onrez.com/item/719790
and SL Exchange here:
http://www.slexchange.com/modules.php?name=Marketplace&file=item&ItemID=...
...for ease of purchase.
http://shop.onrez.com/item/719790
and SL Exchange here:
http://www.slexchange.com/modules.php?name=Marketplace&file=item&ItemID=...
...for ease of purchase.
7libraryofus
@timspalding/3: no problem, I've sent you one.
@BTRIPP/4: pretty much, except with a little convenience of configuration - rather than having to edit the script, you can just change your LT username in an included notecard and it computes the URL from there. I figured many people wouldn't want to mess with the raw LSL.
Anyway, it's copy/mod/transfer, so if you want to pull the script out and put it in another bookcase (or some less relevant object), it's easy enough to do. Alternatively, the script's blogged here:
http://weblog.siliconcerebrate.com/cerebrate/2008/06/mr-skytowers-first-script.h...
Note that it gets the username from the *second* line of the notecard, and not the first one (in my version, I have a comment on the first line to tell people how to configure it.)
@timspalding/5: Sounds good to me! I'm happy to update the code at my end any time.
@BTRIPP/4: pretty much, except with a little convenience of configuration - rather than having to edit the script, you can just change your LT username in an included notecard and it computes the URL from there. I figured many people wouldn't want to mess with the raw LSL.
Anyway, it's copy/mod/transfer, so if you want to pull the script out and put it in another bookcase (or some less relevant object), it's easy enough to do. Alternatively, the script's blogged here:
http://weblog.siliconcerebrate.com/cerebrate/2008/06/mr-skytowers-first-script.h...
Note that it gets the username from the *second* line of the notecard, and not the first one (in my version, I have a comment on the first line to tell people how to configure it.)
@timspalding/5: Sounds good to me! I'm happy to update the code at my end any time.
8timspalding
How about if I make something that looks like:
http://www.librarything.com/api_secondlife.php?name= Callimachus+Snook
And it forwards back:
<LibraryThing>
<member>timspalding</member>
</LibraryThing>
Good?
http://www.librarything.com/api_secondlife.php?name= Callimachus+Snook
And it forwards back:
<LibraryThing>
<member>timspalding</member>
</LibraryThing>
Good?

