</para> \r
<screen>\r
<userinput>\r
-export PATH=[<emphasis class="italic">path to Evergreen</emphasis>]/Open-ILS/src/extras/import:/[<emphasis class="italic">path to migration-tools</emphasis>]/migration-tools:$PATH:.\r
-export PERL5LIB=/openils/lib/perl5:/[<emphasis class="italic">path to migration-tools directory</emphasis>]/migration-tools/Equinox-Migration/lib\r
+export PATH=[<emphasis class="italic">path to Evergreen</emphasis>]/Open-ILS/src/extras/import: \\r
+/[<emphasis class="italic">path to migration-tools</emphasis>]/migration-tools:$PATH:.\r
+export PERL5LIB=/openils/lib/perl5: \\r
+/[<emphasis class="italic">path to migration-tools directory</emphasis>]/migration-tools/Equinox-Migration/lib\r
</userinput>\r
</screen>\r
</step>\r
have existing bibliographic records in your system previously imported:</para>\r
<screen>\r
<userinput>\r
-fingerprinter -o production.fp -x production.fp.ex --marctype=MARC21 existing_marc_records.mrc --tag=901 --subfield=c\r
+fingerprinter -o production.fp -x production.fp.ex --marctype=MARC21 existing_marc_records.mrc \\r
+--tag=901 --subfield=c\r
</userinput>\r
</screen>\r
<para><systemitem>fingerprinter</systemitem> is used for deduplification of the incumbant records.</para>\r
<para>Extract all of the currently used TCN's an generate the .bre and .ingest files to prepare for the bibliographic record load.</para>\r
<screen>\r
<userinput>\r
-psql -U evergreen -c "select tcn_value from biblio.record_entry where not deleted" | perl -npe 's/^\s+//;' > used_tcns\r
-marc2bre.pl --idfield 903 [--startid=#] --marctype=XML -f final.xml --used_tcn_file=used_tcns > evergreen_bre_import_file.bre\r
+psql -U evergreen -c "select tcn_value from biblio.record_entry where not deleted" \\r
+| perl -npe 's/^\s+//;' > used_tcns\r
+marc2bre.pl --idfield 903 [--startid=#] --marctype=XML -f final.xml \\r
+--used_tcn_file=used_tcns > evergreen_bre_import_file.bre\r
</userinput>\r
</screen>\r
<note>\r
\r
<emphasis class="bold">TRUNCATE TABLE staging_items;</emphasis>\r
\r
-<emphasis class="bold">INSERT INTO staging_items (</emphasis>egid, hseq, l_call_num, l_barcode, l_location, l_owning_lib, l_circ_modifier <emphasis>FROM stdin;</emphasis> \r
+<emphasis class="bold">INSERT INTO staging_items (</emphasis>egid, hseq, l_call_num, l_barcode, \r
+l_location, l_owning_lib, l_circ_modifier <emphasis>FROM stdin;</emphasis> \r
40 0 HD3616.K853 U54 1997 30731100751928 STACKS FENNELL BOOK\r
41 1 HV6548.C3 S984 1998 30731100826613 STACKS FENNELL BOOK\r
41 2 HV6548.C3 S984 1998 30731100804958 STACKS BRANTFORD BOOK\r
JOIN asset.call_number AS acn ON acn.record-bre.id \r
WHERE bre.deleted='false' and ownling_lib=101 \g /home/opensrf/records.txt;\r
</programlisting>\r
- <para>This query will create a file called <filename>ids.txt</filename> containing a column of distinct ids of items owned by the organizational unit with the \r
- <table class="field">id</table> <literal>101</literal>.</para>\r
+ <para>This query will create a file called <filename>records.txt</filename> containing a column of distinct ids of items owned by the organizational unit with the \r
+ <database class="field">id</database> <literal>101</literal>.</para>\r
</step>\r
<step>\r
<para>Navigate to the support-scripts folder</para>\r
<step>\r
<para>Run <command>marc_export</command>, using the id file you created in step 1 to define which files to export.</para>\r
<screen>\r
-<userinput>cat /home/opensrf/records.txt | ./marc_export -i -c /openils/conf/opensrf_core.xml -x /openils/conf/fm_IDL.xml -f XML --timeout 5 > exported_files.xml\r
+<userinput>cat /home/opensrf/records.txt | ./marc_export -i -c /openils/conf/opensrf_core.xml \\r
+-x /openils/conf/fm_IDL.xml -f XML --timeout 5 > exported_files.xml\r
</userinput>\r
</screen>\r
<para>The example above export the records into MARCXML format.</para>\r
</itemizedlist>\r
</para> \r
<screen>\r
-<userinput>\r
-export PATH=[<emphasis class="italic">path to Evergreen</emphasis>]/Open-ILS/src/extras/import:/[<emphasis class="italic">path to migration-tools</emphasis>]/migration-tools:$PATH:.\r
-export PERL5LIB=/openils/lib/perl5:/[<emphasis class="italic">path to migration-tools directory</emphasis>]/migration-tools/Equinox-Migration/lib\r
+<userinput>export PATH=[<emphasis class="italic">path to Evergreen</emphasis>]/Open-ILS/src/extras/import: \\r
+/[<emphasis class="italic">path to migration-tools</emphasis>]/migration-tools:$PATH:.\r
+export PERL5LIB=/openils/lib/perl5: \ \r
+/[<emphasis class="italic">path to migration-tools</emphasis>/Equinox-Migration/lib\r
</userinput>\r
</screen>\r
</step>\r
have existing bibliographic records in your system previously imported:</para>\r
<screen>\r
<userinput>\r
-fingerprinter -o production.fp -x production.fp.ex --marctype=MARC21 existing_marc_records.mrc --tag=901 --subfield=c\r
+fingerprinter -o production.fp -x production.fp.ex --marctype=MARC21 existing_marc_records.mrc \\r
+--tag=901 --subfield=c\r
</userinput>\r
</screen>\r
<para><systemitem>fingerprinter</systemitem> is used for deduplification of the incumbant records.</para>\r
<para>Extract all of the currently used TCN's an generate the .bre and .ingest files to prepare for the bibliographic record load.</para>\r
<screen>\r
<userinput>\r
-psql -U evergreen -c "select tcn_value from biblio.record_entry where not deleted" | perl -npe 's/^\s+//;' > used_tcns\r
-marc2bre.pl --idfield 903 [--startid=#] --marctype=XML -f final.xml --used_tcn_file=used_tcns > evergreen_bre_import_file.bre\r
+psql -U evergreen -c "select tcn_value from biblio.record_entry where not deleted" \\r
+| perl -npe 's/^\s+//;' > used_tcns\r
+marc2bre.pl --idfield 903 [--startid=#] --marctype=XML -f final.xml \\r
+--used_tcn_file=used_tcns > evergreen_bre_import_file.bre\r
</userinput>\r
</screen>\r
<note>\r
\r
<emphasis class="bold">TRUNCATE TABLE staging_items;</emphasis>\r
\r
-<emphasis class="bold">INSERT INTO staging_items (</emphasis>egid, hseq, l_call_num, l_barcode, l_location, l_owning_lib, l_circ_modifier <emphasis>FROM stdin;</emphasis> \r
+<emphasis class="bold">INSERT INTO staging_items (</emphasis>egid, hseq, l_call_num, l_barcode, l_location, \r
+l_owning_lib, l_circ_modifier <emphasis>FROM stdin;</emphasis> \r
40 0 HD3616.K853 U54 1997 30731100751928 STACKS FENNELL BOOK\r
41 1 HV6548.C3 S984 1998 30731100826613 STACKS FENNELL BOOK\r
41 2 HV6548.C3 S984 1998 30731100804958 STACKS BRANTFORD BOOK\r
JOIN asset.call_number AS acn ON acn.record-bre.id \r
WHERE bre.deleted='false' and ownling_lib=101 \g /home/opensrf/records.txt;\r
</programlisting>\r
- <para>This query will create a file called <filename>ids.txt</filename> containing a column of distinct ids of items owned by the organizational unit with the \r
- <table class="field">id</table> <literal>101</literal>.</para>\r
+ <para>This query will create a file called <filename>records.txt</filename> containing a column of distinct ids of items owned by the organizational unit with the \r
+ <database class="field">id</database> <literal>101</literal>.</para>\r
</step>\r
<step>\r
<para>Navigate to the support-scripts folder</para>\r
<step>\r
<para>Run <command>marc_export</command>, using the id file you created in step 1 to define which files to export.</para>\r
<screen>\r
-<userinput>cat /home/opensrf/records.txt | ./marc_export -i -c /openils/conf/opensrf_core.xml -x /openils/conf/fm_IDL.xml -f XML --timeout 5 > exported_files.xml\r
+<userinput>cat /home/opensrf/records.txt | ./marc_export -i -c /openils/conf/opensrf_core.xml \\r
+-x /openils/conf/fm_IDL.xml -f XML --timeout 5 > exported_files.xml\r
</userinput>\r
</screen>\r
<para>The example above export the records into MARCXML format.</para>\r
<title>Introduction</title>\r
</info>\r
<xi:include href="intro/intro_intro.xml"/>\r
+ <xi:include href="intro/about_evergreen.xml"/>\r
<xi:include href="intro/releasenotes.xml"/>\r
</part>\r
<part xml:id="opac">\r
~/doctools/fop/fop -fo pdf/temp.fo -pdf /openils/var/web/evergreen_documentation/2.0/draft/pdf/Evergreen_Documentation.pdf
# remove temporary .fo file
-rm pdf/temp.fo
+#rm pdf/temp.fo
#generate 1.6 draft html
# xsltproc --xinclude --stringparam base.dir /openils/var/web/evergreen_documentation/1.6/draft/html/ ~/Evergreen-DocBook/stylesheets/evergreen_docbook_files/evergreen_xhtml.xsl ~/Evergreen-DocBook/1.6/root.xml
~/doctools/fop/fop -fo pdf/temp.fo -pdf /openils/var/web/evergreen_documentation/2.0/draft/pdf/Evergreen_Documentation.pdf
# remove temporary .fo file
-rm pdf/temp.fo
+# rm pdf/temp_2.0.fo
#generate 1.6 draft html
xsltproc --xinclude --stringparam base.dir /openils/var/web/evergreen_documentation/1.6/draft/html/ ~/Evergreen-DocBook/stylesheets/evergreen_docbook_files/evergreen_xhtml.xsl ~/Evergreen-DocBook/1.6/root.xml
~/doctools/fop/fop -fo pdf/temp.fo -pdf /openils/var/web/evergreen_documentation/1.6/draft/pdf/Evergreen_Documentation.pdf
# remove temporary .fo file
-rm pdf/temp.fo
+# rm pdf/temp.fo