NAME

MojoMojo - A Catalyst & DBIx::Class powered Wiki.

SYNOPSIS

# Set up database (be sure to edit mojomojo.conf first)

./script/mojomojo_spawn_db.pl

# Standalone mode

./bin/mojomo_server.pl

# In apache conf
<Location /mojomojo>
  SetHandler perl-script
  PerlHandler MojoMojo
</Location>

DESCRIPTION

Mojomojo is a sort of content managment system, borrowing many concepts from wikis and blogs. It allows you to maintain a full tree-structure of pages, and to interlink them in various ways. It has full version support, so you can always go back to a previous version and see what's changed with a easy ajax- based diff system. There are also a bunch of other features like a live AJAX preview of editing, and RSS feeds for every wiki page.

METHODS

expand_wikiword wikiword

Proxy method for the MojoMojo::Formatter::Wiki expand_wikiword method.

wikiword wikiword base

Format a wikiword as a link or as a wanted page, as appropriate.

pref key [value]

Find or create a preference key, update it if you pass a value then return the current setting.

fixw word

Clean up explicit wiki words.

OVERRIDDEN METHODS

prepare_path

We override this method to work around some of Catalyst's assumptions about dispatching. Since MojoMojo supports page namespaces (e.g. '/parent_page/child_page'), with page paths that always start with '/', we strip the trailing slash from $c->req->base. Also, since MojoMojo indicates actions by appending a '.$action' to the path (e.g. '/parent_page/child_page.edit'), we remove the page path and save it in $c->stash->{path} and reset $c->req->path to $action. We save the original uri in $c->stash->{pre_hacked_uri}.

base_uri

Return the base as an URI object.

unicode

format for unicode template use.

uri_for Overrides $c->uri_for to append path, if relative path is used

AUTHORS

Marcus Ramberg marcus@thefeed.no David Naughton naughton@umn.edu Andy Grundman andy@hybridized.org Jonathan Rockway jrockway@jrockway.us

LICENSE

You may distribute this code under the same terms as Perl itself.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 130:

'=item' outside of any '=over'

Around line 164:

You forgot a '=back' before '=head2'