configuration {
set ai.robots.txt::botlist-file "assets/ai.robots.txt-botlist.txt"
append-to ai.robots.txt::excluded-bots "Dot" "nbot" "Operator" "Spider"
append-to poisoned-urls::identifiers "abrakadabra"
}
This kind of thing? It works now.
An error is reported if you try to append-to ai.robots.txt::botlist-file (because that requires a single asset path), or if no path is given to set ai.robots.txt::botlist-file.
It doesn't yet error out if append-to has no arguments (apart from the target). Not sure it should.... perhaps a warning? A bare append-to without any other arguments does error out, as it should.
Hrm. Maybe before I go further, now that I have some very basic configuration, I can maybe play with the scoring system and logging.
The scoring system is reasonably easy, I can almost copy that from my spam filter.
Logging... now that's a tough cookie to crack.