XML Script logo up prev
List of PalmPilot scripts
details.xst

Outputs the contact details for a single person. With no parameters, it will output details for the first person in the database. With only one parameter set, it will output details for the first person it finds who matches that parameter. With both set, it will output details for the first person it finds who matches both parameters.

Syntax
details [-f <firstname>] [-s <surname>]

Parameters
surname:    the surname to search for
firstname:  the first name to search for

Command line example
details -f Anthony -s Blair

Browser example
http://your.server.name/directorypath/details.xst?surname=Clinton
contactlist.xst

Lists the name, email address and phone number of people in the address book. With no parameters, this will output all the people in the addressbook. With one parameter, it will output all the people who match that parameter (eg all the Smiths, or all the Davids). Similarly with both parameters it will output all the people who match both parameters. When run from a web server, a link to a more detailed output (the output from details.xst, in fact) is given.

Syntax
contactlist [-f <firstname>] [-s <surname>]

Parameters
surname:    the surname to search for
firstname:  the first name to search for

Command line example
contactlist -f Monica

Browser example
http://your.server.name/directorypath/contactlist.xst?surname=Lewinsky
pilotdump.xst

Dumps the contents of the PalmPilot address database. This outputs the entire database, including fields you probably didn't know existed. Note: this can give a very long output when run from the command line, so empty fields are not displayed when running from the command line.

Parameters
none
phone.xst

Find people who have the given phone number. If a phone number is not given, "No Match found" will be output. Otherwise, all the people with the phone number as their Work, Home, Fax or Pager number will be output.

Syntax
phone <number>

Parameters
phone:      the phone number to look for

Command line example
phone "(710) 635-8777"

Browser example
http://your.server.name/directorypath/phone.xst?phone=0171-123-4577
company.xst

Find people from the given company. With no parameters, details for every person in the database will be output. With the company parameter set, only the people from that company will be output. In the browser example, note the use of "%20" to replace the illegal space in the query string.

Syntax
company <company name>

Parameters
company:    the company to search for

Command line example
company "US Government"

Browser example
http://your.server.name/directorypath/company.xst?company=US%20Government
city.xst

Find the people from the given city. With no parameters, details for every person in the database will be output. With the city parameter set, only the people from that city will be output.

Syntax
city <city name>

Parameters
city:       the city to search for

Command line example
city Washington

Browser example
http://your.server.name/directorypath/city.xst?city=Washington
send.xst

Sends XML-format records, from the database, to a third party, by email. The surname and firstname parameters work as in contactlist.xst. The email, mailserver and rcpt parameters must be specifed: if they are not, the script will output "Mail not sent". The script will probably not work if email or rcpt are not valid email addresses, but its precise behaviour depends on the mailserver. The timeout for getting a response back from the mail server at any point is 3 minutes.

Syntax
send <from> <to> <via> [-f <firstname>] [-s <surname>]

Parameters
surname:    the surname to search for
firstname:  the first name to search for
email:      the sender's email address
mailserver: the mail server that will send the mail
rcpt:       the recipient's email address

Command line example
send from@local to@remote mail.server.com -f Monica

Browser example
http://your.server.name/directorypath/send.xst?email=from@local&
rcpt=to@remote&mailserver=mail.server.com&surname=Clinton
Contents...

Home | New X-Tract Release | XML Script | XSL | Downloads | Documentation

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited