On Fri, Nov 24, 2006 at 04:02:39PM -0600, Chris Prather wrote:
I'd done some patching to St. Paul and wanted to
feed hte changes back. Tickets #154 and #155 in the Trac (http://dev.openguides.org
both from work I'd done previously with St. Paul's guide.
#154 provides basic JSON support for nodes and indexes. The Wiki::Toolkit::Plugin::JSON
uses either JSON.pm or JSON::Syck to produce the output.
#155 provides a 404 script for when things go away. St. Paul had some problems with
incosistant URLs in the past and I noticed that 404s were very large because of this, so I
wrote a little CGI to try to help you can see it in action by going to
... it will suggest the right URL for the
guide, or possibly a Search. I've cleaned up the script so that it does everything in
a generic fashion and should integreate cleaner with other people's templates etc.
(Originally I was just dumping HTML but I went and made a template now.)
I hope people find these useful. :)
Thanks for these. I will try and make sure these get reviewed and into
0.58 (which I will try to get released before the Oxford weekend!)
I'll be in touch to people soon to arrange crash space; now would be a
good time to mention on
if you are planning to come. You can now self-register on the trac
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)