Clean up a few more admin files.
[working/Evergreen.git] / 1.6 / admin / serveradministration.xml
index c58e323..ea4af21 100644 (file)
@@ -1716,54 +1716,54 @@ xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:id="serveradministrati
                                Create a marc template in  the directory <filename class="directory">/openils/var/templates/marc/</filename>. It should be in xml format.\r
                                Here is an example file <filename>k_book.xml</filename>: \r
                                </para>\r
-                       <programlisting language="xml">\r
-                       <![CDATA[\r
-                       <record>\r
-                         <leader>00620cam a2200205Ka 4500</leader>\r
-                         <controlfield tag="008">070101s                            eng d</controlfield>\r
-                         <datafield tag="010" ind1="" ind2="">\r
-                           <subfield code="a"></subfield>\r
-                         </datafield>\r
-                         <datafield tag="020" ind1="" ind2="">\r
-                           <subfield code="a"></subfield>\r
-                         </datafield>\r
-                         <datafield tag="082" ind1="0" ind2="4">\r
-                           <subfield code="a"></subfield>\r
-                         </datafield>\r
-                         <datafield tag="092" ind1="" ind2="">\r
-                           <subfield code="a"></subfield>\r
-                         </datafield>\r
-                         <datafield tag="100" ind1="" ind2="">\r
-                           <subfield code="a"></subfield>\r
-                         </datafield>\r
-                         <datafield tag="245" ind1="" ind2="">\r
-                           <subfield code="a"></subfield>\r
-                           <subfield code="b"></subfield>\r
-                           <subfield code="c"></subfield>\r
-                         </datafield>\r
-                         <datafield tag="260" ind1="" ind2="">\r
-                           <subfield code="a"></subfield>\r
-                           <subfield code="b"></subfield>\r
-                           <subfield code="c"></subfield>\r
-                         </datafield>\r
-                         <datafield tag="300" ind1="" ind2="">\r
-                           <subfield code="a"></subfield>\r
-                           <subfield code="b"></subfield>\r
-                           <subfield code="c"></subfield>\r
-                         </datafield>\r
-                         <datafield tag="500" ind1="" ind2="">\r
-                           <subfield code="a"></subfield>\r
-                         </datafield>\r
-                         <datafield tag="650" ind1="" ind2="">\r
-                           <subfield code="a"></subfield>\r
-                           <subfield code="v"></subfield>\r
-                         </datafield>\r
-                         <datafield tag="650" ind1="" ind2="">\r
-                           <subfield code="a"></subfield>\r
-                         </datafield>\r
-                       </record>\r
-                       ]]>\r
-                       </programlisting>\r
+<programlisting language="xml">\r
+<![CDATA[\r
+<record>\r
+  <leader>00620cam a2200205Ka 4500</leader>\r
+  <controlfield tag="008">070101s                            eng d</controlfield>\r
+  <datafield tag="010" ind1="" ind2="">\r
+    <subfield code="a"></subfield>\r
+  </datafield>\r
+  <datafield tag="020" ind1="" ind2="">\r
+    <subfield code="a"></subfield>\r
+  </datafield>\r
+  <datafield tag="082" ind1="0" ind2="4">\r
+    <subfield code="a"></subfield>\r
+  </datafield>\r
+  <datafield tag="092" ind1="" ind2="">\r
+    <subfield code="a"></subfield>\r
+  </datafield>\r
+  <datafield tag="100" ind1="" ind2="">\r
+    <subfield code="a"></subfield>\r
+  </datafield>\r
+  <datafield tag="245" ind1="" ind2="">\r
+    <subfield code="a"></subfield>\r
+    <subfield code="b"></subfield>\r
+    <subfield code="c"></subfield>\r
+  </datafield>\r
+  <datafield tag="260" ind1="" ind2="">\r
+    <subfield code="a"></subfield>\r
+    <subfield code="b"></subfield>\r
+    <subfield code="c"></subfield>\r
+  </datafield>\r
+  <datafield tag="300" ind1="" ind2="">\r
+    <subfield code="a"></subfield>\r
+    <subfield code="b"></subfield>\r
+    <subfield code="c"></subfield>\r
+  </datafield>\r
+  <datafield tag="500" ind1="" ind2="">\r
+    <subfield code="a"></subfield>\r
+  </datafield>\r
+  <datafield tag="650" ind1="" ind2="">\r
+    <subfield code="a"></subfield>\r
+    <subfield code="v"></subfield>\r
+  </datafield>\r
+  <datafield tag="650" ind1="" ind2="">\r
+    <subfield code="a"></subfield>\r
+  </datafield>\r
+</record>\r
+]]>\r
+</programlisting>\r
        \r
                        </step>\r
                        <step>\r
@@ -1772,7 +1772,7 @@ xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:id="serveradministrati
                        </step>\r
                        <step>\r
                                <para>Restart <systemitem class="service">Perl</systemitem><indexterm><primary>Perl</primary></indexterm> services for changes to take effect.</para>\r
-                               <screen><userimput>/openils/bin/osrf_ctl.sh -l -a restart_perl</userimput></screen>\r
+                               <screen><userinput>/openils/bin/osrf_ctl.sh -l -a restart_perl</userinput></screen>\r
                        </step>\r
                </procedure>\r
        </section>\r
@@ -2011,47 +2011,47 @@ xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:id="serveradministrati
                                <step>\r
                                        <para>Clone the title|proper index to create a keyword|title index</para>\r
                                        <para>6 = the title|proper index</para>\r
-                                       <programlisting>\r
-                                       INSERT INTO config.metabib_field \r
-                                               (field_class, name, xpath, weight, format, search_field, facet_field)\r
-                                               SELECT 'keyword', 'title', xpath, weight, format, search_field, facet_field\r
-                                               FROM config.metabib_field\r
-                                               WHERE id = 6;\r
-                                       </programlisting>\r
+<programlisting>\r
+INSERT INTO config.metabib_field \r
+       (field_class, name, xpath, weight, format, search_field, facet_field)\r
+       SELECT 'keyword', 'title', xpath, weight, format, search_field, facet_field\r
+       FROM config.metabib_field\r
+       WHERE id = 6;\r
+</programlisting>\r
                                </step>\r
                                <step>\r
                                        <para>Populate the keyword|title index with a set of index entries cloned from the metabib.title_field_entry table;</para>\r
                                        <para>6 = the title|proper index</para>\r
-                                       <programlisting>\r
-                                       INSERT INTO metabib.keyword_field_entry \r
-                                               (source, field, value)\r
-                                               SELECT source, 17, value (the field value, 17, field be different in your database so you may need to check the \r
-                                               <link linkend="config.metabib_field">config.metabib_field</link> for the id of your new index).\r
-                                               FROM metabib.title_field_entry\r
-                                               WHERE field = 6;\r
-                                       </programlisting>\r
+<programlisting>\r
+INSERT INTO metabib.keyword_field_entry \r
+       (source, field, value)\r
+       SELECT source, 17, value (the field value, 17, field be different in your database so you may need to check the \r
+       <link linkend="config.metabib_field">config.metabib_field</link> for the id of your new index).\r
+       FROM metabib.title_field_entry\r
+       WHERE field = 6;\r
+</programlisting>\r
                                </step>\r
                                <step> \r
                                        <para>Bump the relevance when the first search term appears first in the title in a keyword search.</para>\r
                                        <para>17 = our new keyword|title index (This may be different in your database so you may need to check the \r
                                        <link linkend="config.metabib_field">config.metabib_field</link> for the id \r
                                        of your new index).</para>\r
-                                       <programlisting>\r
-                                       INSERT INTO search.relevance_adjustment \r
-                                               (active, field, bump_type, multiplier)\r
-                                       VALUES (true, 17, 'first_word', 5); \r
-                                       </programlisting>\r
+<programlisting>\r
+INSERT INTO search.relevance_adjustment \r
+       (active, field, bump_type, multiplier)\r
+VALUES (true, 17, 'first_word', 5); \r
+</programlisting>\r
                                </step>\r
                                <step>\r
                                        <para>Boost the relevance for search terms appearing in the title in general</para>\r
                                        <para>17 = our new keyword|title index (This may be different in your database so you may need to check the \r
                                        <link linkend="config.metabib_field">config.metabib_field</link> for the id \r
                                        of your new index).</para>\r
-                                       <programlisting>\r
-                                       UPDATE config.metabib_field\r
-                                       SET weight = 10\r
-                                       WHERE id = 17;\r
-                                       </programlisting>\r
+<programlisting>\r
+UPDATE config.metabib_field\r
+SET weight = 10\r
+WHERE id = 17;\r
+</programlisting>\r
                                </step>\r
                        </procedure>  \r
                </simplesect> \r