[OGDev] Saint Paul patches

Chris Prather chris at prather.org
Fri Nov 24 22:02:39 GMT 2006


Hi,

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) are 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 http://saintpaul.openguides.org/Pino's_Pizza ... 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. :)

-Chris



More information about the OpenGuides-Dev mailing list