Hvordan sette opp en OAI-PMH metadata-innhøster

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Hvordan sette opp en OAI-PMH metadata-innhøster - Presentation Transcript

    1. Hvordan sette opp en OAI-PMH metadata-innhøster (PKP Open Archives Harvester) Magnus Enger Biblioteklaboratorie-workshop Bergen, 12. - 13. november 2007
    2. System Requirements ● PHP >= 4.2.x (including PHP 5.x); Microsoft IIS requires PHP 5.x ● MySQL >= 3.23.23 (including MySQL 4.x/5.x) or PostgreSQL >= 7.1 (including PostgreSQL 8.x) ● Apache >= 1.3.2x or >= 2.0.4x or Microsoft IIS 6 (untested) ● Operating system: Any OS that supports the above software, including Linux, BSD, Solaris, Mac OS X, Windows
    3. Support
    4. Med SSH (PuTTY)/Telnet ● Logg på serveren ● Last ned fila $ wget http://pkp.sfu.ca/harvester2/download/harvester-2.0.1.tar.gz ● Pakk ut fila $ tar -xvf harvester-2.0.1.tar.gz ● Gå inn i mappa $ cd harvester-2.0.1 ● Flytt innholdet til ønsket plass $ mv * ~/subdomener/harvester/
    5. Med FTP ● Last ned fila til lokal maskin ● Pakk ut fila ● Logg på server med FTP-klient ● Last opp de utpakkede filene til ønsket plass på serveren
    6. Fremgangsmåte ● Er beskrevet i fila docs/README
    7. Endre filrettigheter ● Gjør følgende filer/mapper skrivbare: – config.inc.php (optional -- if not writable you will be prompted to manually overwrite this file during installation) – public – cache – cache/t_cache – cache/t_config – cache/t_compile – cache/_db
    8. Lag opplastingsmappe ● Lag en mappe for å lagre opplastede filer, gjerne utenfor server-rota ● Gjør denne mappa skrivbar
    9. Installasjon ● Via vevleser – http://yourdomain.com/path/to/harvester2/ ● Eller vi kommandolinja – php tools/install.php
    10. Rediger fila config.inc.php ; Use URL parameters instead of CGI PATH_INFO. This is useful for ; broken server setups that don't support the PATH_INFO environment ; variable. disable_path_info = Off Endre siste linja til: disable_path_info = On
    11. Problem ● «login»: http://harvester.collib.info/index.php/login ● Viser bare forsiden ● Klikk på «HOME»: http://harvester.collib.info/index.php?page=index ● Gå til URLen: http://harvester.collib.info/index.php?page=login
    12. Hvordan finne høstbare arkiver? ● «Registered Data Providers» fra OAI: http://www.openarchives.org/Register/BrowseSites
    13. Eksempel: DUO ved UIO
    14. Sets ● Document types ● Frequent occurrences of languages in the database ● Documents where online fulltext-versions are available ● Units at the university
    15. Document types ● Master thesis ● Dissertation ● Student thesis ● Series titles ● Report ● Monography ● Article
    16. Frequent occurrences of languages in the database ● Norwegian ● English ● French ● Norwegian Bokmål ● Norwegian Nynorsk ● Swedish ● German
    17. Documents where online fulltext- versions are available
    18. Units at the university ● Humanities(2437) ● Humanities\\Media and Communication(358) ● Humanities\\Media and Communication\\Media studies(331) ● Humanities\\Media and Communication\\Journalism(23) ● Humanities\\Archeology, Conservation and Historical Studies(459)
    19. «Update Metadata Index» Bruk tools/harvest.php !
    20. Nyttige «kommandoer» ● php harvest.php – lister opp diverse opsjoner ● php harvest.php list – liste over arkivene ● php harvest.php 1 – Høster metadata fra ett arkiv, tallet tilsvarer tallet i lista over ● php harvest.php 1 verbose – Som over, men med detaljerte meldinger om fremdriften
    21. Flere nyttige «kommandoer» ● php harvest.php all – Høster data fra alle arkivene ● php harvest.php all from=last – Høster alle nye metadata siden sist innhøsting – Kjør denne jevnlig ved hjelp av cron!
    22. Hacke databasen ● archive_settings ● records ● archives ● rt_contexts ● captchas ● rt_searches ● crosswalk_fields ● rt_versions ● crosswalks ● schema_plugins ● email_templates ● search_keyword_list ● email_templates_data ● search_object_keywords ● entries ● search_objects ● entry_attributes ● sessions ● plugin_settings ● site_settings ● raw_fields ● versions
    23. Tabell: records mysql> describe records; +------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+--------------+------+-----+---------+----------------+ | record_id | int(11) | | PRI | NULL | auto_increment | | archive_id | int(11) | | | 0 | | | schema_plugin_id | int(11) | | | 0 | | | identifier | varchar(255) | YES | | NULL | | | datestamp | datetime | YES | | NULL | | +------------------+--------------+------+-----+---------+----------------+
    24. Tabell: entries mysql> describe entries; +--------------+---------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------+---------+------+-----+---------+----------------+ | entry_id | int(11) | | PRI | NULL | auto_increment | | record_id | int(11) | | MUL | 0 | | | raw_field_id | int(11) | | MUL | 0 | | | value | text | YES | | NULL | | +--------------+---------+------+-----+---------+----------------+
    25. Tabell: raw_fields mysql> describe raw_fields; +------------------+-------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+-------------+------+-----+---------+----------------+ | raw_field_id | int(11) | | PRI | NULL | auto_increment | | name | varchar(60) | | MUL | | | | schema_plugin_id | int(11) | | | 0 | | +------------------+-------------+------+-----+---------+----------------+
    26. Strukturen til en «record» ● Record – Entry a ● raw_field_id = x – raw_fields name = 'Title' ● value = 'Kasus før og nå' – Entry b ● raw_field_id = y – raw_fields name = 'Author' ● value = 'Hansen, Hans' – Entry c ● raw_field_id = z – raw_fields name = 'Publisher' ● value = 'Universitetet i Bodø'
    27. Hacke systemet ● Interessante kataloger – classes – locale - språk – pages – plugins – styles – CSS – templates – benytter Smarty
    28. Lære mer ● README – http://pkp.sfu.ca/harvester2/README ● Administrator's Guide (17 s.) – http://pkp.sfu.ca/harvester2/AdminGuide.pdf ● Technical Reference (50 s.) – http://pkp.sfu.ca/harvester2/TechnicalReference.pdf
    29. Spørsmål ● Bruk BibLab-wikien (Allmenningen)! ● eller ● magnus@enger.priv.no

    + Magnus EngerMagnus Enger, 2 years ago

    custom

    971 views, 1 favs, 0 embeds more stats

    Held in Bergen, Norway.

    More info about this document

    CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

    Go to text version

    • Total Views 971
      • 971 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 2
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories