Apple Computer Hardware manual Metadata.plist file includes the following keys

Page 42

The metadata.plist file includes the following keys:

Key

Example Value

Description

GUID

28CC6BE9-11C1-456C-A3B2-8FCF5520A1DB

Uniquely identifies the wiki.

 

 

This value must correspond to the group

 

 

record’s GUID in the directory domain.

 

 

To view a group record's GUID, use

 

 

Workgroup Manager. For more

 

 

information, see User Management at

 

 

www.apple.com/server/macosx/resources/.

 

 

 

LongName

Wiki Name

Name of the wiki. By default, this name is

 

 

displayed in the top left of every wiki page.

 

 

 

allowComments

<true/>, <false/>

Set to true if comments are allowed.

 

 

 

allowUnauthenticatedComments

<true/>, <false/>

Set to true if comments from anyone are

 

 

allowed. Set to false if only comments from

 

 

authenticated users are allowed.

 

 

 

allowUnmoderatedComments

<true/>, <false/>

Set to true if comments from authenticated

 

 

users are unmoderated.

 

 

 

allowUnmoderatedUnauthenticatedComments

<true/>, <false/>

Set to true if comments from unauthenticated

 

 

users are unmoderated

 

 

 

bannerImage

/groups/group_name/public/image_filename

Path to the banner image.

 

 

 

indexVersion

2

Don’t change this value.

 

 

 

name

group_name

Short name of the group.

 

 

 

podcastCategory

Sports, Music

Name of the podcast category.

 

 

 

podcastEnabled

<true/>, <false/>

Set to true if podcasts are enabled.

 

 

 

sidebars

An array

Contains custom sidebar settings.

 

 

For more information about setting up

 

 

sidebars, see “Creating Sidebars,” on page 18.

 

 

 

themeName

com.apple.block.green.banner

Set to the unique identifier of the theme.

 

 

 

Use the admin settings page to change these settings instead of manually editing the metadata.plist file. If you manually edit the file, you’ll first need to stop web service or your changed settings will be automatically overwritten.

42

Chapter 3    Managing Wiki Content

Image 42
Contents Mac OS X Server 019-1252/2008-04-24 Contents Managing Wiki Content Getting Additional Information PrefacePreface About This Guide This chapter describes how to customize a wiki’s appearance Theme File Structure OverviewCustomizing How the Wiki Looks Variant Theme File Structure Overview Wireframe Theme File Structure Overview File or Folder Name PurposeBorders, and positioning for comment entry Terminal, enter the following commands Creating a ThemeEditing CSS Files WebsiteEditing Property List Files About Property List EditorAbout Strings About Property List FilesAbout Property List Keys and Values About DictionariesHere is an example of an array with a single string About ErrorsHere is the sidebars array in a plain text editor Here is an example of an array with multiple stringsChanging General Theme Settings Key Default Value Possible ValuesDescription Shared Keys Creating SidebarsUnderstanding the Types of Sidebars All sidebars require the following keysStatic Unique Keys Each dictionary entry has the following keysKey Example Value Possible Values Optional or Required Search Unique Keys Calendar Unique Keys Recent Activity Unique Keys Overview of the Example SidebarsTag Unique Keys Sidebar Name DescriptionUsing the Example Sidebars Terminal, enter the following commandTo comment out specific sidebars To this Adding JavaScript and XSL Files To add JavaScript files or XSL files to a themePut JavaScript .js files or XSL .xsl files in this folder About JavaScript Here are some published JavaScript guidesTopic About XSL JavaScript ExampleCreate a plain text file with the following content Viewing Dynamic XMLTo view context $ sudo serveradmin stop teams sudo serveradmin start teams Attributes Creating a Custom Whitelist About the Custom Whitelist’s Structure Allowing Specific URL ProtocolsAllowing Specific CSS Styles Allowing Specific Html Tags and Attributes To allow specific Html tags and attributesTag Attributes Built-in whitelist allows these protocols About the Built-in WhitelistProtocols Allowed in the Built-in Whitelist ProtocolBuilt-in whitelist allows these CSS styles CSS Styles Allowed in the Built-in WhitelistHtml Tags and Attributes Allowed in the Built-in Whitelist Built-in whitelist allows these Html tags and attributesNode Pre Cite Span Strong Tbody Tfoot Colspan, rowspan Thead Migrating Wiki Content From Other Websites Backing Up the Wiki ServerManaging Wiki Content Wiki File Structure Overview Manually Editing Raw Content File or Folder Name PurposeViewing a Wiki’s Administration Settings To regenerate the index after editing raw wiki contentFor more information about AtomPub, see Metadata.plist file includes the following keys Key Example Value DescriptionTo manually edit wiki administration settings Viewing a Page’s Metainformation PageuidManaging Attachments