.. _RegisterBook:

.. raw:: html

   <script>ODSA.SETTINGS.DISP_MOD_COMP = true;ODSA.SETTINGS.MODULE_NAME = "RegisterBook";ODSA.SETTINGS.MODULE_LONG_NAME = "RegisterBook";ODSA.SETTINGS.MODULE_CHAPTER = ""; ODSA.SETTINGS.BUILD_DATE = "2016-12-02 17:21:01"; ODSA.SETTINGS.BUILD_CMAP = false;JSAV_OPTIONS['lang']='en';JSAV_EXERCISE_OPTIONS['code']='java_generic';</script>


.. |--| unicode:: U+2013   .. en dash
.. |---| unicode:: U+2014  .. em dash, trimming surrounding whitespace
   :trim:


.. This file is part of the OpenDSA eTextbook project. See
.. http://algoviz.org/OpenDSA for more details.
.. Copyright (c) 2013 by the OpenDSA Project Contributors, and
.. distributed under an MIT open source license.

.. avmetadata::
   :author: Eric Fouh
   :topic: Registerbook

.. odsascript:: lib/registerbook-min.js

.. index:: ! Registerbook

Register OpenDSA Book Instance
==============================

.. raw:: html

   <p><strong>Welcome to OpenDSA!</strong></p>
   You will be able to send all the information related to the content of your book instance to the
   backend server.
   <label class="book_name">
    <span>Book Name:</span>
    <input type="text" id="bookname" size="50" readonly />
   </label>
   <br>
   <label class="book_id">
    <span>Book ID:</span>
    <input type="text" id="bookid" size="50" readonly />
   </label>
   <br>
   <button type="button" id="registerbook">Send Book Data</button>
   <br>
   <div>
     <code id="bookjson"></code>
   </div>
