idea for FF plugin: add to LT box/icon

DiscussãoHacking LibraryThing

Aderi ao LibraryThing para poder publicar.

idea for FF plugin: add to LT box/icon

Este tópico está presentemente marcado como "adormecido"—a última mensagem tem mais de 90 dias. Pode acordar o tópico publicando uma resposta.

1rsterling
Ago 4, 2011, 7:21pm

Maybe there's something like this out there already, and if so, I'd be happy to know about it...

I can't actually code this myself, but I'm throwing out the idea in case someone else likes it and might know how to do it.

I know there are already some FF plug-ins to let you search LT and to let you add to LT (at least there used to be the latter; I haven't used it in some time, so I'm not sure). Those work(ed?) via the search box in FF. I think there also is or used to be a bookmarklet to add to LT. Again, it's been a while since I used it, so I'm not sure.

What I was thinking would be cool is a script or extension that pops up a little icon or box when you're on any page with data you use to add a book to LT. Maybe this could be restricted to certain booksellers, or maybe it would be easier to just have any time there's a recognizable ISBN (so that it would work on any seller).

You know "book burro"? It pops up any time you're on a page with an ISBN, I think, and you can use it to search for the book on various sellers' pages or elsewhere. I'm envisioning something like that, but just a little icon or box for "add to LT?" Part of Zotero's functionality might be another model; I know it works from something more than just ISBN, but when Zotero recognizes certain things on a page (on Google Books, Amazon, a library catalog), you get this little icon in the navigation bar that you can click to add the book to your Zotero database. Wouldn't it be cool if we could add an FF extension that showed a little LT icon any time you're on a page with book details on it? (Or maybe it would be misused, or present problems -- thoughts?)

What made me think of this: I came across a comment on an LT member's profile the other day, saying that the member had left LT for shelfari (!) because it was easier to add Amazon purchases directly or immediately to Shelfari. So I got to thinking about how this could be made easier for LT too. Chances are that Amazon is not going to add a button that says "add this book to LibraryThing?" after each purchase. But maybe this is the kind of thing an extension could do...?

Anyway, those of you who know how to design these hacks, what do you think? Is this something that is do-able?

(I might not use this myself, because I enjoy typing in the ISBN when the book arrives at my door, but I imagine it could be useful and popular for others.)

2rsterling
Editado: Ago 5, 2011, 1:00am

So, I see there's one of these for Google Chrome:
https://chrome.google.com/webstore/detail/mlgpilnojjemdgmkcbjleanfcdjnikdh

Is there any way to get something similar for FF?

3rsterling
Jan 16, 2012, 8:54pm

So this is the best option I've found for FF, made by member legallypuzzled:
http://www.legallypuzzled.com/librarything/ltprojects.php

I can't get the updated amazon bookmarklet to work on Amazon's page, but the search and add features of legallypuzzled's LibraryThingSelect FF extension seem to work well.

Is there any way of modifying that extension to allow for the selection of collections?

4legallypuzzled
Editado: Jan 17, 2012, 6:35am

I don't think collections are accessible through any API or URL wrangling (if there is, nobody else has seemed to find it). There are, of course, the set collections, so it would possibly work for your wishlist request (from a different thread).

I'll see if I can fix the Amazon bookmarklets this weekend. I don't actually use them :)

5legallypuzzled
Editado: Jan 21, 2012, 1:17pm

Well, I have some good news. I've taken out the "tags" part of the bookmarklet -- I don't remember that ever working -- and there's a way to send to a specific collection. The problem is that if you're not using one of the pre-defined collections, there's no way for the API to access what number the collection is. So if you're using the pre-defined Wishlist, I think the bookmarklet on my page will now work for you.

I'm going to start another thread specifically about the bookmarklet, as there are several requests in this one.

Edit: That new thread is now here.