Main > Programming > Libraries >

Wiki::Toolkit::Formatter::Mediawiki 0.02

Wiki::Toolkit::Formatter::Mediawiki 0.02

Sponsored Links

Wiki::Toolkit::Formatter::Mediawiki 0.02 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.006 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 936
Date added: 2007-04-02
Publisher: Derek R. Price

Wiki::Toolkit::Formatter::Mediawiki 0.02 description

Wiki::Toolkit::Formatter::Mediawiki is a Mediawiki-style formatter for Wiki::Toolkit.

SYNOPSIS

This package implements a formatter for the Wiki::Toolkit module which attempts to duplicate the behavior of the Mediawiki application (a set of PHP scripts used by Wikipedia and friends).

use Wiki::Toolkit
use Wiki::Toolkit::Store::Mediawiki;
use Wiki::Toolkit::Formatter::Mediawiki;

my $store = Wiki::Toolkit::Store::Mediawiki->new ( ... );
# See below for parameter details.
my $formatter = Wiki::Toolkit::Formatter::Mediawiki->new (%config,
store => $store);
my $wiki = Wiki::Toolkit->new (store => $store,
formatter => $formatter);

METHODS

new
my $store = Wiki::Toolkit::Store::Mediawiki->new ( ... );
my $formatter = Wiki::Toolkit::Formatter::Mediawiki->new
(allowed_tags => [# HTML
qw(b big blockquote br caption center cite code dd
div dl dt em font h1 h2 h3 h4 h5 h6 hr i li ol p
pre rb rp rt ruby s small strike strong sub sup
table td th tr tt u ul var),
# MediaWiki Specific
qw(nowiki),],
allowed_attrs => [qw(title align lang dir width height bgcolor),
qw(clear), # BR
qw(noshade), # HR
qw(cite), # BLOCKQUOTE, Q
qw(size face color), # FONT
# For various lists, mostly deprecated but
# safe
qw(type start value compact),
# Tables
qw(summary width border frame rules
cellspacing cellpadding valign char
charoff colgroup col span abbr axis
headers scope rowspan colspan),
qw(id class name style), # For CSS
],
node_prefix => ,
store => $store);

Parameters will default to the values above, with the exception of store, which is a required argument without a default. store does not have to be of type Wiki::Toolkit::Store::Mediawiki.
format

my $html = $formatter->format ($content);

Escapes any tags which werent specified as allowed on creation, then interpolates any macros, then calls Text::WikiFormat::format (with the specialized Mediawiki config) to translate the raw Wiki language supplied into HTML.

find_internal_links

my @links_to = $formatter->find_internal_links ($content);

Returns a list of all nodes that the supplied content links to.

Wiki::Toolkit::Formatter::Mediawiki 0.02 Screenshot

Advertisements

Wiki::Toolkit::Formatter::Mediawiki 0.02 Keywords

Bookmark Wiki::Toolkit::Formatter::Mediawiki 0.02

Hyperlink code:
Link for forum:

Wiki::Toolkit::Formatter::Mediawiki 0.02 Copyright

WareSeeker periodically updates pricing and software information of Wiki::Toolkit::Formatter::Mediawiki 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Wiki::Toolkit::Formatter::Mediawiki 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Wiki::Toolkit::Store::Mediawiki is a Mediawiki (MySQL) storage backend for Wiki::Toolkit. Free Download
Wiki::Toolkit::Formatter::Default is a formatter for Wiki::Toolkit. Free Download
HTML::WikiConverter::MediaWiki is a Perl module used to convert HTML to MediaWiki markup. Free Download
Quantity/Formatter Library provides a Java library made with the quantity/formatter pattern. Free Download
Wiki::Toolkit is a toolkit for building Wikis. Free Download
HTML::WikiConverter::Markdown is a Perl module to convert HTML to Markdown markup. Free Download
DHTML Windowing Toolkit is a cross-browser JavaScript library for the creation of inline DHTML windows to contain content. Free Download
Wiki::Toolkit::Plugin::RSS::Reader is a Perl module to retrieve RSS feeds for inclusion in Wiki::Toolkit nodes. Free Download