Trivial LT Gadget
Join LibraryThing to post.
This topic is currently marked as "dormant"—the last message is more than 90 days old. You can revive it by posting a reply.
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.
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.
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?
Also now available on OnRez here:
and SL Exchange here:
...for ease of purchase.
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:
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.
How about if I make something that looks like:
And it forwards back:
This topic is not marked as primarily about any work, author or other topic.