DataProcessing2

From DLXS Documentation

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
  Putting a new bib class collection online  
+
Putting a new bib class collection online  
    
    
-
  1.  Decide on unique collection ID, e.g., moa-bib. Must be unique across all of our collections, regardless of class.
+
1.  Decide on unique collection ID, e.g., moa-bib. Must be unique across all of our collections, regardless of class.
-
  2.  Request authorization for for the collection ID. It is always public because it is bib class. Usually, the collection owner does this for me, as this is an adjunct collection, e.g., moa is Making of America text class, moa-bib is Making of America bib class (just the metadata)
+
2.  Request authorization for for the collection ID. It is always public because it is bib class. Usually, the collection owner does this for me, as this is an adjunct collection, e.g., moa is Making of America text class, moa-bib is Making of America bib class (just the metadata)
-
3. Create the bibclass data. In the case of those from text class, use an XSLT transform to map from text class to bib class, e.g., /prep/m/moa/moa-bibclass.xsl, using saxon. In the case of image class or SPO, receive directly from John and Jeremy.
+
3. Create the bibclass data. In the case of those from text class, use an XSLT transform to map from text class to bib class, e.g., /prep/m/moa/moa-bibclass.xsl, using saxon. In the case of image class or SPO, receive directly from John and Jeremy.
-
4. Each bibclass file must begin with <?xml version="1.0" encoding="UTF-8"?><COLL> and end with </COLL>
+
4. Each bibclass file must begin with <?xml version="1.0" encoding="UTF-8"?><COLL> and end with </COLL>
-
5. Place bibclass file in prep directory
+
5. Place bibclass file in prep directory
-
6. Run any additional scripts on it, e.g., /prep/d/dlpscoll/scripts/fix-moa-F.pl to add additional collection information
+
6. Run any additional scripts on it, e.g., /prep/d/dlpscoll/scripts/fix-moa-F.pl to add additional collection information
-
7. Copy to data directory, e.g., /obj/d/dlpscoll
+
7. Copy to data directory, e.g., /obj/d/dlpscoll
-
8. Create index. Go to index directory, e.g., /idx/d/dlpscoll. Create an init file, e.g., /idx/d/dlpscoll/moa-bib.init. Make a dd file, e.g., /idx/d/dlpscoll/moa-bib.dd. Run xpatbldu and then multirgn.
+
8. Create index. Go to index directory, e.g., /idx/d/dlpscoll. Create an init file, e.g., /idx/d/dlpscoll/moa-bib.init. Make a dd file, e.g., /idx/d/dlpscoll/moa-bib.dd. Run xpatbldu and then multirgn.
-
9. Create web page for the collection, e.g., /web/d/dlpscoll/polar-bib/index.tpl. Only the index page is necessary, and can be copied from sample_index.tpl.
+
9. Create web page for the collection, e.g., /web/d/dlpscoll/polar-bib/index.tpl. Only the index page is necessary, and can be copied from sample_index.tpl.
-
10. Create a collmgr entry based on an existing "-bib" entry. You can make a copy of an existing entry.
+
10. Create a collmgr entry based on an existing "-bib" entry. You can make a copy of an existing entry.
-
11. Move the data and indexes to production, and move the collmgr entry as well.
+
11. Move the data and indexes to production, and move the collmgr entry as well.
-
12. This automatically populates nameresolver, but if you want to have the collection available via OAI, you need to go into collmgr, choose the "oaiall" group and select the new collection in that group. Be sure to release the group to production, just like you did with the collection entry.
+
12. This automatically populates nameresolver, but if you want to have the collection available via OAI, you need to go into collmgr, choose the "oaiall" group and select the new collection in that group. Be sure to release the group to production, just like you did with the collection entry.

Revision as of 11:57, 9 September 2007

Putting a new bib class collection online

1. Decide on unique collection ID, e.g., moa-bib. Must be unique across all of our collections, regardless of class. 2. Request authorization for for the collection ID. It is always public because it is bib class. Usually, the collection owner does this for me, as this is an adjunct collection, e.g., moa is Making of America text class, moa-bib is Making of America bib class (just the metadata) 3. Create the bibclass data. In the case of those from text class, use an XSLT transform to map from text class to bib class, e.g., /prep/m/moa/moa-bibclass.xsl, using saxon. In the case of image class or SPO, receive directly from John and Jeremy. 4. Each bibclass file must begin with <?xml version="1.0" encoding="UTF-8"?><COLL> and end with </COLL> 5. Place bibclass file in prep directory 6. Run any additional scripts on it, e.g., /prep/d/dlpscoll/scripts/fix-moa-F.pl to add additional collection information 7. Copy to data directory, e.g., /obj/d/dlpscoll 8. Create index. Go to index directory, e.g., /idx/d/dlpscoll. Create an init file, e.g., /idx/d/dlpscoll/moa-bib.init. Make a dd file, e.g., /idx/d/dlpscoll/moa-bib.dd. Run xpatbldu and then multirgn. 9. Create web page for the collection, e.g., /web/d/dlpscoll/polar-bib/index.tpl. Only the index page is necessary, and can be copied from sample_index.tpl. 10. Create a collmgr entry based on an existing "-bib" entry. You can make a copy of an existing entry. 11. Move the data and indexes to production, and move the collmgr entry as well. 12. This automatically populates nameresolver, but if you want to have the collection available via OAI, you need to go into collmgr, choose the "oaiall" group and select the new collection in that group. Be sure to release the group to production, just like you did with the collection entry.

Personal tools