forked from DistributedProofreaders/ppwb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
77 lines (65 loc) · 2.19 KB
/
index.php
File metadata and controls
77 lines (65 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?php
output_header();
output_content();
output_footer();
function output_content()
{
echo <<<MENU
<p>Welcome to the Post-Processing Workbench. Post Processors usually generate
two formats for each book: text and HTML. This page provides links to
programs that may be used to analyze each format:</p>
<ul>
<li><a href='./pptext.php'>pptext</a> to analyze a text file</li>
<li><a href='./pphtml.php'>pphtml</a> to analyze an HTML file and supplemental folders</li>
</ul>
<p>Two additional programs are provided here. One converts “straight” quotes in
a text file into smart or “curly” quotes. The other program is used to compare two
files. Follow these links for details and to access the programs:</p>
<ul>
<li><a href='./ppsmq.php'>ppsmq</a> to convert straight quotes to curly quotes</li>
<li><a href='./ppcomp.php'>ppcomp</a> to compare two files, text or HTML mixed</li>
</ul>
<p>
<p>Please remember to also run these tests:</p>
<ul style='margin-top:0'>
<li><a href='http://epubmaker.pglaf.org/'>Gutenberg online epubmaker</a></li>
<li><a href="http://validator.w3.org/">W3C HTML markup validator</a></li>
<li><a href="http://jigsaw.w3.org/css-validator/">W3C CSS validator</a></li>
<!-- <li><a href="http://validator.w3.org/checklink">W3C Link Checker</a></li> -->
</ul>
<p>Discussion forum is <a href='https://www.pgdp.net/phpBB3/viewtopic.php?f=13&t=64838'>here</a>.</p>
MENU;
}
function output_header()
{
echo <<<HEAD
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name=viewport content="width=device-width, initial-scale=1">
<title>Post-Processing Workbench</title>
<link rel="stylesheet" type="text/css" href="rfrank.css">
</head>
<body>
<div id="header" class='hsty'>pp workbench</div>
<hr style='border:none; border-bottom:1px solid silver;'>
HEAD;
}
function output_footer()
{
echo <<<FOOT
<div id="footer">
<hr style='border:none; border-bottom:1px solid silver;'>
<table summary="" width="100%">
<tr>
<td align="left"> </td>
<td align="right">
<a style='font-size:70%' href='mailto:rfrank@rfrank.net'>CONTACT</a></td>
</tr>
</table>
</div>
</body>
</html>
FOOT;
}