Re: What's the easiest way to change the page not available message?
Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
[+pyblosxom-users]
On Wed, 18 Jul 2007, Chris Green wrote:
> OK, thanks, however the "more details" link:-
>
> http://roughingit.subtlehints.net/py_stuff/weblogs/hacks/Half_Baked_and_a_Mostly_Fried.html
>
> doesn't work. Where do I find some information on how to use this
> plugin please?
you're right, there aren't really any good docs. looking at the plugin source,
evidently you're supposed to edit the variables below the line that says:
# Essential data stuff - Edit this for site specific information
however, i looked closer, and 404_handler is straight up ugly. it looks like
it's designed to lazily migrate entries from one place on disk to another, as
they're requested. weird. it's definitely not a plain vanilla 404 handler.
i checked my setup, and evidently i gave up on 404_handler.py and wrote a
simpler custom 404 handler myself. it's not quite cleaned up enough to
release, but you can take a look at it here:
http://snarfed.org/404.py
right now, the 404 page is hard-coded. it should eventually display a template
instead.
will, fyi, we should probably deprecate 404_handler.py and maybe switch to
404.py. i'll put that on my todo list.
-Ryan
--
http://snarfed.org/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/