PHP Classes

File: gestion/doc_help3.php

Recommend this page to a friend!
  Classes of Pierre FAUQUE   OPDS PHP Ebook Publisher Class   gestion/doc_help3.php   Download  
File: gestion/doc_help3.php
Role: Application script
Content type: text/plain
Description: Script of application
Class: OPDS PHP Ebook Publisher Class
Publish and distribute ebooks for download
Author: By
Last change:
Date: 3 years ago
Size: 3,502 bytes
 

Contents

Class file image Download
<?php
/*
// OPDS basic gestion (only add entities and relations, not modify)
// Version: 0.1
// Pierre FAUQUE, <pierre@fauque.net>
// Script: 2014, Script->Class: 2019, Gestion: may 2020
// Encoding: UTF-8
// Text editor: GNU/Linux Debian Vi
// File: doc_help3.php (v0.1)
// Role: Documentation, help page 3 (HOWTO fill the database)
*/

require("init.php");
require(
"lib_lddocs.php");

?><!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>OPDS help, fill the database</title>
<link rel="stylesheet" href="opds.css" type="text/css" />
<style type="text/css">
.c { margin-left:1.5em; }
.sc { margin-left:3em; }
</style>
</head>

<body>
<table border="0" width="100%">
<tr>
<td class="cmen">
<?php menu(); ?></td>
<td class="cont">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<h1>DOC : Help - Fill the database</h1>
<div style="width:800px">
<div class="smen"><?php require("menu_help.php"); ?></div>

<p>In forms : yellow fields are required, gray fields are recommanded but optional.</p>

<p>Below each input form there is a list of the records already made. Before each new input, take a look on it to avoid double input because in this basic version, duplicates records (such as keywords, for example) are not verified.</p>

<p>The main different types of ebooks have already been registered. In principle, you should not add new types unless you offer a new type of ebook (such as AZW3, for example). In this case, you will need to find out about the MIME format of this new type of ebook to save the good corresponding format.</p>

<p>Before entering the relations between the objects (the entities, according to the entities-relations model), carry out the entries in descending order of dependency :
<ul>
<li> The types of ebooks you offer (already registered),</li>
<li> The keywords by which we can search for the new ebook you are recording,</li>
<li> The authors of the ebooks you are recording,</li>
<li> The categories of ebooks you are recording,</li>
<li> Sub-categories (which depend on the categories),</li>
<li> Documents (which depend on subcategories and categories).</li>
</ul></p>

<p>Then enter the relations that exist between the entities that have been registered :
<ul>
<li> Such author wrote such document,</li>
<li> Such document has such keywords,</li>
<li> Such document has been published in such format (in such language, etc.)</li>
</ul></p>

<p>To avoid conversions in date format (birth or death), these are entered in MySQL format (YYYY-MM-DD). Some informations may not be known. So you can use :
<ul>
<li> YYYY-00-00 - ex: 1902-00-00</li>
<li> YYYY-MM-00 - ex: 1622-01-00</li>
<li> YYYY-MM-DD - ex: 1672-02-17</li>
<li> 0000-00-00 or leave empty if unknown (default value is 0000-00-00)</li>
</ul></p>

<p>For the publication date (issued), it is taken as text of 10 characters maximum. So you can write like this :
<ul>
<li> 1673-02-17 or 17-02-1673 or 17/02/1673 (seen as text)</li>
<li> 1902</li>
<li> May 1956</li>
<li> or leave blank if unknown</li>
</ul></p>

<p>Take care before adding a new document and take a look on the previous added records because several documents can have the same title</p>

</div>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</td>
</tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
</body>

</html>