#################################################### #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~# #| news2html sample config file. |# #| July 2, 1999 by Suso Banderas |# #__________________________________________________# #################################################### ############################################ # Define where and how to get the articles. # # $article_location can only be a directory # at this time. # ############################################ article_directory = "/var/spool/news/articles" newsgroup = "alt.ascii-art" ############################################# # Define file locations, where to put output # and extensions to use. ############################################# output_dir = "/home/suso/www/news2html/groups" output_extension = "phtml" #################################################################### # First we setup a header area that will exist above # each article text. Usually you will want to use # this to start out the HTML document and setup any tables, # layers or whatever else you might need. Below is just a # simple sample. # Each line is defined in order by a "header:value" pair that is # Split on the ":". Anything after the colon will be added to the # header output, including blank lines, etc. ##################################################################### header: header: header:Test of alt.ascii-art header: header: header:

###########################################################################
# You can define what attributes certain lines in the header will have
# such as , ,  , OMIT, etc.  The word 'SPLIT' must
# exist between starting and ending tags if you are going to surround
# the line with HTML formatting tags.
###########################################################################

From: SPLIT
Date: SPLIT
Subject: SPLIT
X-Accept-Language: OMIT
Content-Type: OMIT
Path: OMIT
Lines: OMIT
Message-ID: OMIT
References: OMIT
Reply-To: OMIT
Mime-Version: OMIT
Content-Transfer-Encoding: OMIT

############################################################################
# The prebody is simular to the header and footer sections except it puts
# the text you define inbetween the header and the body of the article.
############################################################################

prebody:
prebody:
prebody: #################################################### # The footer configuration behaves in much the same # way as the header configuration except it is put # below the actuall article text. #################################################### footer: footer:
footer: footer: ############################### # Indexing # How to make the index file ############################### index_filename = "index.phtml" index_directory = "/home/suso/www/news2html-output" ## Index header and footer. ## indexheader: indexheader: indexheader:Index of alt.ascii-art indexheader: indexheader: indexheader:Index of alt.ascii-art indexheader:
indexheader:
indexheader: indexfooter: indexfooter: indexfooter: