HomeGroupsTalkZeitgeist
This site uses cookies to deliver our services, improve performance, for analytics, and (if not signed in) for advertising. By using LibraryThing you acknowledge that you have read and understand our Terms of Service and Privacy Policy. Your use of the site and services is subject to these policies and terms.
  • LibraryThing
  • Book discussions
  • Your LibraryThing
  • Join to start using.

Trivial LT Gadget

Second Life

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.

1libraryofus
Jun 23, 2008, 3:52pm Top

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

2SimonW11
Aug 4, 2008, 2:33am Top

oh nice

3timspalding
Aug 4, 2008, 7:06am Top

Oh, me! I'm Callimachus Snook.

4BTRIPP
Aug 4, 2008, 7:55am Top

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.

 

5timspalding
Aug 4, 2008, 9:46am Top

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?

6libraryofus
Aug 4, 2008, 2:16pm Top

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.

7libraryofus
Aug 4, 2008, 2:23pm Top

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.

8timspalding
Aug 4, 2008, 5:14pm Top

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?

9libraryofus
Aug 4, 2008, 5:49pm Top

I can work with that, sure. No problem.

Group: Second Life

99 members

255 messages

About

This topic is not marked as primarily about any work, author or other topic.

Touchstones

No touchstones

About | Contact | Privacy/Terms | Help/FAQs | Blog | Store | APIs | TinyCat | Legacy Libraries | Early Reviewers | Common Knowledge | 134,917,812 books! | Top bar: Always visible