#[BOFN]###############################################################################
#
#
#Pagenews - a free script to publish news on websites
#Copyright (C) 2004,2005,2006,2007,2008 Philipp Kindt
#
#This file is part of Pagenews.
#
# 	 This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#[EOFN]###############################################################################



#This is the don philippe fancy parser class.
#It allows parsing a HTML (or any other similar markup language) executing perl commands and
#many other fancy features
#donparser internal version: PN 6.1 - 23.3.2008


#2-do:
#-write documentation


#########################################################################################################
package donparser;
#global, object-wide modifiers

#directory where perl code for [CODE] - Handlers are looked up
$codefolder = "restricted/codehandlers";

#editor mode on (true) or off?
$editor_mode = "false";

#editor mode callback function
$editor_mode_callback = "";

use donstdlib;



#donparser code is separated in different files
do "donparser_parts/donparser_part_handler_functions.pm";				#Handler-specific functions
do "donparser_parts/donparser_part_helper_functions.pm";					#useful helpers
do "donparser_parts/donparser_part_api.pm";									#API of donparser
do "donparser_parts/donparser_part_parse.pm";								#functions that do the actual parsing
do "donparser_parts/donparser_part_dot.pm";								#functions that do the actual parsing
do "donparser_parts/donparser_part_COF.pm";								#functions that do the actual parsing





1;

