Mac OS X ServerExtending Your Wiki ServerFor Version 10.5 Leopard
Wireframe Theme File Structure OverviewThe wireframe theme is a good example theme to customize, because unlike the other built-in themes, its CSS le
Chapter 1 Customizing How the Wiki Looks 11File or Folder Name Purposescreen/calendar.css Sets the colors for the web calendar.screen/comments.c
Creating a ThemeThe easiest way to create a theme is to take the existing wireframe theme, make a copy of it with permissions intact, and then customi
Chapter 1 Customizing How the Wiki Looks 13 6 Restart the web service by doing one of the following:Restart the server. ÂIn Server Preferences,
Here are some published CSS guides: Â CSS: The Denitive Guide, 3rd Edition, by Eric Meyer. O’Reilly Media, Inc. 2006. Â CSS Mastery: Advanced Web St
Chapter 1 Customizing How the Wiki Looks 15Property List Editor doesn’t show comments, so if you want to see the example sidebars provided in th
Here is the sidebars array in a plain text editor:<key>sidebars</key><array> <dict> sidebar keys and values </
Chapter 1 Customizing How the Wiki Looks 17Changing General Theme SettingsThe wireframe theme’s theme.plist includes keys and values for the fol
Creating SidebarsIf you haven’t created a sidebar before, it might be easier to customize an example sidebar to suit your needs.In the wireframe theme
Chapter 1 Customizing How the Wiki Looks 19Static Unique KeysStatic sidebars list predened URLs. “Useful Links” is an example static sidebar.St
© 2008 Apple Inc. All rights reserved. KThe owner or authorized user of a valid copy of Mac OS X Server software may reproduce this publication for th
Key Example Value Possible Values Optional or Required Descriptionsnippet Click here to see your server’s homepage.Any string Optional Used for the li
Chapter 1 Customizing How the Wiki Looks 21Key Example Value Possible Values Optional or Required Descriptionsort modiedDate, createdDate, titl
Tag Unique KeysTag sidebars list wiki, blog, and mailing list entries that use a specic tag or set of tags. The most recently modied entries are lis
Chapter 1 Customizing How the Wiki Looks 23Using the Example SidebarsThe wireframe theme’s theme.plist le includes several sidebar examples. Al
5 For each sidebar that you want to comment out, do the following: a Add <!-- before the <dict> tag of the sidebar you want to comment out
Chapter 1 Customizing How the Wiki Looks 25Adding JavaScript and XSL FilesThe wiki server supports the use of custom JavaScript and Extensible S
2 Restart the web service by doing one of the following:Restart the server. ÂIn Server Preferences, click Web, move the slider to O, and then to On
Chapter 1 Customizing How the Wiki Looks 27JavaScript ExampleThe following example JavaScript function adds a header link next to the magnier b
28 Chapter 1 Customizing How the Wiki LooksIf you edit a copy of the default.xsl le, you must also make copies of all of the XSL les that in
Chapter 1 Customizing How the Wiki Looks 29 3 Restart the web service by doing one of the following:Restart the server. ÂIn Server Preferences,
5 Preface: About This Guide5 Getting Additional Information7 Chapter 1: Customizing How the Wiki Looks7 Theme File Structure Overview9 Variant
30 This chapter describes how to enable specic protocols, CSS styles, and HTML tags and attributes.The default wiki server setup simplies adminis
Chapter 2 Allowing Specic Protocols, CSS Styles, and HTML Tags and Attributes 31Creating a Custom WhitelistTo create a custom whitelist, create
About the Custom Whitelist’s StructureThe following lines are required in the custom whitelist:<?xml version="1.0" encoding="UTF-8&q
Chapter 2 Allowing Specic Protocols, CSS Styles, and HTML Tags and Attributes 33For example, to allow the use of the font-size style attribute,
<array> <string>src</string> <string>type</string> <string>width</string> &l
Chapter 2 Allowing Specic Protocols, CSS Styles, and HTML Tags and Attributes 35ProtocolteltelnetvncwebcalxmppCSS Styles Allowed in the Built-i
Tag Attributesnodeolppreq citespanstrongtabletbodytfootth colspan, rowspantheadtd colspan, rowspantruul 36 Chapter 2 Allowing Specic Protocols
37This chapter describes how to manage wiki content using tools and the command-line.Using tools and the command line allows you to migrate, bac
To manually back up the wiki, copy the wiki data store with its permissions intact. For example, to copy the wiki data store to a folder on a dierent
Chapter 3 Managing Wiki Content 39Wiki File Structure OverviewBy default, the wiki server stores group wikis in /Library/Collaboration/Groups/.T
37 Chapter 3: Managing Wiki Content37 Migrating Wiki Content From Other Websites37 Backing Up the Wiki Server39 Wiki File Structure Overview40 M
The Groups folder in the wiki data store includes the following critical wiki les and folders:File or Folder Name Purposegroup_name/ Enabling web ser
Chapter 3 Managing Wiki Content 41For more information about AtomPub, see:Website URLRFC 4287: The Atom Syndication Format atompub.org/rfc4287.h
The metadata.plist le includes the following keys:Key Example Value DescriptionGUID 28CC6BE9-11C1-456C-A3B2-8FCF5520A1DB Uniquely identies the wiki.
Chapter 3 Managing Wiki Content 43To manually edit wiki administration settings: 1 Stop the web service by doing one of the following:In Server
6 Start the web service by doing one of the following:In Server Preferences, click Web and move the slider to On. ÂIn Server Admin, open the disclos
Key Example Value Descriptiontombstoned <true/>, <false/> Originally set to false, this is set to true when a page is temporarily deleted.
5This guide explains how to create custom themes, allow specic protocols, CSS styles, and HTML tags and attributes, and manage wiki content.The
6 Preface About This GuideFor information about administering wikis, see Directory Help. You can view Directory Help by opening Directory (loc
7This chapter describes how to customize a wiki’s appearance.You can use a wiki’s admin settings to do the following:Change the wiki’s title ÂCh
However, CSS les located in individual theme folders take precedence and override the settings in this folder.Individual theme folders are subfolders
Chapter 1 Customizing How the Wiki Looks 9Variant Theme File Structure OverviewPrebuilt themes have several variants, which all share the same l
Komentáře k této Příručce