file:///home/logilab/docbook/xslt/html/docbook.xsl; Line 61; Column 16; No template matches url. file:///home/logilab/docbook/xslt/html/docbook.xsl; Line 61; Column 16; No template matches url. The Personnal Digital Assistant documentation

The Personnal Digital Assistant documentation

Sylvain THENAULT


Table of Contents

Install
Recipe which manage the web interface : pda
Running the interface
Customize
Futur improvements

Abstract

The aim of this module is to provide recipes for calendar and address book management via a web interface. This module is made of several recipes which :

  • manage HTTP request in order to providing the web interface, which provide access to your address book, calendar and other stuff managed by Narval

Install

Use Narval package manager tool, (npm.py) or Horn ( in Narval/narval/ ) to intall Infopal package downloadable from ftp site .

Recipe which manage the web interface : pda

Running the interface

You have to add the following line in your memory file ($NARVAL_HOME/data/memory.xml) before launching Narval in order to make this recipe running  :

<server-socket port="7776" recipe="pda.pda"/>
      
This line tel Narval to instantiate a plan matching the recipe as soon as it will receive data on the port n°7776. You don't have to instantiate the pda recipe yourself, only to start Narval with the --socket-manager option. Once you have done this, you only have to open in your favorite browser one of the following urls (if you have followed the above exemple, else you may have to change the port number): <url>http://localhost:7776</url> if your brower run on the same computer as Narval, or more generally <url>http://my_compute.my_domain:7776</url>. You will see a web page appears, proposing links manage Narval.

Customize

Of course, you can customize your interface with the following files:

  • $NARVAL_HOME/data/index.html, the main page

  • $NARVAL_HOME/data/pda-style.css, the style sheet used for the interface

You can can also edit the recipe for your personnal needs.

Futur improvements