Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Assembling text into websites

by moritz (Cardinal)
on Oct 24, 2008 at 07:19 UTC ( #719262=note: print w/replies, xml ) Need Help??


in reply to Assembling text into websites

What follows is shameless advertisement for my own offline-CMS (written in Perl, of course).

Mowyw expects your project to be organized in three directories:

source/ # here are all pages that should appear in the output includes/ # here are include files and menus online/ # mowyw will put the result of its processing here

In the simplest case, mowyw will copy a file source/foo.html to online/foo.html, prepend includes/header (you can configure that name, of course) and append includes/footer to that page. Non-HTML-pages are copied verbatim.

Inside the file simple directives are processed, here are some examples:

[% include bar %] # includes file includes/bar [% option no-header %] # don't include the header file [% setvar title Page Title %] # Set variable `title' to `Page Title' [% readvar title %] # is substituted by the value of varaible `titl +e'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://719262]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-03-29 07:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (169 votes). Check out past polls.

    Notices?