400 likes | 411 Views
Learn about serving B20/20 files via WWW servers in Unix & Windows NT environments. Customize interfaces, provide remote access & integrate different products. Alternatives explored.
E N D
Serving up Beyond 2020 files on the WWW DLI workshop - Ontario region March 30, 2000 University of Guelph
Unix WWW server environmentLaine Ruus, University of Toronto Data Library Service Windows NT WWW server environment Walter Giesbrecht, York University Library Data Services
With acknowledgements toVince Gray, UWO/SSCL who first discovered this was possible!
What we’ll be talking about: • advantages to serving up B20/20 files via a WWW server • how to do it in a Unix environment • how to do it in a Windows NT environment • how to create the HTML files you’ll need • links to more information
Alternatives to providing access to Beyond 20/20 files : • pass-through: lending CD-ROMs • pass-through: copy of ftp’d files to user • install on stand-alone workstations • install on a LAN • serve WWW plug-in such as WinFrame (ICA or RDP-based) • serve as full WWW helper application
Advantages to serving up Beyond 20/20 files via WWW [1] • allows you to serve files regardless of the original file medium • provides 24x7 remote access • ability to customize the interface • sidestep limits of indexing of individual products • integrate files from different editions and products
Advantages to serving up Beyond 20/20 files via WWW [2] • more secure than loaning out CD-ROM • less competition for disk space on LAN servers or stand-alones • doesn’t require dedicated CD-ROM drive • faster access than e.g. WinFrame • by-passes installation problems
Major types of B20/20 files • table files -- for aggregate statistics • extract files -- for microdata • map files -- for data visualization
B20/20 files that can be served via WWW • table files • standard WWW server • users need B20/20 client software • alternatively with Beyond 20/20 web data server (NT-based) • extract files • very kludgy • Ivation server plans to do this sometime in 2000
Serving B20/20,Unix fashion [1] • server must be configured with correct MIME type • application/x-beyond2020 • file extension .ivt
Serving B20/20,Unix fashion [2] STC ‘limited use’ contract requires DLI and DSP files be available: • to faculty/students/staff of your academic institution • (DSP only) walk-in users of your library • files must be restricted access • IP-address protected, or • account and password protected
Serving B20/20,Unix fashion [3] • if CD-ROM product • upload all .ivt files to appropriate directory on server in binary mode • if product obtained via ftp as compressed file • .zip or .exe extension • uncompress using unzip • or uncompress in Windows and upload
Serving B20/20,Unix fashion [4] • make subdirectory(ies) containing files ‘world’ readable and executable • make file(s) ‘world’ readable • command: chmod 755 * (read & execute) or chmod 744 * (read only)
Serving B20/20,Unix fashion [5] • store or link subdirectories/files within WWW server area, command: ln -s [existing_path/filename] [newname]
Serving B20/20,Unix fashion [6] And, finally……………. • edit the ivtables.dir or ivtables.fra file to make an HTML page for the item • store the HTML file in either WWW server area or a linked subdirectory • TEST the HTML document before releasing it.
Serving B20/20,WinNT fashion [1] • server must be configured with correct MIME type • application/x-beyond2020 • file extension .ivt • access must be restricted
MIME type configuration Access configuration … from Internet Service Manager console
Serving B20/20,WinNT fashion [2] • if CD-ROM product • copy/upload all .ivt files to appropriate directory on server in binary mode • if product obtained via ftp as compressed file • .zip or .exe extension • uncompress using compression utility (e.g., WinZIP)
Serving B20/20,WinNT fashion [3] Creating virtual directories
Serving B20/20,WindowsNT fashion [4] And, finally……………. • edit the ivtables.dir or ivtables.fra file to make an HTML page for the item • store the HTML file in subdirectory (real or virtual) of \wwwroot • TEST the HTML document before releasing it.
B20/20 via HTML [1] • use the ivtables.dir found in the directory with the .ivt files
B20/20 via HTML [2] [Summary] Categories=4 Files=32 Extracts=0 [Categories] C1=June 1999 Business Register Data by Census Division C2=June 1999 Business Register Data by CA/CMA C3=June 1999 Business Register Data by Census Sub-Division C4=June 1999 Business Register Data by Provinces [Files] T1=CDNAIC2.IVT,"June 99 Establishment counts by PROV/CD, Sectors & Emp.",0,Table T2=CDNAIC3.IVT,"June 99 Establishment counts by PROV/CD, Subsectors & Emp.",0,Table T3=CDNAIC4.IVT,"June 99 Establishment counts by PROV/CD, Industry Groups & Emp.",0,Table Fragment of ivtables.dir from cbp
B20/20 via HTML [3] <CENTER> <TABLE border> <TR><TH>File name:</TH><TH>Content:</TH></TR> <TR><TH align=left colspan=2 bgcolor=#CCCCCC>1999 (June) Business Register Data:</TH></TR> <TR> <TD> </TD><TH>1999 (June) Business Register Data for Canada and provinces:</TH></TR> <TR><TD> <A href="http://prod.library.utoronto.ca/datalib/datar/cstdli/cbp/1999/TABLES/PRNAIC2.IVT"> PRNAIC2.IVT</A></TD> <TD>Establishment counts by Canada and provinces (13), industry sector (NAICS, 2-digit)(22) & employment category (number of employees)(11)</TD></TR> <TR><TD> <A href="http://prod.library.utoronto.ca/datalib/datar/cstdli/cbp/1999/TABLES/PRNAIC3.IVT"> PRNAIC3.IVT</A></TD> <TD>Establishment counts by Canada and provinces (13), subsectors (NAICS, 3-digit)(101) & employment category (number of employees)(11)</TD></TR> Fragment of resulting HTML file
B20/20 via HTML [4] Category number [Categories] C1=June 1999 Business Register Data by Census Division C2=June 1999 Business Register Data by CA/CMA C3=June 1999 Business Register Data by Census Sub-Division [Files] T1=CDNAIC2.IVT,"June 99 Establishment counts by PROV/CD, Sectors & Emp.",0,Table ...[more of the same]... T23=CSDSIC3.IVT,"June 99 Establishment counts by PROV/CSD, Industry Groups & Emp.",2,Table Physical file name Table number Category reference Table title