Documentation/Extension: OfflineImportLexicon

From Semantic CorA
Jump to: navigation, search

Template:TNT

The OfflineImportLexicon extension is an extension for Semantic MediaWiki that provides a user interface that allows to create wiki pages following hierarchical book's structure: book, volume, article, physical representation of book page as image. Entities are:

  • Book (Lexicon)
  • Volume
  • Article (Lemma)
  • Page as images.

It was developed within the research project SMW-CorA and funded by the DFG.

Download

Template:TNT

Installation

Template:TNT This extension requires Semantic MediaWiki to be installed first. Template:TNT

Setup

After the installation, you have to create Templates as follows:

For books (lexicon)
{{Cora Lexicon Data
| Title =
| Subtitle = 
| Place of Publication  =
| Editor = 
| Coordinator =
| Author = 
| Publisher = 
| Language = 
| Edition =
| URN =  
| Year of Publication =  
| IDBBF =  
| Has Volume = 
}}
For volumes
{{Cora Volume Data
| Title =
| Subtitle = 
| Volume Number =
| Place of Publication  = 
| Publisher = 
| Editor =
| Language = 
| URN =  
| Year of Publication =  
| IDBBF =  
| Physical Description =  
| Part of Lexicon = 
}}
For articles, tables of contents (TOC), prefaces, lemmas
{{Cora Lemmata Data
| Title =
| Subtitle = 
| Part of Lexicon = 
| Part of Volume = 
| Language = 
| URN =  
| IDBBF = 
| Original Person =
| First Page =  
| Last Page =  
| Has Digitized =
| Category = 
}}
For authors
{{Authors Data
|Author =
}}
For physical pages
{{Cora Image Data
| Original URI =  
| Rights Holder =  
| URN = 
| Page Number = 
| Page Numbering = 
| Part of Article =  
| Part of TitlePage =
| Part of TOC = 
| Part of Preface =
}}

Usage

This is a brief introduction on how to use the OfflineImportlexicon. A more detailed guide will appear on this page in the near future.

Creating book structure

After successful installation, the special page OfflineImportLexicon will be created in your wiki under Semantic MediaWiki Group. Clicking this link, the special page launches and an initial form allows user to enter new books (lexicons). Clicking the Add New lexicon button starts the "New Lexicon Form". This offers to insert bibliographic information about a book. For each book, you can add volumes, and, for a collected edition, articles related to the book (lexicon). In these forms, you can specify the details of your currently created entity. After finishing the description process a wiki page will be created using corresponding template mentioned above. In addition, for articles, you can choose to generate also media file. In a subsequent session, you can add a scanned image of the physical book page.

Known issues

If you find a bug, please report it on the discussion page.