summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2017-12-23 14:28:16 +0100
committerYorhel <git@yorhel.nl>2017-12-23 14:28:16 +0100
commitfd657824b3ccba0c99fdd73855700a31d0483c58 (patch)
tree24ccf5f664aafb95f87739f58cee7852e105bc19 /www
parent6120b2fa5a96d5eb0e2bca0fab96fcf4a1c84a6f (diff)
Add database downloads
Diffstat (limited to 'www')
-rwxr-xr-xwww/index.pl18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/index.pl b/www/index.pl
index a1d2f0f..6b3d5f3 100755
--- a/www/index.pl
+++ b/www/index.pl
@@ -292,6 +292,24 @@ sub about {
_
end;
+ h2 'Database download';
+ p; lit <<' _';
+ This site is backed by a PostgreSQL database containing all the man pages.
+ Weekly dumps of the full database are available for download at
+ <a href="http://dl.manned.org/dumps/">http://dl.manned.org/dumps/</a>.
+ <br /><br />
+ Be warned that the download server may not be terribly reliable, so it is
+ advisable to use a client that supports resumption of partial downloads. See
+ <a href="/wget">wget's -c</a> or <a href="/curl">curl's -C</a>.
+ <br /><br />
+ The database schema is "documented" at <a
+ href="https://g.blicky.net/manned.git/tree/sql/schema.sql">schema.sql</a> in
+ the git repo. Note that these dumps don't constitute a stable API and, while
+ this won't happen frequently, incompatible schema changes or Postgres major
+ version bumps may occur.
+ _
+ end;
+
h2 'Other systems';
p; lit <<' _';
Suggestions for new (or old) systems to index are welcome.