Main > Programming > Libraries >

Text::WikiFormat 0.79

Text::WikiFormat 0.79

Sponsored Links

Text::WikiFormat 0.79 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.028 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 793
Date added: 2007-08-22
Publisher: chromatic

Text::WikiFormat 0.79 description

Text::WikiFormat is a Perl module for translating Wiki formatted text into other formats.

SYNOPSIS

use Text::WikiFormat;
my $html = Text::WikiFormat::format($raw);

The original Wiki web site had a very simple interface to edit and to add pages. Its formatting rules are simple and easy to use. They are also easy to translate into other, more complicated markup languages with this module. It creates HTML by default, but can produce valid POD, DocBook, XML, or any other format imaginable.

The most important function is format(). It is not exported by default.

format()

format() takes one required argument, the text to convert, and returns the converted text. It allows two optional arguments. The first is a reference to a hash of tags. Anything passed in here will override the default tag behavior. The second argument is a hash reference of options. They are currently:

prefix

The prefix of any links. In HTML mode, this is the path to the Wiki. The actual linked item itself will be appended to the prefix. This is useful to create full URIs:

{ prefix => http://example.com/wiki.pl?page= }

extended

A boolean flag, false by default, to use extended linking semantics. This comes from the Everything Engine (http://everydevel.com/), which marks links with square brackets. An optional title may occur after the link target, preceded by an open pipe. These are valid extended links:

[a valid link]
[link|title]

Where the linking semantics of the destination format allow it, the result will display the title instead of the URI. In HTML terms, the title is the content of an A element (not the content of its HREF attribute).

You can use delimiters other than single square brackets for marking extended links by passing a value for extended_link_delimiters in the %tags hash when calling format.

implicit_links

A boolean flag, true by default, to create links from StudlyCapsStringsNote that if you disable this flag, you should probably enable the extended one also, or there will be no way of creating links in your documents. To disable it, use the pair:

{ implicit_links => 0 }

absolute_links

A boolean flag, false by default, which treats any links that are absolute URIs (such as http://www.cpan.org/) specially. Any prefix will not apply and the URIs arent quoted. Use this in conjunction with the extended option to detect the link.

A link is any text that starts with a known schema followed by a colon and one or more non-whitespace characters. This is a distinct subset of what URI recognizes as a URI, but is a good first-order approximation. If you need to recognize more complex URIs, use the standard wiki formatting explained earlier.

The recognized schemas are those defined in the schema value in the %tags hash. The defaults are http, https, ftp, mailto, and gopher.

Text::WikiFormat 0.79 Screenshot

Advertisements

Text::WikiFormat 0.79 Keywords

Bookmark Text::WikiFormat 0.79

Hyperlink code:
Link for forum:

Text::WikiFormat 0.79 Copyright

WareSeeker periodically updates pricing and software information of Text::WikiFormat 0.79 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 Text::WikiFormat 0.79 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
Text_Wiki allows you to transform Wiki text into HTML, LaTeX, RTF, PDF, and more. Free Download
HTML::WikiConverter is a Perl module that can convert HTML to wiki markup. Free Download
PodWiki is a collaborative Web-based authoring tool written in Perl. Free Download
Wiki::Toolkit::Formatter::Default is a formatter for Wiki::Toolkit. Free Download
Rhizome is a Wiki-like content management and delivery system that exposes the entire site. Free Download
DocBookWiki can display DocBook documents online. Free Download
Convert::Wiki is a Perl module that can convert HTML/POD/txt from/to Wiki code. Free Download
Wiki2Beamer is a small tool to create LaTeX Beamer presentations from text files with a wiki-like syntax. Free Download