From 2c09e30153d8ea6980962777705dacf73baa1766 Mon Sep 17 00:00:00 2001 From: b Date: Mon, 4 Apr 2016 17:59:54 +0000 Subject: [PATCH] Changed to make it work with the new phpBB Fixed makefile bug git-svn-id: svn://botcastle1b/ottmirror@6 23ac2ed3-cec8-4626-8109-7118d8ca9799 --- index.htm | 37 ++++++++++++++++++++++++++----------- pro.zip/bot2.1.awk | 18 ++++++++++++++++-- pro.zip/bot3.1.cpp | 17 +++++++++-------- pro.zip/findlatest.awk | 6 +++--- pro.zip/index.1.awk | 16 ++++++++++++---- pro.zip/makefile | 4 ++-- pro.zip/upload.awk | 24 +++++++++++++++++++----- 7 files changed, 87 insertions(+), 35 deletions(-) diff --git a/index.htm b/index.htm index 79ec66a..d122ba2 100644 --- a/index.htm +++ b/index.htm @@ -12,7 +12,15 @@

If you want to run your own copy of the ЯOЯЯIM TTO, you can, because I made it available. Follow these instructions to download and setup your own ЯOЯЯIM TTO.

-

This is about version 1.4.

+

This is about version 1.5.

+ +

Read this

+

To have the mirror rendered correctly after migration the bots should re-read +the whole thread. When some posts are archived before and some after the page +will have HTML errors.

+

I reccomend keeping a copy of the data archived by version 1.4 before moving +to this one,

+

Dependencies

The mirror depends on some things:

This and earlier versions can also be downloaded from svn://bicyclesonthemoon.info/ottmirror. Use "e" for read-only access.
-If you want the source as it is right now, get it from http://1190.bicyclesonthemoon.info/ott/src/. +(It's updated immediately and may contain errors).

Preparing the enviroment

@@ -60,9 +69,9 @@ have to be double-escaped. The directories should not end with a point to mawk.
  • Create a directory where the programs will be run from. Can be the same where you downloaded the source. Set propath to point there.
  • -
  • Create a directory for temporary files. Only you should have read access -there. While someone makes a post, their password can be found in a temporary -file. Set tmppath to point there.
  • +
  • Create a directory for temporary files. Only you should have read and execute +access there. While someone makes a post, their password can be found in a +temporary file. Set tmppath to point there.
  • Create a directory where the bots will remember things. Set mempath to point there. Create a file named "name" there. Put your URL-encoded xkcd fora login in the first line and your @@ -76,8 +85,8 @@ Create the following subdirectories:
  • mpost/ok
  • mpost/pm
  • -Only you should have read access to mpost. Passwords can be found -there. +Only you should have read and execute access to mpost. Passwords +can be found there.
  • Create a directory where the bots will write their reports. set logpath to point there.
  • Set mirrpath to point at the directory where the mirror is @@ -255,14 +264,20 @@ This bot runs every This moves the log files once in a week. Otherwise they would grow to infinity.

    - +

    Bugs

    +

    This is a quick fix. It does work with the new phpBB but not everything is +rendered as good as in the original.

    Changes