Snapper - XML Application SourceForge.net Logo  

This page describes how to get started with snapper.  The easiest way to start Snapper is by using the thin client snaprun it can be run from the command line or added to a launcher applet.  When run from the command line a URL can be specified to run.

  Running an application

After Snapper has been installed either via Perl or RPM you can simply type the following (assumes internet connection):

[bill@shark contrib]$ snaprun http://www.landsharklinux.com/pizza.xml

This will display the pizza application, change pizza.xml to robo.xml for the robo app.

[bill@shark contrib]$ snaprun http://www.landsharklinux.com/robo.xml

If you do not have internet access the samples are installed in the /usr/share/snapper directory.  please note that the /usr prefix may be different if your perl installation is some where else, i.e. /usr/local.  The apps can be loaded as follows:

[bill@shark contrib]$ snaprun file://usr/share/snapper/pizza.xml
[bill@shark contrib]$ snaprun file://usr/share/snapper/robo.xml

  Visual Launcher

After Snapper has been installed either via Perl or RPM you can simply type "snaprun" from the command line or add it to the Gnome toolbar using the "Add to Panel/Launcher...".

Launcher Properties

Now start snaprun.  The default URL displayed in the snaprun URL entry widget is "http://www.landsharklinux.com/pizza.xml", if you are connected to the internet, simply click "OK".  If you are not connected, select one of the "file:" URIs.

SnapRun

After clicking "OK" the pizza application will be displayed.

Pizza POS

Getting Started

Content owned by Albacore Technology is copyright 1999-2000 Albacore Technology, LLC All rights reserved.