]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/examples/kpac.xml.example
LP#1830394: remove console noise from the holdings editor
[working/Evergreen.git] / Open-ILS / examples / kpac.xml.example
1 <kpac version="1.0" xmlns="http://evergreen-ils.org/spec/OPAC/kpac/v1">
2
3     <!-- 
4     If configured, all searches, including topic searches configured
5     below, will be appended with this filter.  The purpose is to restrict 
6     all searches within the kpac to a specific collection.
7
8     <global_filter>audience(a,b,c,d,j)</global_filter>
9     -->
10
11     <pages>
12         <!-- top-level layout pages -->
13         <page id="1" columns="5" name="Home" img="/images/home.jpg">
14             <cell type="topic">10</cell>
15             <cell type="topic">11</cell>
16             <cell type="topic">12</cell>
17             <cell type="topic">13</cell>
18             <cell type="topic">14</cell>
19             <cell type="topic">15</cell>
20             <cell type="topic">16</cell>
21             <cell type="topic">17</cell>
22             <cell type="topic">18</cell>
23             <cell type="topic">19</cell>
24         </page>
25
26         <!-- sample alternate layout -->
27         <page id="23" columns="3" name="ABC Home" img="/images/abc-logo.jpg">
28             <cell type="topic">11</cell>
29             <cell type="topic">10</cell>
30             <cell type="topic">12</cell>
31         </page>
32
33         <!-- topic pages -->
34         <page id="10" columns="3" name="Musical Instruments" img="category.png">
35             <cell name="Piano"    img="category.png" type="search">su:piano</cell>
36             <cell name="Guitar"   img="category.png" type="search">su:guitar</cell>
37             <cell name="Trumpet"  img="category.png" type="search">su:trumpet</cell>
38             <cell name="Drums"    img="category.png" type="search">su:drums</cell>
39             <cell name="Bass"     img="category.png" type="search">su:bass</cell>
40             <cell name="Clarinet" img="category.png" type="link">http://en.wikipedia.org/wiki/Clarinet</cell>
41         </page>
42         <page id="11" columns="3" name="Current Events" img="category.png">
43             <cell name="Entertainment"  img="category.png" type="search">su:entertainment sort(pubdate)#descending</cell>
44             <cell name="Politics"       img="category.png" type="search">su:politics sort(pubdate)#descending</cell>
45             <cell name="Economy"        img="category.png" type="search">su:economy sort(pubdate)#descending</cell>
46         </page>
47         <page id="12" columns="3" name="Programming" img="category.png"/>
48         <page id="13" columns="3" name="It's Alive!" img="category.png"/>
49         <page id="14" columns="3" name="Book Series" img="category.png"/>
50         <page id="15" columns="3" name="Book Series" img="category.png"/>
51         <page id="16" columns="3" name="Book Series" img="category.png"/>
52         <page id="17" columns="3" name="Book Series" img="category.png"/>
53         <page id="18" columns="3" name="Book Series" img="category.png"/>
54         <page id="19" columns="3" name="Book Series" img="category.png"/>
55     </pages>
56
57     <layout owner="1" page="1"/>
58     <layout owner="213" page="23"/>
59 </kpac>
60 <!-- vim: set ft=xml: -->