gsl-statique-litterateur/etc/gsl/gsl.conf

173 lines
4.1 KiB
Plaintext

# file: gsl.conf
# Folder: /etc/gsl
# By echolib
# License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007
#=======================================================================
# Folders
#=======================================================================
# Librairies
gsl_dir_lib="/var/lib/gsl"
gsl_dir_scripts="$gsl_dir_lib/scripts"
gsl_dir_helps="$gsl_dir_lib/helps"
# Management
gsl_dir_db="$gsl_dir_lib/db"
gsl_dir_global_domains="/var/lib/gsl/domains"
# Logs
gsl_dir_logs="/var/log/gsl"
# User
gsl_dir_user_domains="/home/$USER/.config/gsl/domains"
#=======================================================================
# Files
#=======================================================================
# Logs
gsl_file_logs="$gsl_dir_logs/gsl.log"
# Management
gsl_file_db_domains="$gsl_dir_db/domains.db"
gsl_file_db_posts="$gsl_dir_db/posts.db"
gsl_file_db_stats="$gsl_dir_db/stats.db"
gsl_file_db_files="$gsl_dir_db/files.db"
# Registred Authors filename
gsl_filename_auth="authors.db"
#=======================================================================
# GSL Internal Configuration
#=======================================================================
# minimum size to check a post
gsl_post_min_size=800
# Init log datas
gsl_log_e='Err'
gsl_log_w='War'
gsl_log_i='Inf'
# Admin show
gsl_admin_sep_post='==============='
# Date format
gsl_test_date='^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]+$'
#-----------------------------------------------------------------------
# Set LOG help Activity for NEEDED HEADERS
#-----------------------------------------------------------------------
gsl_log_act_title='POST TITLE'
gsl_log_act_author='REGISTRED NAME'
gsl_log_act_date='YYYY-MM-DD'
gsl_log_act_info='POST is ABOUT...'
gsl_log_act_slug='POST-TITLE'
gsl_log_act_code='NBR : FILENAME'
gsl_log_act_image='NBR : NAME : ALT TEXT'
gsl_log_act_abbr='SHORT : LONG'
gsl_log_act_h1='#1 POST CONTENT TITLE'
gsl_log_act_link='NAME : URL : ALT TEXT'
gsl_log_act_file='NAME : FILENAME : ALT TEXT'
#-----------------------------------------------------------------------
# Set LOG for CONTENT Process
#-----------------------------------------------------------------------
gsl_log_c_link="Content link"
gsl_log_c_abbr="Content abbr"
gsl_log_c_code="Content code"
gsl_log_c_image="Content image"
gsl_log_c_file="Content file"
#-----------------------------------------------------------------------
# Set CONTENT POST markers
#-----------------------------------------------------------------------
gsl_mo_p='('
gsl_mo_link='\[_'
gsl_mo_em='/_'
gsl_mo_bold='\*_'
gsl_mo_strong='\*\*_'
gsl_mo_code='¤_'
gsl_mo_file='<_'
gsl_mc_p=')'
gsl_mc_link='_\]'
gsl_mc_em='_/'
gsl_mc_bold='_\*'
gsl_mc_strong='_\*\*'
gsl_mc_code='_¤'
gsl_mc_file='_>'
gsl_mark_image='_image_'
gsl_mark_code='_code_'
gsl_mark_title='#'
gsl_mark_hr='==='
gsl_mark_list1='=> '
gsl_mark_list2='==> '
gsl_mark_list3='===> '
gsl_mark_blockquote='---'
gsl_mark_blockquote_cite='_cite :'
gsl_mark_blockquote_year='_year :'
gsl_mark_blockquote_link='_link :'
gsl_mark_blockquote_book='_book :'
gsl_mark_blockquote_lang='_lang :'
#-----------------------------------------------------------------------
# Set for Stats
#-----------------------------------------------------------------------
gsl_o_markers=(
$gsl_mo_link
$gsl_mo_em
$gsl_mo_strong
$gsl_mo_bold
$gsl_mo_code
$gsl_mo_file
)
gsl_c_markers=(
$gsl_mc_link
$gsl_mc_em
$gsl_mc_strong
$gsl_mc_bold
$gsl_mc_code
$gsl_mc_file
)
gsl_i_markers=(
"Content link"
"Content italic"
"Content strong"
"Content bold"
"Content code"
"Content file"
)
gsl_u_markers=(
'[_ _]'
'/_ _/'
'**_ _**'
'*_ _*'
'¤_ _¤'
'<_ _>'
)
#-----------------------------------------------------------------------
# Set HEADERS markers
#-----------------------------------------------------------------------
# type: page / post
gsl_marker_type='type: '
gsl_marker_title='title: '
gsl_marker_slug='slug: '
gsl_marker_info='info: '
gsl_marker_author='author: '
gsl_marker_date='date: '
gsl_marker_tags='tags: '
#Optional (include brut text)
gsl_marker_code='code: '
gsl_marker_image='image: '
gsl_marker_abbr='abbr: '
gsl_marker_link='link: '
gsl_marker_file='file: '