Warning: This page has not been updated in over over a year and may be outdated or deprecated.
indexing:xml
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
indexing:xml [2018/12/19 18:56] – demiankatz | indexing:xml [2023/11/02 13:16] (current) – [The Basics] demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== XML Records ====== | ====== XML Records ====== | ||
- | If the data you want to import is not available in MARC format, chances are that you can access it in some flavor of XML. Fortunately, | + | If the data you want to import is not available in MARC format, chances are that you can access it in some flavor of XML. Fortunately, |
===== Importing with XSLT ===== | ===== Importing with XSLT ===== | ||
- | // The XSLT tool described in this section was added in VuFind 1.1. // | + | VuFind®'s XSLT tool is designed to make posting XSLT-transformed documents to the Solr index simple while offering flexibility for extending XSLT and applying local customizations. |
- | + | ||
- | VuFind's XSLT tool is designed to make posting XSLT-transformed documents to the Solr index simple while offering flexibility for extending XSLT and applying local customizations. | + | |
Line 19: | Line 17: | ||
* Any custom values you want to pass in as parameters to the XSLT file (i.e. local institution names, ID prefixes, etc.) | * Any custom values you want to pass in as parameters to the XSLT file (i.e. local institution names, ID prefixes, etc.) | ||
- | You can see an example properties file [[https:// | + | You can see an example properties file [[https:// |
- | Once a properties file is set up, you can import an XML file by switching to the import subdirectory of your VuFind | + | Once a properties file is set up, you can import an XML file by switching to the import subdirectory of your VuFind® |
< | < | ||
Line 29: | Line 27: | ||
(substituting the appropriate XML and properties files as needed). | (substituting the appropriate XML and properties files as needed). | ||
+ | === Note on Local Overrides === | ||
+ | |||
+ | Note that you do not need to provide the full path to the properties file -- the tool will first search your [[configuration: | ||
+ | === Troubleshooting === | ||
+ | The import-xsl.php tool supports a '' | ||
==== Full Text ==== | ==== Full Text ==== | ||
- | VuFind's XSLT tool includes support for extracting full text from external documents (PDF, Word, etc.). | + | VuFind®'s XSLT tool includes support for extracting full text from external documents (PDF, Word, etc.). |
- | For an example of full text extraction in action in VuFind, see the full text settings near the bottom of the [[https://vufind.svn.sourceforge.net/svnroot/vufind/trunk/ | + | For an example of full text extraction in action in VuFind®, see the full text settings near the bottom of the [[https://github.com/vufind-org/vufind/blob/dev/ |
==== Batch Importing ==== | ==== Batch Importing ==== | ||
- | If you need to load a number of XML files at once, you can load them into a subdirectory under the harvest subdirectory of your VuFind | + | If you need to load a number of XML files at once, you can load them into a subdirectory under the harvest subdirectory of your VuFind® |
+ | ===== Related Video ===== | ||
+ | You can learn more about XML indexing through the [[videos: | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
indexing/xml.txt · Last modified: 2023/11/02 13:16 by demiankatz