UM-specific BibClass Data Processing

From DLXS Documentation

(Difference between revisions)
Jump to: navigation, search
Current revision (16:36, 16 October 2007) (edit) (undo)
m
 
(11 intermediate revisions not shown.)
Line 1: Line 1:
-
  - before anything, ask to have new bib coll authorized: public access and hosted on hti
+
[[DLXS Wiki|Main Page]] > [[Mounting Collections: Class-specific Steps]] > [[Mounting a Bib Class Collection]] > UM-specific BibClass Data Processing
-
  - also have stats entry created for new bib coll
+
<hr>
-
  - the xml file should be in /l1/prep/d/dlpscoll/dlpstext/new/ or /l1/prep/d/dlpscoll/dlpsimage/new or /l1/prep/d/dlpscoll/spotext/new
+
 
-
  - move xml file to /l1/obj/d/dlpscoll
+
*before anything, ask to have new bib coll authorized: public access and hosted on quod
-
  - on sangria, index the xml file
+
*also have stats entry created for new bib coll
-
  cd /l1/idx/d/dlpscoll
+
*the xml file should be in /l1/prep/d/dlpscoll/dlpstext/new/ or /l1/prep/d/dlpscoll/dlpsimage/new  
-
  - cp the bib-sample.dd
+
or /l1/prep/d/dlpscoll/spotext/new
-
  cp bib-sample.dd busadwp-bib.dd
+
*move xml file to /l1/obj/d/dlpscoll
-
  - edit busadwp-bib.dd so that /l1/obj/b/bib-sample/bib-sample becomes /l1/obj/d/dlpscoll/busadwp-bib in the three places it's needed
+
*on sangria, index the xml file
-
  - create the init file for this coll
+
**cd /l1/idx/d/dlpscoll
-
  cp bib-sample.init busadwp-bib.init
+
*cp the bib-sample.dd
-
  - find out how big your obj file is
+
**cp bib-sample.dd busadwp-bib.dd
-
  ls -la /l1/obj/d/dlpscoll/busadwp-bib.xml
+
*edit busadwp-bib.dd so that /l1/obj/b/bib-sample/bib-sample becomes /l1/obj/d/dlpscoll/busadwp-bib  
-
  - index the file
+
in the three places it's needed
-
  xpatbldu -m [x]m -D busadwp-bib.dd  
+
*create the init file for this coll
-
  - where [x] = up to two times the size of the busadwp-bib.xml file, but no more than 75% of the RAM on the server
+
**cp bib-sample.init busadwp-bib.init
-
  - multirgn -f -D busadwp-bib.dd -t bib-regions.tags
+
*find out how big your obj file is
-
  - add a record in collmgr
+
**ls -la /l1/obj/d/dlpscoll/busadwp-bib.xml
-
  collectionid = busadwp-bib
+
*index the file
-
  collname = University of Michigan Business Administration Working Papers
+
**xpatbldu -m [x]m -D busadwp-bib.dd
-
  appmodule = BibApp
+
*where [x] = up to two times the size of the busadwp-bib.xml file, but no more than 75% of the RAM  
-
  browseable = no
+
on the server
-
  extendedname = University of Michigan Business Administration Working Papers
+
**multirgn -f -D busadwp-bib.dd -t bib-regions.tags
-
  hold = no
+
*add a record in collmgr
-
  homesite = http://www.hti.umich.edu
+
**collectionid = busadwp-bib
-
  host = www.hti.umich.edu
+
**collname = University of Michigan Business Administration Working Papers
-
  locale = en_US.UTF-8
+
**appmodule = BibApp
-
  map = bib.map
+
**browseable = no
-
  objdir = /d/dlpscoll
+
**extendedname = University of Michigan Business Administration Working Papers
-
  port = 620
+
**hold = no
-
  primaryhref = default
+
**homesite = http://quod.lib.umich.edu
-
  primarytitle = text:University of Michigan Business Administration Working Papers
+
**host = quod.lib.umich.edu
-
  querylanguage = xpat
+
**locale = en_US.UTF-8
-
  rendering = perl
+
**map = bib.map
-
  secondarytitle = default
+
**objdir = /d/dlpscoll
-
  sortthreshold = 1000
+
**port = 620
-
  subclassmodule = BibClass
+
**primaryhref = default
-
  webdir = /d/dlpscoll/busadwp-bib
+
**primarytitle = text:University of Michigan Business Administration Working Papers
-
  authsystems = um
+
**querylanguage = xpat
-
  colldescr = [a description based on the original coll description]
+
**rendering = perl
-
  dd = /idx/d/dlpscoll/busadwp-bib.dd
+
**secondarytitle = default
-
  regionsearch = entire record [and] author [and] title
+
**sortthreshold = 1000
-
  - move your index from sangria to clamato and dlps10, and thus production
+
**subclassmodule = BibClass
-
  cd /l1/bin/b/bib
+
**webdir = /d/dlpscoll/busadwp-bib
-
  rdist -f rdist.dlpscoll -m clamato.umdl.umich.edu
+
**authsystems = um
-
  rdist -s hti -f rdist.dlpscoll
+
**colldescr = [a description based on the original coll description]
-
  - authorize yourself to look at the collection, before it is officially authorized
+
**dd = /idx/d/dlpscoll/busadwp-bib.dd
-
  cd /l1/dev/[uniqname]/cgi/b/bib
+
**regionsearch = entire record [and] author [and] title
-
  - add busadwp-bib to AUTHZD_COLL
+
*move your index from sangria to clamato and dlps10, and thus production
-
  - create an HTML index page for your collection.
+
**cd /l1/bin/b/bib
-
  cd /l1/dev/[uniqname]/web/d/dlpscoll
+
**rdist -f rdist.dlpscoll
-
  mkdir busadwp-bib
+
*authorize yourself to look at the collection, before it is officially authorized
-
  cvs add busadwp-bib
+
**cd /l1/dev/[uniqname]/cgi/b/bib
-
  cp sample_index.tpl busadwp-bib
+
*add busadwp-bib to AUTHZD_COLL
-
  cd busadwp-bib
+
*create an HTML index page for your collection.
-
  mv sample_index.tpl index.tpl
+
**cd /l1/dev/[uniqname]/web/d/dlpscoll
-
  - open the index.tpl file and change the <title> and <h2> tags to reflect the full name of the collection, and add the description from colldescr
+
**mkdir busadwp-bib
-
  - cvs add index.tpl
+
**cvs add busadwp-bib
-
  - cvs commit index.tpl
+
**cp sample_index.tpl busadwp-bib
-
  - update the release script to incorporate these for release.
+
**cd busadwp-bib
-
  cd /l1/dev/[uniqname]/bin/b/bib
+
**mv sample_index.tpl index.tpl
-
  - add '/web/d/dlpscoll/busadwp-bib' => '-R', # recurse to cvstag.bib
+
*open the index.tpl file and change the title and h2 tags to reflect the full name  
-
  cvs commit cvstag.bib
+
**of the collection, and add the description from colldescr
-
  - find the range of dates in the collection
+
**cvs add index.tpl
-
  - go back to sangria
+
**cvs commit index.tpl
-
  xpatu /l1/idx/d/dlpscoll/busadwp-bib.dd
+
*update the release script to incorporate these for release.
-
  region YR
+
**cd /l1/dev/[uniqname]/bin/b/bib
-
  {savefile "dates"}
+
*add '/web/d/dlpscoll/busadwp-bib' => '-R', # recurse to cvstag.bib
-
  save.region.1
+
**cvs commit cvstag.bib
-
  /l1/prep/d/dlpscoll/scripts/daterange.pl dates | sort | uniq | more
+
*find the range of dates in the collection
-
  - go back to the record in collmgr and add:
+
*go back to sangria
-
  minmaxyearstart = [first date]
+
**xpatu /l1/idx/d/dlpscoll/busadwp-bib.dd
-
  minmaxyearend = [last date]
+
**region YR
-
  - look at everything at http://[uniqname].dev.umdl.umich.edu/cgi/b/bib/bib-idx?c=busadwp-bib
+
**{savefile "dates"}
-
  - choose the groups you want to add the collection to in collmgr
+
**save.region.1
-
  - for OAI, choose the oaiall group
+
**/l1/prep/d/dlpscoll/scripts/daterange.pl dates | sort | uniq | more
 +
*go back to the record in collmgr and add:
 +
**minmaxyearstart = [first date]
 +
**minmaxyearend = [last date]
 +
*look at everything at http://[uniqname].dev.umdl.umich.edu/cgi/b/bib/bib-idx?c=busadwp-bib
 +
*choose the groups you want to add the collection to in collmgr
 +
*for OAI, choose the oaiall group
 +
 
 +
[[#top|Top]]

Current revision

Main Page > Mounting Collections: Class-specific Steps > Mounting a Bib Class Collection > UM-specific BibClass Data Processing


  • before anything, ask to have new bib coll authorized: public access and hosted on quod
  • also have stats entry created for new bib coll
  • the xml file should be in /l1/prep/d/dlpscoll/dlpstext/new/ or /l1/prep/d/dlpscoll/dlpsimage/new

or /l1/prep/d/dlpscoll/spotext/new

  • move xml file to /l1/obj/d/dlpscoll
  • on sangria, index the xml file
    • cd /l1/idx/d/dlpscoll
  • cp the bib-sample.dd
    • cp bib-sample.dd busadwp-bib.dd
  • edit busadwp-bib.dd so that /l1/obj/b/bib-sample/bib-sample becomes /l1/obj/d/dlpscoll/busadwp-bib

in the three places it's needed

  • create the init file for this coll
    • cp bib-sample.init busadwp-bib.init
  • find out how big your obj file is
    • ls -la /l1/obj/d/dlpscoll/busadwp-bib.xml
  • index the file
    • xpatbldu -m [x]m -D busadwp-bib.dd
  • where [x] = up to two times the size of the busadwp-bib.xml file, but no more than 75% of the RAM

on the server

    • multirgn -f -D busadwp-bib.dd -t bib-regions.tags
  • add a record in collmgr
    • collectionid = busadwp-bib
    • collname = University of Michigan Business Administration Working Papers
    • appmodule = BibApp
    • browseable = no
    • extendedname = University of Michigan Business Administration Working Papers
    • hold = no
    • homesite = http://quod.lib.umich.edu
    • host = quod.lib.umich.edu
    • locale = en_US.UTF-8
    • map = bib.map
    • objdir = /d/dlpscoll
    • port = 620
    • primaryhref = default
    • primarytitle = text:University of Michigan Business Administration Working Papers
    • querylanguage = xpat
    • rendering = perl
    • secondarytitle = default
    • sortthreshold = 1000
    • subclassmodule = BibClass
    • webdir = /d/dlpscoll/busadwp-bib
    • authsystems = um
    • colldescr = [a description based on the original coll description]
    • dd = /idx/d/dlpscoll/busadwp-bib.dd
    • regionsearch = entire record [and] author [and] title
  • move your index from sangria to clamato and dlps10, and thus production
    • cd /l1/bin/b/bib
    • rdist -f rdist.dlpscoll
  • authorize yourself to look at the collection, before it is officially authorized
    • cd /l1/dev/[uniqname]/cgi/b/bib
  • add busadwp-bib to AUTHZD_COLL
  • create an HTML index page for your collection.
    • cd /l1/dev/[uniqname]/web/d/dlpscoll
    • mkdir busadwp-bib
    • cvs add busadwp-bib
    • cp sample_index.tpl busadwp-bib
    • cd busadwp-bib
    • mv sample_index.tpl index.tpl
  • open the index.tpl file and change the title and h2 tags to reflect the full name
    • of the collection, and add the description from colldescr
    • cvs add index.tpl
    • cvs commit index.tpl
  • update the release script to incorporate these for release.
    • cd /l1/dev/[uniqname]/bin/b/bib
  • add '/web/d/dlpscoll/busadwp-bib' => '-R', # recurse to cvstag.bib
    • cvs commit cvstag.bib
  • find the range of dates in the collection
  • go back to sangria
    • xpatu /l1/idx/d/dlpscoll/busadwp-bib.dd
    • region YR
    • {savefile "dates"}
    • save.region.1
    • /l1/prep/d/dlpscoll/scripts/daterange.pl dates | sort | uniq | more
  • go back to the record in collmgr and add:
    • minmaxyearstart = [first date]
    • minmaxyearend = [last date]
  • look at everything at http://[uniqname].dev.umdl.umich.edu/cgi/b/bib/bib-idx?c=busadwp-bib
  • choose the groups you want to add the collection to in collmgr
  • for OAI, choose the oaiall group

Top

Personal tools