Committing the current kpac.xml file.
authorChris Sharp <csharp@georgialibraries.org>
Wed, 4 Jun 2014 18:28:36 +0000 (14:28 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Thu, 6 Nov 2014 17:54:20 +0000 (12:54 -0500)
Open-ILS/examples/kpac.xml

index c6e6ef4..f44f520 100644 (file)
@@ -1,6 +1,6 @@
 <kpac version="1.0" xmlns="http://evergreen-ils.org/spec/OPAC/kpac/v1">
 
-    <!-- 
+    <!--  
     If configured, all searches, including topic searches configured
     below, will be appended with this filter.  The purpose is to restrict 
     all searches within the kpac to a specific collection.    
              For multiple words:  keyword:dog beagle
              For phrase:          keyword:"fourth of july"
              For boolean 'or':    (keyword:dog || keyword:puppy)
+             For multiples, nest the terms:
+                                  ((keyword:dog || keyword:puppy) || keyword:beagle)
              For 'link':          http://www.evergreen.org
         -->
 
         <!-- top-level layout pages -->
 
         <page id="1" columns="4" name="Home" img="/images/home.jpg">
-        <!-- Use type="topic" for top-level categories, type="maintopic" for searches, or type="link" for page links -->
-
+        <!-- Use type="topic" for top-level categories, type="maintopic" for searches, or type="link" for page links --> 
             
+            <cell type="topic">20</cell>
+
             <!-- 
             <cell name="Martin Luther King, Jr. Day" img="cat-mlk.png" type="maintopic">keyword:king martin luther</cell>
-            -->
-
             <cell name="Valentine's Day" img="cat-valentines.png" type="maintopic">keyword:valentine's day</cell> 
-          
-            <!--
-            <cell name="St. Patrick's Day" img="cat-stpatricks.png" type="maintopic">keyword:st. patrick's day</cell>
+            <cell name="St. Patrick's Day" img="cat-stpatricks.png" type="maintopic">keyword:st. patrick's day</cell> 
             <cell name="Easter" img="cat-easter.png" type="maintopic">keyword:easter</cell>
+            -->
+         
             <cell name="4th of July" img="cat-independence.png" type="maintopic">(keyword:independence day || keyword:fourth of july)</cell>
+            
+            <!--
             <cell name="Back to School" img="cat-school.png" type="maintopic">(keyword:back to school || keyword:goes to school)</cell>
             <cell name="Halloween" img="cat-halloween.png" type="maintopic">keyword:halloween</cell> 
             <cell name="Thanksgiving" img="cat-thanksgiving.png" type="maintopic">keyword:thanksgiving</cell>
         <!-- use type="simplesearch" for searches, type="link" for web page links -->
 
         <page id="10" columns="2" name="Transportation" img="cat-truck.png" >
-            <cell name="Cars &amp; Trucks" img="cat-car.png" type="simplesearch">(keyword:car || keyword:truck || keyword: automobile)</cell>
-            <cell name="Planes" img="cat-plane.png" type="simplesearch">keyword:airplane</cell>
+            <cell name="Cars &amp; Trucks" img="cat-car.png" type="simplesearch">((keyword:car || keyword:truck) || keyword: automobile)</cell>
+            <cell name="Planes" img="cat-plane.png" type="simplesearch">(keyword:airplane || keyword:aeroplane)</cell>
             <cell name="Trains" img="cat-train.png" type="simplesearch">(keyword:train || keyword:locomotive)</cell>
             <cell name="Tractors &amp; Construction" img="cat-tractor.png" type="simplesearch">(keyword:tractor || keyword:construction)</cell>
             <cell name="Boats" img="cat-boat.png" type="simplesearch">(keyword:boat || keyword:ship)</cell>
-            <cell name="Military" img="cat-military.png" type="simplesearch">(keyword:tank || keyword:submarine || keyword:aircraft carrier)</cell>
+            <cell name="Military" img="cat-military.png" type="simplesearch">(((keyword:military tank || keyword:submarine) || keyword:aircraft carrier) || keyword:military aircraft)</cell>
         </page> 
 
         <page id="11" columns="2" name="Award-Winners" img="cat-caldecott.png" >
-             <cell name="Caldecott Medal" img="cat-caldecott.png" type="link">https://next.gapines.org/eg/kpac/results?bookbag=153202;locg=1;trail=11</cell>
-             <cell name="Coretta Scott King" img="cat-king.png" type="link">https://next.gapines.org/eg/kpac/results?bookbag=153204;locg=1;trail=11</cell>
-             <cell name="Geisel Award" img="cat-geisel.png" type="link">https://next.gapines.org/eg/kpac/results?bookbag=153203;locg=1;trail=11</cell>
-             <cell name="Newbery Medal" img="cat-newbery.png" type="link">https://next.gapines.org/eg/kpac/results?bookbag=153201;locg=1;trail=11</cell>
-             <cell name="Book Award Winners" img="cat-gcba.png" type="link">https://next.gapines.org/eg/kpac/results?bookbag=153206;locg=1;trail=11</cell>
-             <cell name="Book Award Nominees" img="cat-gcba.png" type="link">https://next.gapines.org/eg/kpac/results?bookbag=154170;locg=1;trail=11</cell>
-             <cell name="Picture Book Winners" img="cat-gcba.png" type="link">https://next.gapines.org/eg/kpac/results?bookbag=153205;locg=1;trail=11</cell>
-             <cell name="Picture Book Nominees" img="cat-gcba.png" type="link">https://next.gapines.org/eg/kpac/results?bookbag=154171;locg=1;trail=11</cell>
+             <cell name="Caldecott Medal" img="cat-caldecott.png" type="link">https://gapines.org/eg/kpac/results?bookbag=153202;locg=1;trail=11</cell>
+             <cell name="Coretta Scott King" img="cat-king.png" type="link">https://gapines.org/eg/kpac/results?bookbag=153204;locg=1;trail=11</cell>
+             <cell name="Geisel Award" img="cat-geisel.png" type="link">https://gapines.org/eg/kpac/results?bookbag=153203;locg=1;trail=11</cell>
+             <cell name="Newbery Medal" img="cat-newbery.png" type="link">https://gapines.org/eg/kpac/results?bookbag=153201;locg=1;trail=11</cell>
+             <cell name="Book Award Winners" img="cat-gcba.png" type="link">https://gapines.org/eg/kpac/results?bookbag=153206;locg=1;trail=11</cell>
+             <cell name="Book Award Nominees" img="cat-gcba.png" type="link">https://gapines.org/eg/kpac/results?bookbag=154170;locg=1;trail=11</cell>
+             <cell name="Picture Book Winners" img="cat-gcba.png" type="link">https://gapines.org/eg/kpac/results?bookbag=153205;locg=1;trail=11</cell>
+             <cell name="Picture Book Nominees" img="cat-gcba.png" type="link">https://gapines.org/eg/kpac/results?bookbag=154171;locg=1;trail=11</cell>
 
         </page>
 
         <page id="12" columns="2" name="Early Learning" img="cat-123.png">
              <cell name="ABCs" img="cat-abc.png" type="simplesearch">(keyword:abc || keyword:alphabet)</cell>
-             <cell name="Counting" img="cat-123.png" type="simplesearch">(keyword:number || keyword:123 || keyword:counting)</cell>
+             <cell name="Counting" img="cat-123.png" type="simplesearch">((keyword:number || keyword:123) || keyword:counting)</cell>
              <cell name="Colors" img="cat-colors.png" type="simplesearch">keyword:colors</cell>
              <cell name="Nutrition" img="cat-nutrition.png" type="simplesearch">((keyword:nutrition || keyword:vitamins) || keyword:healthy food)</cell>
              <cell name="Shapes" img="cat-shapes.png" type="simplesearch">(((keyword:shapes || keyword:circle) || keyword:square) || keyword:triangle)</cell>