A.2 broker/query.html. A.3 broker/brokerquery.pl.cgi. A.4 broker/lib/brokerquery.cf. A.5 broker/idx2html.cgi. A.2 broker/query.



Similar documents
Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012

Linux & Docker auf Azure

Exchange Synchronization AX 2012

Installing FEAR on Windows, Linux, and Mac Systems

Search Engines Chapter 2 Architecture Felix Naumann

APPLICATION SETUP DOCUMENT

Usage of the mass storage system. K. Rosbach PPS 19-Feb-2008

SPICE auf der Überholspur. Vergleich von ISO (TR) und Automotive SPICE

Technische Alternative elektronische Steuerungsgerätegesellschaft mbh. A-3872 Amaliendorf, Langestr. 124 Tel +43 (0)

Device Interface IP Address Subnet Mask Default Gateway

SOLR INSTALLATION & CONFIGURATION GUIDE FOR USE IN THE NTER SYSTEM

QAS DEBUG - User und Computer

WESTERNACHER OUTLOOK -MANAGER OPERATING MANUAL

HSearch Installation

stub (Private Switch) Solaris 11 Operating Environment In the Solaris 11 Operating Environment, four zones are created namely:

Chapter 1. Backup service

MIGRATING TO AVALANCHE 5.0 WITH MS SQL SERVER

Introduction U41241-J-Z

Extending Magento: Build- und Deploymentprozess. Verfasser: Tim Wagner / Michael Leiss

quick documentation Die Parameter der Installation sind in diesem Artikel zu finden:

Apache Hadoop 2.0 Installation and Single Node Cluster Configuration on Ubuntu A guide to install and setup Single-Node Apache Hadoop 2.

Cloud Homework instructions for AWS default instance (Red Hat based)

Amon Agent. User Guide

Secure File Transfer Installation. Sender Recipient Attached FIles Pages Date. Development Internal/External None 11 6/23/08

Private Server and Physical Server Backup and Restoration:

Symantec Backup Exec (TM) 13 Installation Log

AJAX SSL- Wizard Reference

Cisco Configuration Professional Workshop

TimePunch SQL Server Database Guide

Kurs-Dokumentation. Zentrum für Informatik ZFI AG. Developing Windows Azure and Web Services (NAZS-0313) -IT Ausbildung nach Mass

LEARNING AGREEMENT FOR STUDIES

SSL Interception on Proxy SG

O D B C / R O C K E T ( B S / O S D ) V 5. 0 F O R S E S A M / S Q L D A T E : F E B R U A R Y *2 R E L E A S E N O T I C E

Gurkensalat statt Spaghetticode. Stuttgarter Testtage 2013

CloudBackup Installer Guide Linux. System Requirements. Get Started - Linux

Jeffrey D. Ullman Anfang von: CS145 - Herbst Stanford University Online unter: Folien mit weißem Hintergrund wurden hinzugefügt!

SAP HANA Disaster Recovery with Asynchronous Storage Replication Using Snap Creator and SnapMirror

Installation Sophos Virenscanner auf Friedolins Linux Servern

Sofy License Manager (Version 2.0)

Installing and Configuring MySQL as StoreGrid Backend Database on Linux

Exploiting the Web with Tivoli Storage Manager

windream Failover Cluster Installation

Linux firewall. Need of firewall Single connection between network Allows restricted traffic between networks Denies un authorized users

VERSION 9.02 INSTALLATION GUIDE.

Command Line Crash Course For Unix

AWS Schema Conversion Tool. User Guide Version 1.0

Diese Liste wird präsentiert von. Netheweb.de

1Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Time Navigator Migration Guide Upgrading Time Navigator Version or 4.1 to Version 4.2

Configuring an OpenNMS Stand-by Server

WEBTITAN CLOUD. User Identification Guide BLOCK WEB THREATS BOOST PRODUCTIVITY REDUCE LIABILITIES

Accessing the Deep Web: A Survey

Business Objects BI Server Installation Guide - Linux

IBM Pure Application Create Custom Virtual Image Guide - Part 1 Virtual Image by extending

CASHNet Secure File Transfer Instructions

Integrating Jalopy code formatting in CVS repositories

Multipurpsoe Business Partner Certificates Guideline for the Business Partner

Testen mit Produktionsdaten Fluch oder Segen?

Mitgliederversammlung OdA ICT Bern. Kurzreferat Cloud Computing. 26. April 2012 Markus Nufer

Birmingham Environment for Academic Research. Introduction to Linux Quick Reference Guide. Research Computing Team V1.0

Unix Sampler. PEOPLE whoami id who

Lieberman Software. RSA SecurID Ready Implementation Guide. Account Reset Console. Partner Information. Last Modified: March 20 th, 2012

GlobalSign Solutions

Connecting to the Firewall Services Module and Managing the Configuration

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

How to setup a Printer to Print from Solaris to MegaRIP and BlackMagic

TIn 1: Lecture 3: Lernziele. Lecture 3 The Belly of the Architect. Basic internal components of the Pointers and data storage in memory

List of FTP commands for the Microsoft command-line FTP client

vcenter Operations Management Pack for SAP HANA Installation and Configuration Guide

Single Node Hadoop Cluster Setup

Thirty Useful Unix Commands

CN=Monitor Installation and Configuration v2.0

IAC-BOX Network Integration. IAC-BOX Network Integration IACBOX.COM. Version English

LEARNING AGREEMENT FOR STUDIES

Copyright 2013, Oracle and/or its affiliates. All rights reserved. Customer Presentation

Enterprise Reporting Server v3.5

CrontabFile Converter

Backing Up and Restoring Data

Jetzt können Sie den Befehl 'nsradmin' auch für diverse Check-Operationen verwenden!

Installation Guide for WebSphere Application Server (WAS) and its Fix Packs on AIX V5.3L

Microsoft Certified IT Professional (MCITP) MCTS: Windows 7, Configuration ( )

Evolution of the WWW. Communication in the WWW. WWW, HTML, URL and HTTP. HTTP - Message Format. The Client/Server model is used:

Integrating Apache Web Server with Tomcat Application Server

Verteilte Systeme 3. Dienstevermittlung

Configuration Guide. Remote Backups How-To Guide. Overview

Measuring the performance of a Wired network

How to install PowerChute Network Shutdown on VMware ESXi 3.5, 4.0 and 4.1

Computing Service G72. File Transfer Using SCP, SFTP or FTP. many leaflets can be found at:

Cassandra Installation over Ubuntu 1. Installing VMware player:

USER GUIDE. Snow Inventory Client for Unix Version Release date Document date

1 Recommended Readings. 2 Resources Required. 3 Compiling and Running on Linux

WhatsUp Gold v16.2 MSP Edition Deployment Guide This guide provides information about installing and configuring WhatsUp Gold MSP Edition to central

J2EE-Application Server

Redmine Installation on Debian. v1.1

Transcription:

A.2 broker/query.html 7 $SOIF{ Archive =~ s /TR/Data/ $ftpurl/ if $SOIF{ Archive ; $SOIF{ Document =~ s /TR/Data/ $ftpurl/ if $SOIF{ Document ; while (($k, $v) = each %SOIF) { &soif print_item($k, $v); exit 0; A.2 broker/query.html A.3 broker/brokerquery.pl.cgi A.4 broker/lib/brokerquery.cf A.5 broker/idx2html.cgi

A.1 gatherer/bin/idx.sum 6 $SOIF{ $what =$1; if(/^document-id:\s+(.*)$/){ $SOIF{ $what =$1; $what= Document-ID ; #is there an archive file? if($file=~m/^(.*).$idx$/){ local($pref)=$1; $debug && print pref=$pref\n ; $f= ${pref.lha ; if(-f $f){ $SOIF{ Archive =$f; $f= ${pref.zip ; if(-f $f){ $SOIF{ Archive =$f; $f= ${pref.tar ; if(-f $f){ $SOIF{ Archive =$f; $f= ${pref.tar.z ; if(-f $f){ $SOIF{ Archive =$f; $f= ${pref.tar.gz ; if(-f $f){ $SOIF{ Archive =$f; $f= ${pref.tar.z ; if(-f $f){ $SOIF{ Archive =$f; $f= ${pref.gz ; if(-f $f){ $SOIF{ Archive =$f; $f= ${pref.z ; if(-f $f){ $SOIF{ Archive =$f; $f= ${pref.z ; if(-f $f){ $SOIF{ Archive =$f; $f= ${pref.lzh ; if(-f $f){ $SOIF{ Archive =$f; $debug && print $pref.$idx ->,$SOIF{ Archive, \n ; $debug && print \n ; $debug && print \n ; # Abstract while(<in>){ $SOIF{ Abstract.=$_; close(in); # Div. Infos aus Filesystem: # Semester, Version, Document, Archive, Document-ID if(($fb,$type,$sem,$num)=$file=~m.*/tr/(\s+)/(\s+)/(\s+)/(\s+).$idx ){ $debug && print fb = $fb\n ; $debug && print type = $type\n ; $debug && print sem = $sem\n ; $debug && print num = $num\n ; $debug && print \n\n ; $did=$file; $did=~s,^/tr/data/tr/,,; $did=~s,/,-,g; $did=~s,.idx,,; $debug && print did=$did\n\n ; $SOIF{ Document-ID =$did; $SOIF{ Semester =$sem if!$soif{ Semester ; if(!$soif{ Vers ){ if($type eq SC ){ $SOIF{ Vers =$sem; $SOIF{ Typ =$type if!$soif{ Typ ;

A Files 5 A Files A.1 gatherer/bin/idx.sum #!/soft/local/bin/perl5 # Felder: # Titel: (mandatory) # Keywords: (mandatory) # Autor: (mandatory) # Betreuer: (mandatory) # Semester: (recommended) # Vers: (recommended) # Document: (optional) # Archive: (optional) # Document-ID: (optional) # Typ: (recommended) # # Abstract: (mandatory) $IDX= idx ;# idx? $debug = 0; $ftpurl = ftp://rfhs0003.fh.uni-regensburg.de ; unshift(@inc, $ENV{ HARVEST_HOME /lib ); require soif.pl ; # use local files #open(l, >>/tmp/idx.sum.log ) ; #print L $0:,@ARGV, \n ; #close(l); $file = shift(@argv); open(in, $file ) die IDX.sum: Cannot read $file.\n ; while(<in>){ last if (/^\s*\n$/o); if( /^\s+(.*)$/){ # Continuation line $SOIF{ $what.= $1 ; if(/^titel:\s+(.*)$/){ $what= Titel ; $SOIF{ $what =$1; if(/^keywords:\s+(.*)$/){ $what= Keywords ; $SOIF{ $what =$1; if(/^autor:\s+(.*)$/){ $what= Autor ; $SOIF{ $what =$1; if(/^betreuer:\s+(.*)$/){ $what= Betreuer ; $SOIF{ $what =$1; if(/^typ:\s+(.*)$/){ $what= Typ ; $SOIF{ $what =$1; if(/^semester:\s+(.*)$/){ $what= Semester ; $SOIF{ $what =$1; if(/^version:\s+(.*)$/){ $what= Vers ; $SOIF{ $what =$1; if(/^document:\s+(.*)$/){ $what= Document ; $SOIF{ $what =$1; if(/^archive:\s+(.*)$/){ $what= Archive ;

4.2 BrokerQuery.pl.cgi 4 4.2 BrokerQuery.pl.cgi Tasks: accept fields from Form (query.html) form query to broker call the right BrokerQuery.cf for output-formatting 4.3 lib/brokerquery.cf Changes: minor cosmetics make IDX-files accessible through calls to idx2html.cgi. 4.4 idx2html.cgi Display given IDX-file and hilight the Dokument- and Archive-fields (if available) as hyperlinks. See appendix for a full listing.

4.1 Query-Form (query.html) 3 Is this information correct? [yes]: Should I build this Broker now? [yes]: Would you like to add a collection point to the Broker now? [yes]: Enter the host from which to collect [rfhs0003]: Enter the port from which to collect [8500]: > 8900 Enter the collection type [3]: > 1 Is this information correct? [yes]: Would you like to add a collection point to the Broker now? [no]: If the TR-related files should be stored unter /TR/Harvest, then /soft/harvest-1.4pl1/brokers/tr has to be copied to /TR/Harvest/broker: % rm -fr /TR/Harvest/broker % cd /soft/harvest-1.4pl1/brokers/tr % mkdir -p /TR/Harvest/broker % tar cf -. ( cd /TR/Harvest/broker ; tar vxf - ) % cd.. % rm -fr TR % ln -s /TR/Harvest/broker TR Directory: /TR/Harvest/broker/TR BrokerQuery.pl.cgi: copy from /soft/harvest-1.4pl1/cgi-bin/brokerquery.pl.cgi and modify as described below. lib/brokerquery.cf: copy from /soft/harvest-1.4pl1/cgi-bin/lib/brokerquery.cf and modify as rescribed below. 4.1 Query-Form (query.html) The following fields can be searched after checking them: Titel (check) -> search_titel Keywords (check) -> search_kwds Autor (check) -> search_autor Betreuer (check) -> search_betr Document-ID (check) -> search_docid Semester (check) -> search_sem Typ: multiple choice: DA, SC, REF, PR, any -> search_typ Fachbereich: IN,... any -> search_fb See below for a full listing of the form.

3.3 Summarizers 2 3.3 Summarizers Directory: /TR/Harvest/gatherer/bin Abstract.sum: #!/bin/sh head -50 $1 wrapit Abstract Empty.sum: #!/bin/sh SymbolicLink.sum: #!/bin/sh IDX.sum: <too big, see appendix:-> 4. Broker If there s only a summary.html in /TR/Harvest/broker/TR, the broker must be re-created by running /soft/harvest-1.4pl1/bin/createbroker with the following parameters: Enter a one-line descriptive name for your Broker [No_Default]: > Technical Report Broker Enter a one-word name for your Broker [No_Default]: > TR Enter the hostname on which the broker will run [rfhs0003]: Enter the port number on which the broker will run [8501]: > 8901 Enter the password to the broker administrative interface []: > geheim Enter the hostname for your HTTP server. If you want to use a different port number than 80, append it to the hostname with a colon (e.g., www.cs.colorado.edu:9000) [rfhs0003]: Enter your email address [feyrer@rfhs0003]: > hubert.feyrer@rz.uni-regensburg.de Enter the name of the attribute that will be displayed to the user as one-line object description in search results [description]: Do you want to use Glimpse or WAIS as an Indexer [glimpse]: > glimpse Enter the pathname to the glimpse command [/soft/harvest-1.4pl1/lib/broker/glimpse]: Enter the pathname to the glimpseindex command [/soft/harvest-1.4pl1/lib/broker/ glimpseindex]: Enter the pathname to the glimpseserver command [/soft/harvest-1.4pl1/lib/broker/ glimpseserver]: Enter the host on which to run glimpseserver [rfhs0003]: Enter the destination Broker directory [/soft/harvest-1.4pl1/brokers/tr]:

1. Preparation 1 ACHTUNG!!! Der Server läuft noch nicht, darum ist dieses Dokument auch noch nicht 100% fertig. Unter http://rfhs0003.fh.uni-regensburg.de/harvest/brokers/tr/summary.html kann das bisherige Ergebnis betrachtet werden. aber Vorsicht: Baustelle! Der TR-Broker basiert auf einem Broker, der den NetBSD/amiga-Teil des Regensburger FTP-Servers indiziert und unter http://rfhs0003.fh.uni-regensburg.de/harvest/brokers/netbsd/query.html zugängig ist. 1. Preparation Setup of the Harvest Brokers for the Technical Report Server of the FH Regensburg Hubert Feyrer, 6.3.1996 mkdir -p /TR/Harvest/gatherer mkdir -p /TR/Harvest/broker ln -s /TR/Harvest/gatherer /soft/harvest-1.4pl1/gatherers/tr ln -s /TR/Harvest/brokers /soft/harvest-1.4pl1/brokers/tr 2. RunHarvest Path of gatherer: /soft/harvest-1.4pl2/gatherers/tr Port of gatherer: 8900 Path of broker: /soft/harvest-1.4pl2/brokers/tr Port of broker: 8901 3. Gatherer 3.1 Specify workload Directory: /TR/Harvest/gatherer TR.cf: <RootNodes> file://localhost/tr/data/tr/ URL=99999999,TR-files </RootNodes> TR-files: Allow \.idx Deny.* 3.2 Customize type recognition Directory: /TR/Harvest/gatherer/lib cp /dev/null bycontent.cf cp /dev/null byname.cf byurl.cf: IDX ^.*\.idx$ cp /dev/null quick-sum.cf stoplist.cf: Unknown