Re: Text to HTML conversion, managing pages

---------

Paul Hilling (p.hilling@bigfoot.com)
Fri, 6 Feb 1998 03:54:02 -0000


From: jari.aalto@poboxes.com <jari.aalto@poboxes.com>

>I remember seeing a discussion some time ago where people wondered how
>they maintain their text and html pages. I was unable to post at that
>time, so here comes my version.
>
>Basics:
>
>o I maintain all pages in pure text
>o They are specially indented according to TF (which later)
>o The text pages are run through simple perl script that converts
> all urls to clickable links and does all additional formatting,
> like generatic TOC and so on.
>
>That's basicly it. Managing 400K text page is not very difficult if
>you do it in Emacs and use a special minor mode that can reformat
>the text (plain, quote, code, emphatise) , update Header numbers,
>generate TOCs etc.

I actually use something very similar. The previous maintainer before me
wrote it in C and compliled it to run on any Windows PC.

It uses basic markers in the text file to layout the FAQ.

Examples
{S} New section or part
{Q} New question
{A} New answer
{In} Indent N spaces

There are only a couple more tags, When it comes to FAQ time, I run though
the complete Text document, changing what needs to be changed. When I have
finished.

I run FAQsplit2 on the file and it generates 2 versions. 1 Text version with
1 text file per section ready for posting. And a Fully clickable and content
paged HTML version ready for posting on the website.

Makes my job a lot easier. If anyone want's it I'll be happy to send it.
(It's about 120K).

Paul Hilling

--
(E-mail)p.hilling@bigfoot.com (WWW)http://freespace.virgin.net/p.hilling/
                   (IRC) Roc-A-Roo     (ICQ) 3712941
[  Alt.Tv.Xena FAQ  http://freespace.virgin.net/p.hilling/atx-faq.htm   ]

**No computers were harmed during the creation of this e-mail, however **several billion electrons were abused to ensure its safe delivery.