XML Export Plugin + PHP extension

Introduction - Please read first

Who could care about this ?

  • If you want to fetch reservations in xml format, with all resources & attributes. The Xml export plugin permits you to fetch (over http) all the "blocks" between two dates given as parameters in the url, in xml format.
  • If you need specific print results, sorted in different ways (not released yet). This is done with a php development.
  • AND you don't use the default xml storage engine, but a sql one (only tested with mysql)

What is this about ?

  • First part is a plugin to rapla. It offers a specific url to your rapla server which takes some arguments (start & end) and produces an xml file
  • Second part is a standalone php project which :
    • fetches the xml file and stores it in database
    • connects to rapla's database
    • brings up some web forms asking the user what he wants to print

Requirements

  • SQL Storage engine as rapla's backend
  • Apache & PHP5 with simplexml extension (this one fetches the xml file)
  • Smarty template engine
  • PEAR DB module for the database connexion

Setup

The XML Export plugin is expected to be integrated in rapla's main tree in a future release (see http://rapla.org/ticket/49). If you want to use it today, you can fetch the source from http://rapla.org/ticket/49, extract in rapla's source tree beside the other plugins, and compile the whole project.