Widgets

TalkLivejournalers

Join LibraryThing to post.

Widgets

This topic is currently marked as "dormant"—the last message is more than 90 days old. You can revive it by posting a reply.

1Lakeofcoheeries First Message
Dec 18, 2006, 12:05am

So... has anyone here been able to get the Librarything search widget to work on LJ?

2mangaroo
Dec 18, 2006, 1:34am

LJ doesn't allow users to include javascript, so the LT widgets can't function on LJ.

3melannen
Dec 18, 2006, 6:14pm

I was just wondering if it would be possible to fake having an lj LT widget by using one of the methods of embedding lj in a website. I don't know enough about about embedded ljs to know if it'd even be worth the trouble, though, since lj userid links probably don't go to the embedded version. Anybody tried this?

4parelle
Dec 19, 2006, 3:07am

To my knowledge, that's referring to embedding an LJ into another website rather than trying to embed another site into LJ... I don't see how this can simulate an LT widget

5BoPeep
Dec 19, 2006, 3:35am

You can fudge it, by embedding LJ code into another website alongside the LT widget, but the LT widget will not work within LJ code. Since LJ is open source it is possible to make this fudge, but I only know one person who has successfully done it (with a non-LT applet) and I have no idea how he did it.

6amandaellis
Dec 19, 2006, 9:19am

It'd be nice to have. Most of the ppl I lend books to are on LJ so it'd be handy to have. Should we post this to the Recommended Site Improvements group?

7GirlFromIpanema
Dec 19, 2006, 9:47am

Tim and Chris are aware of this issue, but it is not too high on the task list right now (probably means a re-development of the widget especially for LJ users).

8melannen
Dec 19, 2006, 3:12pm

#5 Ooh, can you tell us who it is so that I can go look at it and marvel?

#7 Yeah, it'd be nice, but it's not high up my list either. Didn't a user mention that he was working on a non-javascript version to share, the last time this came up? or was I imagining things again?

9mangaroo
Dec 20, 2006, 3:05pm

The LT blog has visions of LJ widgets for Christmas dancing in my head.

10xtien
Jan 1, 2007, 11:41am

Maybe I misunderstand you, but LJ does allow javascript. I've added a widget to my LJ (12-30), and to my LJ bio.
xtien.livejournal.com

11mangaroo
Edited: Jan 1, 2007, 1:54pm

xtien, the widget you're using on LJ is a dynamically generated image using php, not javascript. Chris (thank you!) developed it specifically for use on LJ and other sites where javascript isn't welcome. If you visit the LT blog, you can see the javascript version of the LibraryThing widget in the right column, under "Tim's Blog Widget."

12sharon352 First Message
Jan 2, 2007, 6:04pm

I just wanted to add something in relation to the last post. On the LT blog, there is a comment on that post that gives an example of how the code should look when posting the widget to your LJ. If you look at the comments, look for a comment posted on 12/26/2006, by "yet another bibliophile". I found his example very helpful when posting the widget to my LJ.

13parelle
Jan 7, 2007, 12:40am

I've written up a tutorial for adding the LJ styled widget to the Smooth Sailing sidebar:
http://community.livejournal.com/librarything/37148.html