Convert Wiki to HTML

H

Horst Lemminger

I would like to convert the raw source of a local Wiki to HTML (static
files), preferably DokuWiki.

Unfortunately I have found very few (next to none) projects for Perl
that converts simple Wiki markup to HTML. I need the REVERSE of
HTML::WikiConverter

What are my choices here ?

Anyone have done that before ?
 
J

Justin C

I would like to convert the raw source of a local Wiki to HTML (static
files), preferably DokuWiki.

Unfortunately I have found very few (next to none) projects for Perl
that converts simple Wiki markup to HTML. I need the REVERSE of
HTML::WikiConverter

What are my choices here ?

Anyone have done that before ?


CPAN IYF. First hit on searching CPAN for WIKI is
Konstrukt::plugin::wiki:

DESCRIPTION

This plugin will render given wiki markup into an other format (e.g.
HTML).

Is this suitable?


Justin.
 
S

SSS Develop

I would like to convert the raw source of a local Wiki to HTML (static
files), preferably DokuWiki.

Unfortunately I have found very few (next to none) projects for Perl
that converts simple Wiki markup to HTML. I need the REVERSE of
HTML::WikiConverter

What are my choices here ?

Anyone have done that before ?

If you do not want to integrate this with any tool or DocuWiki itself
- why not use LWP kind of modules to scrape/crawl the sites as html
pages. that will be quick solution and get all App into static html
page.


Cheers,
 
H

Horst Lemminger

CPAN IYF. First hit on searching CPAN for WIKI is
Konstrukt::plugin::wiki:

Well, looks like what I need, but I don't need a komplete web
framework. My conversion needs just to be a one-time thing, and should
ideally be run from command line.

Perhaps I just need to learn how to use Konstrukt.

Do anyone know how to include a file between the wiki tags (or expand
variables ?)
 
H

Horst Lemminger

If you do not want to integrate this with any tool or DocuWiki itself
- why not use LWP kind of modules to scrape/crawl the sites as html
pages. that will be quick solution and get all App into static html
page.

This could be my last resort, but since I would like to do the
following
* edit text in my own application (simple notepad-like edit window
- text format ideally Wiki
* files are saved as text files OR in a database backend
* now files can be compiled with a script to static HTML
* the static HTML is the "help window" for a Windows application

So I do not need a webserver for this project, unless I have to.

But as you say, I could be forced to have one.
 
H

Horst Lemminger

Well, looks like what I need, but I don't need a komplete web
framework. My conversion needs just to be a one-time thing, and should
ideally be run from command line.

Perhaps I just need to learn how to use Konstrukt.

Do anyone know how to include a file between the wiki tags (or expand
variables ?)

The following is the only two lines I could find about running
Konstrukt directly.. but not much of an example.. Should be able to do
variables instead of files.. ?
===
my $filehandler = Konstrukt::Handler::File->new($root, $filename);
$filehandler->handler();
===
 
H

Helmut Richter

Well, looks like what I need, but I don't need a komplete web
framework. My conversion needs just to be a one-time thing, and should
ideally be run from command line.

Maybe Markdown (http://daringfireball.net/projects/markdown/) does what
you want. It is something that needs no preparation, just download it an
run it. It has its own Wiki-style syntax, and it depends on your Wiki
whether the syntaxes are similar enough.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top