Why enter records into your database when you can have someone else do it for you? Or at least, why not borrow records from other sources and import them into your database? It’s quite easy to do, saving time and improving accuracy. One approach to this is:
- Use a service such as Bookwhere, Biblios.net or PubMed to search for records in numerous online databases, for materials such as books, journals, articles, videos, maps - anything that might have been catalogued by someone somewhere may be found (see our blog post on Biblios.net).
- Save records in MARC XML format (though any XML format can be used).
- In Genie (part of the Inmagic Library Suite), use the included Bookwhere XSLT to convert selected MARC tags to Genie fields and import records. (XSLT is short for Extensible Stylesheet Language Transformation, and is a language used to transform XML data into other formats).
- In Inmagic DB/Text, customize an XSLT to map MARC XML or any other XML data source to your data structure and import records.
- After importing records, you would of course further customize them to suit your database.
If you use Genie, it includes an XSLT (Bookwhere.xsl in the Genie ImporterFiles folder) that maps MARC XML fields into Genie fields. You can customize this XSLT further for your cataloging needs. For example, some MARC tag to Genie field mappings we have added include:
|MARC Tags||Genie Field|
|090 or 050||CatCallNumber|
856 subfield u
856 subfield y
246, 247, 730, 740, 770, 772, 776, 780, 785, 787
Leader position 6 or 7
Here's an example of the above Leader mapping added to the Genie Bookwhere.xsl transformation:
<xsl:template name="RecordType2" match="marc:leader">
<xsl:when test="substring(marc:leader, 8, 1 )='s'">
<xsl:when test="substring(marc:leader, 7, 1 )='a'">
<xsl:when test="substring(marc:leader, 7, 1 )='g'">
Virtually any XML file can be imported into a textbase using an XSL. The beauty of XSLT is that data cleanup can be done as part of the process. For example, ALL CAPS can be converted to Title case, fields can be separated or joined, dates can be transformed to other formats, and much more.