1
0
Fork 0
Fork/mirror of Andy Wingo's tekuti
Find a file
Andy Wingo dda89fe5bf config refactor so that tekuti knows its public address
* tekuti/config.scm (*public-host*, *public-port*)
  (*private-host*, *private-port*): Use these instead of *host* and the
  recently removed *port*. A web app needs to know its public address,
  and the private ports are part of its config.
  (*server-impl-args*): Redefine as a thunk to delay the dereferencing
  of config parameters like *private-host*.

* tekuti/page-helpers.scm (ensure-public-uri): New helper, uses the new
  conf vars to ensure that a value is a URI.
  (build-headers): New helper, like the old acons* without consing a
  rest list.
  (respond): Use the two new helpers.
  (atom-header, atom-entry): No need for server-name arg, as we know how
  to make a public URI.

* tekuti/page.scm (page-feed-atom): Adapt to no need to guess at the
  server-name.

* tekuti/web.scm (main-loop): Allow *server-impl-args* to be a thunk.
2010-11-22 23:33:08 +01:00
src src/tekuti uses -s, not -l 2010-11-13 18:48:18 +01:00
tekuti config refactor so that tekuti knows its public address 2010-11-22 23:33:08 +01:00
.gitignore autotoolize, and compile the scheme files 2010-11-13 18:48:18 +01:00
acinclude.m4 autotoolize, and compile the scheme files 2010-11-13 18:48:18 +01:00
AUTHORS autotoolize, and compile the scheme files 2010-11-13 18:48:18 +01:00
ChangeLog autotoolize, and compile the scheme files 2010-11-13 18:48:18 +01:00
configure.ac autotoolize, and compile the scheme files 2010-11-13 18:48:18 +01:00
COPYING autotoolize, and compile the scheme files 2010-11-13 18:48:18 +01:00
env.in autotoolize, and compile the scheme files 2010-11-13 18:48:18 +01:00
Makefile.am use compile warnings 2010-11-13 18:48:18 +01:00
NEWS autotoolize, and compile the scheme files 2010-11-13 18:48:18 +01:00
README autotoolize, and compile the scheme files 2010-11-13 18:48:18 +01:00
wordpress-to-dir.py Change wordpress import to use the newer wordpress database layout. 2010-11-15 22:05:15 +01:00