The best way to learn how to use the WebCore is by example. See the documentation for more information.

The requested URL is always shown first; if a page uses one or more WebCore templates, those are shown afterwards.

00 <?php
01   include_once ('webcore/init.php');
02  
03   $Page->template_options->title = "Oz";
04   $Page->title->subject = "Care and Feeding";
05   $Page->location->add_root_link ();
06   $Page->location->append ("Oz", "./");
07   $Page->location->append ("Care and Feeding");
08  
09   $Page->start_display ();
10 ?>
11 <div class="main-box text-flow">
12   <p>I don't need a lot of maintenance. When necessary, I can go for days at a time in my cage.
13   I love it. It's just as much fun as having the run of the entire apartment or an outdoor deck.
14   Why? Because I get a little 'me' time. A little time to kick back and get re-acquainted with myself.
15   Find out who I really am. So, no matter how desperate I look, no matter how many physical indications
16   I give that I'd like to be free, it's not necessary. Really.</p>
17   <h2>Food</h2>
18   <p>Ok, on to food. I am not a very good judge of when and how much I should eat. If you ask me,
19   I should eat all of the time and I act like I haven't eaten in a month. It's best to stick to a schedule.</p>
20   <table class="basic columns left-labels">
21     <tr>
22       <th>Morning</th>
23       <td>(when you get up)</td>
24       <td><span class="field">1</span> vegetable*, <span class="field">1</span>
25         grain** </td>
26     </tr>
27     <tr>
28       <th>Night</th>
29       <td>(when you eat dinner)</td>
30       <td><span class="field">1</span> vegetable*, <span class="field">1</span> grain**</td>
31     </tr>
32     <tr>
33       <th>Evening</th>
34       <td>(when you go to bed)</td>
35       <td><span class="field">1/4 - 1/3</span> bowl vittles</td>
36     </tr>
37   </table>
38   <p>*vegetable means anything that's not iceberg lettuce or banana. If I'm
39     not eating it, try something else. I generally take longer to eat carrots
40     because I'm waiting for something candy-ish, like grapes or apples, to
41     show up. I eat lettuce gladly, but it should be a medium green. Dark green
42     has a lot of calcium, which I'm horrible at processing. Light green has
43     too much water, which I'm also horrible at processing. A leaf will do.
44     For carrots or apples, a piece about the size of your thumb will do. Reduce
45     if I'm fussy.</p>
46   <p>**grain means anything crunchy, preferably with seeds and a surface that
47     makes it easy to make an entire apartment aware that I'm eating. Loud
48     is good. Bread is manna from heaven, but I shouldn't get too much of that.
49     In this new country, there are these nice Blevita crackers that I'm fond
50     of. Blue ones only please. I will easily be able to outlast your patience
51     if you try to feed my green (Leinsam) ones.</p>
52   <p>If at any feeding time, I've finished all of my hay (or scattered it
53     to the corners of my cage into obviously unconsumable piles), a handful
54     will do me just fine. If you want to give me a treat, you can drop in
55     some lettuce or parsley. Do not give me iceberg lettuce. That will make
56     cleaning a necessity rather than something that can be overlooked until
57     my owners get back.</p>
58   <p>I am forced to note that my meals can be postponed. I won't starve to death. I'll be grumpy, but
59    only until you produce some food. So don't worry if you're late or miss.</p>
60   <p>If I don't eat a lot, don't worry about it. Give me a little less the next time (reduce to 1 carrot,
61    perhaps). Clear away older food so I don't eat bad food.</p>
62   <h2>Water</h2>
63   <p>I prefer fresh water every night, but it's not absolutely necessary. Always dump all of the water
64    out and then refill. You don't have to rinse the bottle. Once you fill it, turn it upside down over
65    the sink, so the nozzle has a chance to seal and stop dripping. Give it a shake if it won't stop.</p>
66   <h2>Cleaning</h2>
67   <p>For a stay of a few nights, it's not necessary to clean my cage. The litter box should easily last
68    those few days. However, I sometimes make a mess in my cage when I feel that the world has wronged me.
69    I am forced to admit that since this is my own fault, you are under no obligation to clean it up for me.
70    If I miss my litter box, it's nice if you can get it for me so I don't step on it or make further messes.</p>
71   <h2>Exercise</h2>
72   <p>For a stay of a few days, I will not atrophy if I stay in the cage the entire time. I really should not be
73    let out of the cage at all (especially by amateurs who will cause themselves severe head injuries when attempting
74     to catch me). No matter how much I beg, don't give in.</p>
75   <p>I will stand up inside the cage when you've opened it, but I will not make any attempts to get out if there
76    is someone in the room. Do not leave the top open when leaving the room. If I get out, I will show no mercy
77    to any power cords and I love to chew old things. Like books. Especially old, dusty ones.</p>
78   <h2>Housing</h2>
79   <p>I come with my own house and should be stored somewhere cool. 80&deg;F is not too hot, it's fine. Do not
80    store me in direct sunlight. Again, a few days is no big deal, so don't feel like you have to put me outside
81    or anything.</p>
82   <h2>Brushing</h2>
83   <p>This is totally optional, but sometimes I shed. Especially when I'm nervous. If I look a little scruffy,
84     just run a brush down each side. That should take care of it for a bit. Just the back and sides, and maybe
85     the forehead. No belly. No armpits. I won't find that amusing at all.</p>
86   <h2>Attention</h2>
87   <p>I like as much as I can get. I won't suffer if I don't get it, but I will get cranky.</p>
88 </div>
89 <?php $Page->finish_display (); ?>
90
91