Mercurial > hg > extraction-interface
diff interface/check_sections_details.php @ 2:da5309d54083
add missing books to sections as dummy entries for further modification.
(1) Alter "Auto_increment" to 5190896 for sections table in database.
(2) Finds missing books (using mysql OR _select_distinct() in add_missing_books_to_sections.php
(3) Put the missing_books.csv in intermediate_results.
and execute: add_missing_books_to_sections.php
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Fri, 23 Jan 2015 19:00:57 +0100 |
parents | ef6d0c6a13d7 |
children | 883ad980a43b |
line wrap: on
line diff
--- a/interface/check_sections_details.php Wed Jan 21 10:49:44 2015 +0100 +++ b/interface/check_sections_details.php Fri Jan 23 19:00:57 2015 +0100 @@ -120,6 +120,7 @@ $bookId=$_GET['book_id']; $count=$_GET['count']; $bookInfo=getBookInfo($bookId); + $info=checkSectionInfo($bookId); $version=$info['version']; $editor=$info['editor']; @@ -131,6 +132,7 @@ ?> <div id="searchResults"> <?php + $sectionArray=getSectionArray($bookId,$count,$info); printSectionArray($sectionArray,$missingPageArray); }else{ @@ -143,5 +145,6 @@ <script>var version=<?php echo $version;?>;</script> </body> + </html>