Commit cfb0c719 authored by Nicolas Peifer's avatar Nicolas Peifer

SEO and typo correction

parent 5dedb8d0
......@@ -2,7 +2,9 @@
<html>
<head>
<meta charset="UTF-8">
<title>Bücherbucht.de</title>
<title>Bücherbucht.de - gemeinfreie eBooks</title>
<meta name="description"
content="Alternative zum gesperrten Portal Gutenberg.org mit ca. 1.300 gemeinfreien, deutschsprachigen eBooks zum Downloaden.">
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet"
......@@ -22,7 +24,7 @@
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="A.html">Bücher</a></li>
<li class="nav-item"><a class="nav-link" href="A.html">eBooks</a></li>
<li class="nav-item"><a class="nav-link" href="kontakt.html">Kontakt</a></li>
</ul>
</div>
......@@ -52,11 +54,11 @@
<p class="text-justify">
Zur Zeit werden auf Bücherbucht.de ca. 1.300 deutschsprachige Bücher
aufgelistet, bei denen das Urheberrecht nach EU-Recht verfallen ist
(Regelschutzfrist: 70 Jahre p. m. c.). Die Download-Links verweisen
(Regelschutzfrist: 70 Jahre p. m. a.). Die Download-Links verweisen
auf einen Gutenberg.org-Mirror (Spiegelserver), d. h. Bücherbucht.de
selbst speichert keine Bücher, sondern stellt nur Informationen
bereit. Die Informationen wurden mit dem Werkzeug <a
href="https://git.codecoop.org/iceflower/gutenberg-utils">gutenberg-utils</a>
href="https://git.codecoop.org/iceflower/gutenberg-utils">GutenbergUtils</a>
gewonnen.
</p>
</div>
......
......@@ -2,7 +2,8 @@
<html>
<head>
<meta charset="UTF-8">
<title>Bücherbucht.de</title>
<title>Bücherbucht.de - Kontakt</title>
<meta name="robots" content="noindex">
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet"
......@@ -22,7 +23,7 @@
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="A.html">Bücher</a></li>
<li class="nav-item"><a class="nav-link" href="A.html">eBooks</a></li>
<li class="nav-item"><a class="nav-link" href="kontakt.html">Kontakt</a></li>
</ul>
</div>
......
......@@ -2,7 +2,9 @@
<html>
<head>
<meta charset="UTF-8">
<title>Bücherbucht.de</title>
<title>Bücherbucht.de - eBook-Übersicht</title>
<meta name="description"
content="eBooks nach Autor_in sortiert">
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet"
......@@ -22,7 +24,7 @@
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="A.html">Bücher</a></li>
<li class="nav-item"><a class="nav-link" href="A.html">eBooks</a></li>
<li class="nav-item"><a class="nav-link" href="kontakt.html">Kontakt</a></li>
</ul>
</div>
......
GutenbergUtils is a command-line tool which extracts book information from [Project Gutenberg](http://www.gutenberg.org/) and generates static HTML pages which list the available books in a clear way. The HTML pages link to a mirror where you can download the books.
- License: DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
- Source language: Java (runs great on Java 8 and 11 JVMs)
- Source language: Java (tested on Java 8 and 11 JVM)
## Command-line interface
**--parse-rdf RDF_DIR DATABASE_FILE**
......@@ -25,13 +25,14 @@ You can either build and run GutenbergUtils through Eclipse or build a jar with
2. Change in the folder GutenbergUtils.
3. Make sure Maven is installed on your computer and run **mvn clean install**
4. Create a new folder somewhere and copy the following folders and files to that folder:
> GutenbergUtils/target/gutenberg-utils-1.0.0-SNAPSHOT.jar
> GutenbergUtils/target/gutenberg-utils-1.0.0.jar
> GutenbergUtils/config/
### Running GutenbergUtils
Please make sure you have read the section about the command-line interface above.
1. Open a terminal and change to the directory where you placed the gutenberg-utils-1.0.0-SNAPSHOT.jar file.
1. Open a terminal and change to the directory where you placed the gutenberg-utils-1.0.0.jar file.
2. At first, we will extract the meta informations about the books from the RDF/XML files and store them in a database file:
> java -cp gutenberg-utils-1.0.0.jar:/home/USER_X/.m2/repository/com/h2database/h2/1.4.197/h2-1.4.197.jar org.codecoop.iceflower.gutenbergutils.Start --parse-rdf "RDF_DIR" "DATABASE_FILE"
......@@ -40,4 +41,4 @@ Please replace "USER_X" with your local user name "RDF_DIR" with the folder wher
3. In the second step, we will use the database to create static HTML pages which will list the books in a clear way. The listing will contain several download links for each book which point to an existing mirror where you can actually download the book in different formats.
> java -cp gutenberg-utils-1.0.0.jar:/home/USER_X/.m2/repository/com/h2database/h2/1.4.197/h2-1.4.197.jar org.codecoop.iceflower.gutenbergutils.Start --create-html "TEMPLATE_DIR" "DATABASE_FILE" "OUTPUT_DIR" [LANGUAGE]
Please replace "USER_X" with your local user name and replace "TEMPLATE_DIR" with the path to "GutenbergUtils/config/" and replace DATABASE_FILE with the path to the database which was created in the previous step and replace "OUTPUT_DIR" with an empty folder. The language parameter (e. g. "en", "fr" or "es") is optional. If you specify it, the HTML pages will only contain books in that particular language (language filter).
Please replace "USER_X" with your local user name and replace "TEMPLATE_DIR" with the path to "GutenbergUtils/config/" and replace DATABASE_FILE with the path to the database which was created in the previous step and replace "OUTPUT_DIR" with an empty folder. The language parameter (e. g. "en", "fr", "de" or "es") is optional. If you specify it, the HTML pages will only contain books in that particular language (language filter).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment