28.06.2013 Views

Papers in PDF format

Papers in PDF format

Papers in PDF format

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

also planned for implement<strong>in</strong>g this <strong>in</strong>terface over a propietary DBMS not support<strong>in</strong>g SQL, but only keyword<br />

search. This will yield to a redef<strong>in</strong>ition of the current <strong>in</strong>terface, which is clearly RDBMS-compliant.<br />

Catalog Templates<br />

Catalog uses templates for both <strong>in</strong><strong>format</strong>ion filter<strong>in</strong>g and document composition, <strong>in</strong>clud<strong>in</strong>g multil<strong>in</strong>gual<br />

labell<strong>in</strong>g. There must be a Templator application for each supported DBMS, that will create a master template<br />

for each DBMS user. This master template extracts all the tables, columns and cross-l<strong>in</strong>ks for that user, so that<br />

the Catalog CGIs can run properly, although it may need customization for a full use of Catalog. For each table<br />

that will be accessible to the user, an entry is created <strong>in</strong> the master template with the follow<strong>in</strong>g syntax:<br />

where:<br />

IU_REF In<strong>format</strong>ion Unit REFerence beg<strong>in</strong> tag.<br />

IU_l<strong>in</strong>k The table’s primary key and the table name separated by the ‘~’ character, as <strong>in</strong> primary_key~table_name.<br />

permission_level An <strong>in</strong>teger assign<strong>in</strong>g a m<strong>in</strong>imun permission level for access<strong>in</strong>g the table.<br />

label A label for the In<strong>format</strong>ion Unit or component. The Templator writes the table name or column<br />

name, remov<strong>in</strong>g ‘_’ characters, if any. In the case of a l<strong>in</strong>k component (REF:IU type — see below),<br />

the Templator writes LINKi, where i is the number of the l<strong>in</strong>k <strong>in</strong> the IU's table.<br />

number_of_components<br />

The number of componentes found for this In<strong>format</strong>ion Unit.<br />

{component} component_type,component_l<strong>in</strong>k,permission_level,reference_flag,<br />

search_flag,document_flag,descriptor_flag,label_flag,label<br />

component_type One of STR, NUM, etc.<br />

component_l<strong>in</strong>k If the component corresponds to a table column, the column name; if it corresponds to a l<strong>in</strong>k<br />

between tables (REF:IU type), the l<strong>in</strong>k def<strong>in</strong>ition <strong>in</strong>clud<strong>in</strong>g both anchor (current table’s column<br />

name) and dest<strong>in</strong>ation (column and table names), separated by the ‘~’ character, as <strong>in</strong> column_name~column_name~table_name;<br />

if it corresponds to a group tag (LAB or BAL), a group<br />

style (see also below).<br />

reference_flag I or R, for <strong>in</strong>clusion of the component data or only a reference to it.<br />

search_flag SEARCH or NOSEARCH, depend<strong>in</strong>g on whether the component is searchable or not.<br />

document_flag DOC or NODOC, depend<strong>in</strong>g on whether the component should be <strong>in</strong>cluded <strong>in</strong> the Card’s document<br />

or not.<br />

descriptor_flag SHORT or NOSHORT, depend<strong>in</strong>g on whether the component should be <strong>in</strong>cluded <strong>in</strong> the Card’s<br />

descriptor or not.<br />

label_flag LABEL or NOLABEL, depend<strong>in</strong>g on whether the component should be <strong>in</strong>cluded <strong>in</strong> the Card’s<br />

label or not.<br />

IU_END In<strong>format</strong>ion Unit reference END tag.<br />

component types:<br />

WRD Textual component available for list of terms searches.<br />

FRE Textual data, with free text search.<br />

STR Textual component present<strong>in</strong>g list of terms and free text searches.<br />

TXT Textual pre<strong>format</strong>ted data, with free text search.<br />

NUM Numerical component, currently not searchable.<br />

DAT Date component, currently not searchable.<br />

BIN General b<strong>in</strong>ary data component.<br />

IMA Image component.<br />

VID Video component.<br />

AUD Audio component.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!