8,368
edits
Line 85: | Line 85: | ||
== Scripting Stages == | == Scripting Stages == | ||
# rsync all data to zimfarm.kiwix.org/gutenberg | # [one-time only for mirror] rsync all data to zimfarm.kiwix.org/gutenberg | ||
# Download & Extract rdf-files.tar.bz2 | # Download & Extract rdf-files.tar.bz2 | ||
# Loop through folder/files and parse RDF | # Loop through folder/files and parse RDF | ||
## Fill the Database with all data | ## Fill the Database with all data | ||
# | # Query the database to reflect filters and get list of books | ||
# Download the books based on filters (formats, languages) | |||
# [MLB] Generate a static folder repository of all ePUB files | |||
# Generate zimwriterfs-friendly folder of static HTML files based on templates and list of books. | |||
# Generate zim file from static folder | |||
* Prepare the templates | |||
** Article template | |||
** HomePage template | |||
** Index template? | |||
== See also == | == See also == | ||
* [[Project Gutenberg/description_fr|Grant detail]] | * [[Project Gutenberg/description_fr|Grant detail]] |
edits