Specifications

To view context:
1 Create a plain text le with the following content:
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output
method="html"
version="1.0"
encoding="UTF-8"
indent="yes"
doctype-public="-//W3C//DTD HTML 4.01//EN"
doctype-system="http://www.w3.org/TR/html4/strict.dtd"/>
<xsl:template match="page">
<xsl:copy-of select="context"/>
</xsl:template>
</xsl:stylesheet>
2 Save the le in this location:
/Library/Application Support/Apple/WikiServer/Themes/theme_name/
Use the same lename as any of the XSL les located in:
/usr/share/wikid/lib/apple_templates/
Choose a lename based on the page with the context you want to view. For
example, to view the context for the groups wiki homepage, change the lename to
grouphome.xsl.
3 Restart web service.
For more information, see “Starting Up Web Service” on page 23.
4 In a web browser, load a page that uses the XSL le, and then view the page’s source.
To view a page’s source in Safari, load the page and choose View > View Source.
Customizing My Page
Similar to customizing wikis by applying themes, you can customize the theme for
My Page or change text on My Page without applying a theme.
Changing Text Shown in Wikis and Blogs Lists
You can change text found in the wikis and blogs lists on My Page without editing
a theme. This text appears in the sidebar at the right of the lists.
52 Chapter 3 Customizing How the Wiki Looks