javascript widgets?
Talk Widgets
This group has been archived. Find out more.
Join LibraryThing to post.
1wminter
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
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
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?
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?
4librarythingLuke
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
Thanks,
Luke

