Aller au contenu | Aller au menu | Rechercher

Blog | Budget | Gallery | Sys Info |

XML Configuration File Editor

XML Configuration File Editor

XML Configuration File Editor (XCFE) is a web service to update the XML configuration file. It allows to set all parameters defined in the CSV configuration files.

The CSV configuration file is composed of 5 fields separated by semicolons. The first field, named "Element List", is used to detail the path to access the XML element where sub-fields are separated by comma. The second field, named "Parameter", is used to target a XML attribute or, if empty, it targets the content of the XML tag. The third field, named "Description", is used to define the corresponding label in the XCFE form. The forth field, name "Type", is used to set the value type from "check", "float", "ip", "mac" or "string". The last field, name "Default value", is used to define the default value which is presented in each input tip.

XCFE can be used with the minimalist webserveur WebConfig or with an Apache server and its PHP module.

Screen-shots

Help view

XML Edit view

XCFE Configuration view

Download

Source packages

Debian packages

Requirements

XCFE only requires WebConfig or Apache/PHP. It has been tested on Linux with WebConfig 1.2 and with Apache 2.2.14 / PHP 5.3.2. The running DHCPD server was an ISC DHCP server.

Install

To install, one only needs to

Setup for apache

To enable a service with apache, ones needs to configure variables CSVCONFIG, XMLCONFIG, and CMDRESTART in config.inc.php. CSVCONFIG is used to define the CSV configuration file of XCFE. XMLCONFIG defines the XML file. CMDRESTART defined the restart daemon command.

Setup for webconfig

To enable a service with webconfig, ones needs to add 2 lines in the alias configuration file of webconfig. The first line contains the service name, the directory name where XCFE files are stored, the path of the XML file, the description name and the restart daemon command. The second one contains the service name followed by /cfg, the directory name where XCFE/cfg files are stored, and the CSV configuration file of XCFE; the two last fields are not used and should be let empty.

Changelogs

XCFE 1.6.2 (Fri, 29 Aug 2014 22:54:32 +0200)

XCFE 1.6.1 (Fri, 25 Jul 2014 00:04:06 +0200)

XCFE 1.6 (Tue, 08 Jul 2014 09:07:34 +0200)

XCFE 1.4 (Sat, 03 May 2014 12:51:07 +0200)

XCFE 1.2.1 (Thu, 20 Mar 2014 09:01:35 +0100)

XCFE 1.2 (Wed, 19 Mar 2014 21:33:32 +0100)

XCFE 1.0 (Fri, 14 Mar 2014 00:29:07 +0100)

Page créee/modifié le 12 mars 2014.

Envoyez tout commentaire à Laurent Mazet

Ce site fonctionne avec des logiciels libres tels que Debian GNU/Linux, Apache, MySQL et PHP

Valid XHTML 1.1 Valid CSS!