Arts >> Books >> Book Publishing

How to Add LibraryThing Book Covers Using a Developer Key

LibraryThing is an online database that references various types of book-related data such as authors' names, titles and covers. LibraryThing allows Web developers to use its application programming interface to automatically retrieve information from its servers and integrate it into a Web page. You can add a specific book cover stored on LibraryThing to a Web page by using your API developer key and the book's International Standard Book Number, or ISBN.

Instructions

    • 1

      Find the ISBN number of the book whose cover you wish to embed into a Web page. You can find a book's ISBN number on its back cover or with the publishing information in the front matter. Alternatively, you can find a specific ISBN by using one of several online search tools.

    • 2

      Visit the LibraryThing website and note your API developer key. If you don't already have a LibraryThing API developer key, click on "Register now" and follow the onscreen instructions to create one.

    • 3

      Launch Notepad or a text editor or Web editor of your choice. Open the HTML file that contains the source code of the Web page into which you wish to embed the book cover.

    • 4

      Type or copy-and-paste the following code into the file, replacing "YOURKEY" with your alphanumerical API developer key and the uppercase "ISBN" with the ISBN number of the book. Do not replace the lowercase "isbn" directory name in the code.

      <img src="http://covers.librarything.com/devkey/YOURKEY/medium/isbn/ISBN">

    • 5

      Save the file and upload it to your Web server by using your host's upload tool or an FTP client of your choice.

Book Publishing

Related Categories