-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
56 lines (40 loc) · 1.58 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
NAME
XAO::DO::Catalogs - XAO catalog exchange module
SYNOPSIS
xao-ifilter-sample --debug sample_site sample.xml
xao-import-map --debug sample_site sample
DESCRIPTION
XAO Catalogs is a Perl module that supports integrating multiple
manufacturers' catalogs into a single products database. This can be
used for eCommerce sites, data integration projects, and search and
comparison engines.
METHODS
XAO::DO::Catalogs contains only minor utility methods, all real
functionality is in ImportMap::Base and specific import maps based on
it.
build_structure ()
Builds supporting structure in the database. Does not destroy
existing data -- safe to call on already populated database.
Usually should be called in Config.pm's build_structure() method.
data_structure ()
Returns a reference to a hash that describes database structure.
Usually you would add it to your database description in Config.pm:
my $cobj=XAO::Objects->new(objname => 'Catalogs');
my %structure=(
MyData => {
...
},
%{$cobj->data_structure},
MyOtherData => {
...
}
);
If that looks ugly (it is ugly) then look at the build_structure()
method description instead.
AUTHOR
Copyright (c) 2005 Andrew Maltsev
Copyright (c) 2001-2004 Andrew Maltsev, XAO Inc.
<am@ejelta.com> -- http://ejelta.com/xao/
SEE ALSO
Recommended reading: XAO::DO::ImportMap::Base, XAO::Objects, XAO::Web,
XAO::Commerce.