=== added file 'modules/book.views.inc'
--- /dev/null	
+++ modules/book.views.inc	
@@ -0,0 +1,87 @@
+<?php
+// $Id$
+/**
+ * @file
+ * Provide views data and handlers for book.module
+ */
+
+/**
+ * @defgroup views_book_module book.module handlers
+ *
+ * @{
+ */
+
+/**
+ * Implementation of hook_views_data()
+ */
+function book_views_data() {
+  $data['book']['table']['group']  = t('Book');
+  $data['book']['table']['join'] = array(
+    'node' => array(
+      'left_field' => 'nid',
+      'field' => 'nid',
+    ),
+  );
+
+  // Book hierarchy and weight data are now in {menu_links}.
+  $data['book_menu_links']['table']['group'] = t('Book');
+  $data['book_menu_links']['table']['join'] = array(
+    'node' => array(
+      'table' => 'menu_links',
+      'field' => 'mlid',
+      'left_field' => 'mlid',
+      'left_table' => 'book',
+    ),
+  );
+
+  // The {book} record for the parent node.
+  $data['book_parent']['table']['group'] = t('Book');
+  $data['book_parent']['table']['join'] = array(
+    'node' => array(
+      'table' => 'book',
+      'field' => 'mlid',
+      'left_field' => 'plid',
+      'left_table' => 'book_menu_links',
+    ),
+  );
+
+  // Fields
+
+  $data['book']['bid'] = array(
+    'title' => t('Top level book'),
+    'help' => t('The book the node is in'),
+    'relationship' => array(
+      'base' => 'node',
+      'field' => 'bid',
+      'handler' => 'views_handler_relationship',
+    ),
+  );
+
+  $data['book_parent']['nid'] = array(
+    'title' => t('Parent'),
+    'help' => t('The parent book node'),
+    'relationship' => array(
+      'base' => 'node',
+      'field' => 'nid',
+      'handler' => 'views_handler_relationship',
+    ),
+  );
+
+  $data['book_menu_links']['weight'] = array(
+    'title' => t('Weight'),
+    'help' => t('The weight of the book page'),
+    'field' => array(
+      'handler' => 'views_handler_field',
+      'click sortable' => TRUE,
+    ),
+    'sort' => array(
+      'handler' => 'views_handler_sort',
+    ),
+  );
+
+  return $data;
+}
+
+/**
+ * @}
+ */

