[Booki-dev] Problems installing Booki on Fedora 11

Douglas Bagnall douglas at paradise.net.nz
Tue Oct 26 20:08:35 PDT 2010


  

> OBJAVI_URL = "http://objavi.flossmanuals.net/objavi.cgi"
>
> Something is definitely not working here.


objavi.flossmanuals.net/objavi.cgi is configured to reject servers it doesn't
know about.  Actually, so is your own Objavi server.

You need to change SERVER_DEFAULTS in objavi/config.py to something like this:

SERVER_DEFAULTS = {
     'booki.jamessimmons.net': {
         'css-book': '/static/en.flossmanuals.net.css',
         'css-web': '/static/en.flossmanuals.net-web.css',
         'css-newspaper': '/static/en.flossmanuals.net-newspaper.css',
         'css-openoffice': '/static/en.flossmanuals.net-openoffice.css',
         'lang': 'en',
         'dir': 'LTR',
         'toc-encoding': None,
         'display': True,
         'interface': 'Booki',
         'toc_header': 'Table of Contents',
         },
}

where 'booki.jamessimmons.net' is the address of your booki.  If you tell me
the address I can put it in the objavi.flossmanuals.net config for testing.

While you're at it, returning to your CSS question, you could set 'css-book'
to some other file, then your changes wouldn't clash upstream.

Yes, objavi/config.py should read a real config file.

Douglas



More information about the Booki-dev mailing list