[RULE] How to format plain text for RULE website

M. Fioretti m.fioretti at inwind.it
Mon Jun 2 11:34:41 EEST 2003


The almost plain text format used to write source text of RULE web
pages makes possible to write new material very quickly, in plain
emacs/vi, maybe pasting from email. Several RULE potential users from
highly bandwidth-challenged areas have requested tarballs of the whole
site in text format, so there is a very practical need to keep it so,
not just phylosophic ones.

Furthermore, the files remain very readable unlike HTML/PHP, and still
give the possibility to build dynamic sites, keeping scripting and
content separate. Download the text version of the home page to see
what I mean.

Basically, the format is:

Everything starting on column 1 is a level 1 heading

    Everything on column 4 is level two heading

        Paragraphs and lists start on column 8, important is to have
        0/4/8 *spaces*, no tabs (for now).

	.   eight spaces, period, 3 spaces, text: not numbered list
        .   another bullet of this not numbered list

        o   same as above but with lowercase o instead of period:
        o   this is an ordered list, ie will be numbered

-PRE
Anything that must be kept as is (code, shell commands)
must be on column 0, but included in these tags
-/PRE

##INSERT(/include/the/php/code/in/this/file.php)

	URLs are embeddable, see home page source

	Last but not least, there must be at least one empty line
	between any two blocks of different type (heading to
	paragraph, paragraph to list, etc...)

	  Ciao,
		Marco

-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

The whole world is a tuxedo and you are a pair of brown shoes.
                -- George Gobel

----- End forwarded message -----

-- 
Marco Fioretti                 m.fioretti, at the server inwind.it
Red Hat for low memory         http://www.rule-project.org/en/

Never let your sense of morals prevent you from doing what is right
                                           Salvor Hardin , "Foundation"


_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/en/
Rule Development Site:   http://savannah.gnu.org/projects/rule/
Rule-list at nongnu.org
http://mail.nongnu.org/mailman/listinfo/rule-list



More information about the Rule-list mailing list