Hardware Reference
In-Depth Information
The calendar, shown in Figure 7-6 , retrieves the Google Calendar information for both the public calendars
and the current user. These are determined from the ical and gcal configuration files held in the user's Minerva
directory, $MINBASE/etc/users/[username]/externa l. The ical file is parsed to look for today's events, while the
gcal file is used to present links to external calendar files. The clock used is a piece of freeware Java, but you can easily
change this to any design that takes your fancy. 6
Figure 7-6. A calendar that extracts personal data from a public site
The applet for cookery information is very simple, because it is a basic lexicon of cooker terms and basic
conversion units, each loaded from a separate file found in warp/conf/cookery . If you plan on building an applet that
is based around static text files, then this is a good starting point.
The contacts applet provides full details of all your friends and relatives and is available on a per-user basis.
Whenever a user is logged in, their contact information is read from the $MINBASE/etc/users/[username]/contacts.xml
file, parsed, and presented in this applet. If they're not logged in, then you will get those belonging to the public user.
Finally, the photo frame applet is unique to the web conduit in Minerva. It reads a list of photographs from
warp/conf/photoframe/photoframe.conf (the images themselves being held in a subdirectory called photos ) and
displays them one at a time, as shown in Figure 7-7 .
3UCHAS http://toki-woki.net/p/scroll-clock ORTHE(4-,CLOCKFROM
http://sgxengine.com/examples/clockface/html5/default.htm
Search WWH ::




Custom Search