Home
Marcus Rohrmoser heeft deze pagina aangepast 5 jaren geleden

Steps

  1. ban
  2. search?
  3. auth
  4. post/get/put

Formats

  • write/read yaml (cfg)
  • rw yaml (ban: ip, time, score)
  • write atom (feeds)
  • rw atom (posts)

going text/plain?

  • resulting feeds will remain atom/xml
  • ban could be
  • uid:pwd could be

Or OCaml 🐫?

(*
 * https://caml.inria.fr/pub/docs/u3-ocaml/ocaml-steps.html
 *
 * $ apt-get install ocaml git m4
 * $ ocamlopt hello.ml ; strip a.out
 *)
print_string "Content-type: text/html; charset=utf-8\n";;
print_string "\n";;
print_string "<html>";;
print_string "<head><title>Hello, Worλd</title></head>";;
print_string "<body><h1>OCaml, where art thou. 🐫!</h1></body>";;
print_string "</html>";;