NAME

PurpleWiki::View::rawtext - View Driver used for Raw Text Output.

DESCRIPTION

Prints out a raw text view of a PurpleWiki::Tree. No formatting or nicities are done with regard to links or colomns. Useful if you want to convert nodes to text and then do things with that text. For example, transcluding into IRC via a Purple Number aware bot.

OBJECT STATE

outputString

This contains the current working copy of the text that is ultimately returned by view().

METHODS

new(config => $config)

Returns a new PurpleWiki::View::text object If config is not passed in then a fatal error occurs.

view($wikiTree)

Returns the output as a string of text.

AUTHORS

Matthew O'Connor, <matthew@canonical.org>

Chris Dent, <cdent@blueoxen.org>

Eugene Eric Kim, <eekim@blueoxen.org>

SEE ALSO

PurpleWiki::View::Driver, PurpleWiki::View::text