About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:howtos:supporting_a_new_metadata_format

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
development:howtos:supporting_a_new_metadata_format [2015/12/11 17:33] – [Support for New Record Formats] demiankatzdevelopment:howtos:supporting_a_new_metadata_format [2020/09/22 14:35] (current) demiankatz
Line 1: Line 1:
 ====== Support for New Record Formats ====== ====== Support for New Record Formats ======
  
-//This page refers to VuFind 2.x and later; for documentation on earlier versions, see the [[:other_than_marc|VuFind 1.x version of the page]].//+:!: // This page refers to VuFind 2.x and later; use of earlier versions is no longer recommended. //
  
 ===== Introduction ===== ===== Introduction =====
  
-VuFind is currently bundled with a standard indexer ([[:solrmarc|SolrMarc]]) that handles MARC records quickly and efficently and a flexible XSLT processor for dealing with XML documents (see [[:importing_records#xml_records|this page]]).  However, VuFind also has the capability to support any other form of metadata if you are willing to do at least one of two things:+VuFind is currently bundled with a standard indexer ([[indexing:solrmarc|SolrMarc]]) that handles [[indexing:marc|MARC records]] quickly and efficently and a flexible XSLT processor for dealing with [[indexing:xml|XML documents]].  However, VuFind also has the capability to support any other form of metadata if you are willing to do at least one of two things:
   * write an indexer to get the data into VuFind's index (necessary!)   * write an indexer to get the data into VuFind's index (necessary!)
   * write a "Record Driver" to display that data appropriately within the VuFind interface (optional, if the index-based display meets your needs)   * write a "Record Driver" to display that data appropriately within the VuFind interface (optional, if the index-based display meets your needs)
Line 14: Line 14:
 Writing a custom indexer for other record formats may be done in almost any programming language. Steps to be done: Writing a custom indexer for other record formats may be done in almost any programming language. Steps to be done:
   * parse record format   * parse record format
-  * map format entities to Solr index fields (see [[:index_schema|the index schema page]] for notes on VuFind's index schema; the MARC mappings in [[https://github.com/vufind-org/vufind/blob/master/import/marc.properties|import/marc.properties]] should be helpful for understanding the meaning of the various fields)+  * map format entities to Solr index fields (see [[development:architecture:solr_index_schema|the index schema page]] for notes on VuFind's index schema; the MARC mappings in [[https://github.com/vufind-org/vufind/blob/dev/import/marc.properties|import/marc.properties]] should be helpful for understanding the meaning of the various fields)
   * create XMLish document out of these fields (see the [[http://wiki.apache.org/solr/UpdateXmlMessages|Solr Wiki]] for details)   * create XMLish document out of these fields (see the [[http://wiki.apache.org/solr/UpdateXmlMessages|Solr Wiki]] for details)
   * POST document to Solr's update handler (FYI: it doesn't have to be a POST per se; you can use SOLR/Lucene APIs to add documents directly to the index which is much faster)   * POST document to Solr's update handler (FYI: it doesn't have to be a POST per se; you can use SOLR/Lucene APIs to add documents directly to the index which is much faster)
Line 22: Line 22:
 Record display is handled by a family of "Record Driver" classes that extract information from the stored Solr fields and return it through a standard interface.  See the [[development:plugins:record_drivers|Record Drivers]] page for more details. Record display is handled by a family of "Record Driver" classes that extract information from the stored Solr fields and return it through a standard interface.  See the [[development:plugins:record_drivers|Record Drivers]] page for more details.
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
development/howtos/supporting_a_new_metadata_format.1449855205.txt.gz · Last modified: 2015/12/11 17:33 by demiankatz