NAME
interchange - an e-commerce and general HTTP database display system
SYNOPSIS
interchange [--options] [file]
VERSION
5.7.7
DESCRIPTION
Interchange is a database access and retrieval system focused on e-commerce. It allows customers to select items to buy from catalog pages. The program tracks user information in sessions and interacts with an HTTP server through sockets.
Interchange has many, many, functions and features; they are too numerous to describe in this venue. Complete information can be found at its web site:
http://www.icdevgroup.org/
Interchange requires Perl 5.8.5 or higher; more information on Perl can be seen at:
http://www.perl.com/
OPTIONS
Interchange uses the Getopt::Long module, and most options will be recognized if they uniquely identifiable. The canonical forms are:
- -a, --add
-
Add a catalog to the system. Information taken from the input file (or standard input). Implies reconfig=catalog. Example:
echo "Catalog simple /catalogs/simple /simple.cgi" | bin/interchange -aThe information is in the form of a standard Interchange catalog line, and must be in the single-line format.
- --runjobs=catalog[=job]
-
Run a jobs group which is a series of files in a directory with the name corresponding to the
"job". For instance, if you set up a directory called "weekly" in your pages directory for the catalog"foundation", you can run those files with:interchange --runjobs=foundation=weeklyFiles ending in .html (or whatever HTMLsuffix is for that catalog) are skipped. It is not tree-recursive -- directories are ignored.
Results can be emailed to an address if you specify --email=address, and they will be put in the jobs log file.
Alternatively jobs can be specified with --jobgroup=jobname before the --runjobs option. In other words, this will work:
interchange --jobgroup=weekly --runjobs=foundationThis will NOT work:
interchange --runjobs=foundation --jobgroup=weekly
- -d dir, --dir=dir
-
Directory for VendRoot. This is where the Interchange configuration file will be looked for (if not redefined with
"-f"), and where the log file will go (if not redefined with the ErrorFile directive).
- -e name, --exclude=name
-
Exclude catalog from this startup.
- -email=address
-
Email address to email jobs results to.
- -f file, --config=file
-
Configuration file to use (default is interchange.cfg in VendRoot).
- -h, --help
-
Display help on command line options.
- -i, --inetmode
-
Run with internet-domain socket only. Normally Interchange runs with both UNIX- and internet-domain sockets (except on Windows).
- --jobgroup=job
-
Sets the job for --runjobs if that is not included in the --runjobs call. MUST precede the --runjobs entry on the command line.
interchange --jobgroup=weekly --runjobs=foundationSee --runjobs for an explanation of what this does.
- --kill [signal]
-
By default, kills the server ungracefully with signal KILL (9, usually). The optional signal will be sent instead if supplied.
- -q, --quiet
-
Suppress informational messages on startup. Only errors are shown.
- --reconfig=name
-
Cause only catalog
"name"to re-read its configuration.
- --remove=catalog
-
Remove a catalog from operation; any future requests will get a not-found message.
- -r, --restart
-
Stop and restart the server. This may take a long time if many catalogs are in use, and will temporarily take the system offline. If you want to change a UserTag, use the --add option instead.
- --serve
-
This is the default if no mode options (--reconfig, --kill, --restart, etc.) are supplied.
- --stop
-
Stop server gracefully with a TERM signal.
- -t, --test
-
Report problems with config files; causes a complete configuration of the Interchange server but no server start.
- -u, --unix
-
Run with unix-domain socket only. Normally Interchange runs with both UNIX- and internet-domain sockets. This will not work on Windows.
- -v, --version
-
Display program version.
- --DEBUG=1
-
Set to true value to run foreground in debug mode. It is normal to receive warnings about various things if you run with perl -w.
- Directive=value
-
Set a Interchange global directive upon start (or --restart). Example:
interchange SocketPerms=0666This will start the server and override the default of SocketPerms or the value set in interchange.cfg for this instance only. Any --restarts must re-specify the directive if it is still to have that value.
- name:Directive=value
-
Set a Interchange directive for catalog
"name"upon start (or --restart). Example:interchange simple:VendURL="http://localhost/cgi-bin/simple"This will start the server and override the default of VendURL for the value set in catalog.cfg for this instance only. Any --restarts must re-specify the directive if it is still to have that value.
SEE ALSO
compile_link(1), config_prog(1), configdump(1), dump(1), expire(1), expireall(1), localize(1), makecat(1), offline(1), restart(1), update(1), http://www.icdevgroup.org/
LICENSE
Interchange comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute and modify it under the terms of the GNU General Public License.
COPYRIGHT
Copyright (C) 2002-2011 Interchange Development GroupCopyright (C) 1995-2002 Red Hat, Inc.All rights reserved except those granted in the license.
AUTHOR
Mike Heins is the primary author of Interchange.
The Interchange Development Group is:
Daniel BrowningDavid ChristensenGert van der SpoelGreg HansonJon JensenJure KodzomanMark JohnsonMark LipscombeMike HeinsPeter AjamianRon PhippsStefan Hornburg (aka Racke), captainTon Verhagen
Please do not contact the authors directly for help with the system. Use the Interchange mail list:
[email protected]
Information on subscribing to the list, as well as general information and documentation for Interchange is at:
http://www.icdevgroup.org/
ACKNOWLEDGEMENTS
Original author of Vend, ancestor to Minivend and Interchange, was Andrew Wilcox <[email protected]>. Interchange could never have come into being without him. Interchange was based on Vend 0.2, with portions from Vend 0.3; both were produced in 1995.
Special thanks to Retired Core Team Members:
Brev PattersonDavid KellyDavor OcelicEd LaFranceEthan RoweJonathan ClarkJT JustmanKevin WalshPaul VinciguerraRandy Moore
Contributions to Interchange have been made by:
Alison Smith Jonathan WalkerAndreas Koenig Jordan AdlerAndrew Rich Josh BraeggerBill Carr Josh LavinBill Dawkins Jose MX RevueltoBill Randle Jurgen BotzBirgitt Funk Justin OttenBob Jordan Kaare RasmussenBrent Kelly KeikoBrian Bullen Keith OberlinBrian Kosick Kim Lauritz ChristensenBrian Miller Larry HuffmanBruce Albrecht Larry LeszczynskiCameron Prince Lars TodeCarl Bailey Lyn St GeorgeChen Naor Marc AustinChristian Mueller Mark StosbergChristopher Miller Marty TennisonChristopher Thompson Massimiliano CiancioChristopher Wenham Mat JonesDan Busarow Matthew SchickDan Collis-Puro Max CohanDan Helfman Michael LehmkuhlDaniel Hutchinson Michael McCuneDaniel Thompson Michael WilkDave Wingate Mick WeissDavid Adams Mike FragerDennis Cronin Neil EvansDon Grodecki Nelson FerrariDon Hathaway Paul DelysDonald Alexander Paul JordanEric Zarko Phil SmithFrank Bonita Raj GoelFrederic Steinfels Ray DesjardinsGary Benson Reid SutherlandGunnar Hellekson Rene HertellHamish Bradick Ryan PerryHans-Joachim Leidinger Sergiusz JarczykHeinz Wittenbecher Shozo MurahashiHiroyuki Cozy Kojima Sonny CookIgnacio Lizaran Spencer ChristensenIvan Kohler Steve GrahamJack Tsai Thomas J.M. BurtonJason Holt Tim BaverstockJason Kohles Tom FriedelJavier Martin Tom TuckerJeff Barr Tommi LabermoJeff Boes Toni MuellerJeff Carnahan Troy DavisJeff Fearn Victor NoltonJeff Nappi William Dan TerryJochen Wiedmann Zachary Matthewsand many others.
And, of course, the entire Perl team without whom Interchange could not exist.