# file: gsl.conf # Folder: /etc/gsl # By echolib # License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 #======================================================================= # Folders #======================================================================= app_name="gsl" # 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_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 # Max Posts list in sidebar gsl_list_max_posts=5 # Init log datas gsl_log_e='Err' gsl_log_w='War' gsl_log_i='Inf' # 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 : Alt Text' 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 Process Type #----------------------------------------------------------------------- gsl_log_h_link="Header Link" gsl_log_h_abbr="Header ABBR" gsl_log_h_code="Header Code" gsl_log_h_image="Header Image" gsl_log_h_file="Header File" gsl_log_h_image="Header Image" gsl_log_c_h1="Content Begins" gsl_log_c_p="Content Paragraphs" gsl_log_c_cite="Content Citations" 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_mc_p=')' gsl_mark_file='__' gsl_mark_image='_image' gsl_mark_fcode='_code' gsl_mark_title='#' gsl_mark_bold='\*' gsl_mark_strong='\*\*' gsl_mark_italic='\/' gsl_mark_code="¤" gsl_mark_list='=' gsl_mark_listo="ø" 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 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: ' # Delimiters to seet for sed in case exists in inline-code gsl_d=(\, \. \? \% \# \- \: \^ \/ \_ \| ) # Onlinde Repo repo="https://git.a-lec.org/echolib/gsl/-/raw/main/usr/local/bin/gsl" repo_tar="https://git.a-lec.org/echolib/gsl/-/archive/main/gsl-main.tar.gz"