bookshelf /

Filename Size Date modified Message
35 B
1.4 KB
688 B

To use the local bookshelf script, you'll want to configure it to submit to the
provided wsgi scripts running on your own webserver - do this by editing the
"bookshelf" file and changing the "submitTo" variable.

Then just run: "bookshelf"

If you're not using the provided wsgi scripts you might also want to change the
"url" and "title" values in the "argNames" dict to match the query string your
remote scripts expect.

WSGI Setup

If you want to use the provided wsgi scripts (in bookstore/) then you'll need
to install mod_wsgi and put the following into your <VirtualHost> section of
your config file:

    WSGIScriptAlias /bookstore/add /opt/bookstore/add.wsgi
    WSGIScriptAlias /bookstore/display /opt/bookstore/display.wsgi

    <Directory "/opt/bookstore">
            Order allow,deny
            Allow from all

Obviously you will need to translate this to whatever webserver you run if you
don't run Apache.

You will also want to edit both the wsgi scripts to set the path for the
"" file so it stores your URLs somewhere that mod_wsgi can write

Future Development

If I get around to it I might turn this into a webservice for anyone to sign up
to and use, but I guess people prefer things like Read It Later:

We'll see how it goes. :)