»   »   »

RoqWiki

What is a Wiki?

A wiki is a program that creates and allows the editing of web-pages. This is often used to create collaborative websites. WikiPedia is an example of a large multifunctional wiki. RoqWiki is an example of a simple more basic wiki, but both can be used for single or collaborative websites.

What is RoqWiki?

RoqWiki is a wiki written in Perl that converts text that is in Roqet Document Format into an HTML page. RoqWiki was inspired by pwyky, an Python wiki (but it contains no source-code from the pwyky project).

Install

0. Download: roqwiki.pl

1. Create a new script-writable directory on your server

2. Upload roqwiki.pl to your server and rename it to index.cgi

3. Change permissions on index.cgi to 755

4. Create a .htaccess file in the same directory with the following contents:

DirectoryIndex index.cgi
Options -MultiViews
RewriteEngine on
RewriteBase /test
RewriteRule ^@[a-z]+/([A-Za-z0-9-]+)$ index.cgi [L]
RewriteRule ^([A-Za-z0-9-]+)$ index.cgi [L]
RewriteRule ^([A-Za-z0-9-]+)\.html$ - [L]
    

5. Browse to http://yourdomainname/yourdirectory/index.cgi

  • Note: when the index.cgi is run the first time, it will create the template files and stylesheet files for your later modification.

    Further Configuration

    Check the contents of the script for more detailed configuration using the roqwiki.xml file.with the following format:

    Also, if your source contains comments that you don't want visible to the word, you should password-protect the created "source" directory.

    Roqet Document Format

    Take a look Here.

    The Template File

    RoqWiki will generate an HTML Template File, you can then modify it to include whatever you want (Google search for example). The template must contain these tags:

    (*title*)
    (*body*)
        
  • © Roqet :: 2022-03-01 16:07:34