javascript widgets?

TalkWidgets

This group has been archived. Find out more.

Join LibraryThing to post.

javascript widgets?

1wminter
Apr 7, 2009, 10:21 am

Hi

Anybody know what happened to the Javascript widgets that were available as late as March 27. The form for creating them seems to have disappeared and been replaced by another. The advantage of the javascript one is that it allows setting/changing of parameters in the code itself rather than having to create a new one with a random name on LT.

thanks

2librarythingLuke
Apr 7, 2009, 12:18 pm

Hi. We'd love for you to use the new one, and we will be updating the documentation for it to make that possible. The short version is this: You'll add parameters into the widget_get.php URL thats in the embedding code we provide on the widget creation page.

When we get it done, the parameter list will be updated here: http://www.librarything.com/wiki/index.php/LibraryThing_JSON_Books_API. I believe that the existing parameters are mostly still valid, but there a whole bunch of new ones that we need to put up there. Anything that goes into the URL string as a parameter will overwrite anything that gets loaded via the Widget ID, so you could potentially take someone else's widget style and just add in one or two changes manually by editing the script tag.

Will that meet what you were looking for?

3wminter
Apr 7, 2009, 1:03 pm

Thanks much, Luke. I'll try that & let you know how it works.

4librarythingLuke
Apr 13, 2009, 2:42 pm

I updated the documentation for using the LibraryThing JSON API directly now, for the brave and bold of you. Check out http://www.librarything.com/wiki/index.php/LibraryThing_JSON_Books_API and let me know what seems to be missing, incorrect, etc.

Thanks,
Luke

5deem1
May 25, 2009, 9:22 pm

I am having a hard time building my widget. When I reset it keeps churning. Are you having a server issue