Tuesday, August 22, 2006

Add to LibraryThing from... anywhere

While we nervously await LibraryThing's five-millionth book here's another small but important feature.

Announcing a new way to get books into LibraryThing. Just use this URL, changing the ISBN to the one you want to add, or using a keyword search instead.*

http://www.librarything.com/addbooks.php?search=0066212898
http://www.librarything.com/addbooks.php?search=Every+Visible+Thing

That's pretty pointless, right? Well, for YOU, yes. But OTHER websites can implement the URL, making it easy for their users to add a book to their LibraryThing account. We're thinking particularly of swap sites*, book review sites, even--we hope--some forward-thinking libraries. Programmers can use it to make fascinating new bookmarklets and plugins.

It's fairly straightforward. If you're not signed in, or not a user, it will route you through the sign up/in screen. The URL can also specify one of LibraryThing's 50+ sources, like so:

http://www.librarything.com/addbooks.php?search=0066212898&source=Amazon.ca
http://www.librarything.com/addbooks.php?search=0066212898&source=Library+of+Congress

If you don't specify one, it will route you through a screen where you can set your default. If you're signed in, have a default library and search for something unique--like an ISBN--it's a one-step process***. If you search for something with multiple results, you'll get a chance to pick one.

Now, as MMcM pointed out, this will be a much better feature once LibraryThing has explicit "wish lists." That's coming soon, and when it does, we'll update this feature for it. But we've been sitting on this feature for a while, and we thought we'd put it out there to see what people would do with it.

If run a website and you end up implementing these URLs let us know and we'll do what we can to help your users too.

*Those are for my wife's new novel, which won the Elle Reader's Prize this month. I'm very proud of her.
**More on this topic later.
***Someone tell Amazon's patent lawyers!

8 Comments:

Anonymous Anonymous said...

There are two lone asterisks in the post; I assume one of those should be a double asterisk, of which there is none.

8/22/2006 11:29 PM  
Anonymous Anonymous said...

"we thought we'd put it out there to see what people would do with it"

Make a bookmarklet of course! :)
Add to LT from anywhere!

javascript:s=(window.getSelection?window.getSelection():document.getSelection());if(s==''){if(window.getSelection){if(frames.length!=1){for(i=0;i%3Cframes.length;i++){s=frames[i].document.getSelection();if(s)break;}}}}if(s=='')void(s=prompt('Enter%20a%20search%20term%20or%20select%20the%20text%20or%20ISBN%20you%20want%20to%20search%20for.',''));if(s){ltbm=open('http://www.librarything.com/addbooks.php?search='+escape(s),'LT','width=1050,height=750,scrollbars=yes,resizeable=yes');ltbm.focus();}

(works in Safari, Opera and Firefox - with room for improvement)



Oh, and about the asterisks, this post is still better than Angry about classification on the other blog! ;)

8/24/2006 11:56 AM  
Anonymous Anonymous said...

A little better:

javascript:s=(window.getSelection?window.getSelection():document.getSelection());if(s==''){if(window.getSelection){if(frames.length!=1){for(i=0;i%3Cframes.length;i++){s=frames[i].document.getSelection();if(s)break;}}}}if(s=='')void(s=prompt('Select%20the%20title%20or%20ISBN%20you%20want%20to%20add%20or%20enter%20it%20here:',''));if(s){ltbm=open('http://www.librarything.com/addbooks.php?search='+escape(s),'LT','width=1050,height=750,scrollbars=yes,resizeable=yes');ltbm.focus();}

8/24/2006 12:11 PM  
Anonymous Anonymous said...

Can you please please please pretty please add a "&tag=tag1+tag2+...+tagN" feature.

Please please please please oh please did I say please? :)

8/25/2006 5:47 AM  
Anonymous Anonymous said...

I just created a YubNub (www.yubnub.org) command to do this, for anyone who uses or is interested in using Yubnub.

The command is 'libt'. So, for instance, type 'libt 0013243320' into the YubNub page (or, more usefully, into the search engine which you've added to your Firefox bar via Mycroft), and you'll get the book added!

Not, perhaps, useful for many of you, but for a few...

9/07/2006 1:37 PM  
Blogger Tim said...

Oh, I LOVE yubnub. I thought it was a great idea. And how it was done is amazing. It makes me want to learn Rails...

9/07/2006 10:48 PM  
Blogger Neal McBurnett said...

How about a way to do a manual add with a url like this, with fields for title, author, etc?

A bunch of my collection consists of esperanto books which aren't listed in the catalogs you have now. With an api for manual adds, it would be pretty easy to do some bulk adds based on information from other sources.

9/15/2006 12:00 PM  
Anonymous Anonymous said...

クレジットカード 現金化
キャッシング
インプラント
網頁設計
水 通販
会社設立
留学
コンタクトレンズ
アルカリイオン水
幼児教室

障害者
有料老人ホーム
看板 製作
レーザー脱毛
ウィークリーマンション
フランチャイズ
債務整理
仲介手数料無料 未公開物件
ペット 火葬 割安エイエフ
有料老人ホーム
ECサイト構築
千葉 不動産
川崎 不動産
不動産 東京

8/01/2009 2:44 AM  

Post a Comment

<< Home