Apple Computer Hardware manual Search Unique Keys

Page 20

Key

Example Value

Possible Values

Optional or Required

Description

 

 

 

 

 

snippet

Click here to see your

Any string

Optional

Used for the link’s tool tip.

 

server’s homepage.

 

 

To enable tool tips,

 

 

 

 

comment out the

 

 

 

 

following block in the

 

 

 

 

theme’s grouphome.

 

 

 

 

css file:

 

 

 

 

.grouphome .snippet{

 

 

 

 

display:none;

 

 

 

 

}

Search Unique Keys

Search sidebars list search results using tag-based or text-based searching. “What’s

Hot” and “What’s New” are examples of search sidebars.

Search sidebars have the following unique keys:

Key

Example Value

Possible Values

Optional or Required

Description

 

 

 

 

 

howMany

5

Any number, 1 or more

Required

Maximum number of

 

 

 

 

 

entries in the sidebar.

 

 

 

 

 

tag

hot

One or more strings all in

Optional

The tags associated with

 

 

the same array

 

this sidebar. Pages using all

 

 

 

 

 

of these tags are added to

 

 

 

 

 

this sidebar.

 

 

 

 

 

kind

wiki, weblog, mailinglist

One or more of the

Optional

The kinds of pages

 

 

following in the same

 

associated with this

 

 

array:

 

sidebar. A search only lists

 

 

ÂÂ

all

 

pages of these types.

 

 

ÂÂ

wiki

 

If this key isn’t provided,

 

 

ÂÂ

weblog

 

all types of pages can be

 

 

ÂÂ

mailinglist

 

shown in the sidebar.

 

 

ÂÂ

calendar

 

 

 

 

 

 

 

q

annejohnson, wiki,

One or more strings all in

Optional

The text query used to

 

2008-03-17

the same array

 

search for entries.

 

 

 

 

 

fields

title, content, author

One or more of the

Optional

The fields the text query

 

 

following in the same

 

is applied to. If the query

 

 

array:

 

matches any of these

 

 

ÂÂ

title

 

fields, the entry appears in

 

 

ÂÂ

author

 

the sidebar.

 

 

ÂÂ

authorLongName

 

 

 

 

ÂÂ

lastModifiedAuthor

 

 

 

 

ÂÂ

lastModifiedAuthor

 

 

 

 

 

LongName

 

 

 

 

ÂÂ

createdDate

 

 

 

 

ÂÂ

modifiedDate

 

 

 

 

ÂÂ

content

 

 

 

 

ÂÂ

strippedContent

 

 

 

 

ÂÂ

kind

 

 

 

 

 

 

 

 

20

Chapter 1    Customizing How the Wiki Looks

Image 20
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 Property List Files About Property List Keys and ValuesAbout Strings About DictionariesAbout Errors Here is the sidebars array in a plain text editorHere is an example of an array with a single string Here is an example of an array with multiple stringsDescription Changing General Theme SettingsKey Default Value Possible Values Creating Sidebars Understanding the Types of SidebarsShared Keys All sidebars require the following keysKey Example Value Possible Values Optional or Required Static Unique KeysEach dictionary entry has the following keys Search Unique Keys Calendar Unique Keys Overview of the Example Sidebars Tag Unique KeysRecent Activity Unique Keys Sidebar Name DescriptionTo comment out specific sidebars Using the Example SidebarsTerminal, enter the following command To this Put JavaScript .js files or XSL .xsl files in this folder Adding JavaScript and XSL FilesTo add JavaScript files or XSL files to a theme Topic About JavaScriptHere are some published JavaScript guides About XSL JavaScript ExampleTo view context Create a plain text file with the following contentViewing Dynamic XML $ sudo serveradmin stop teams sudo serveradmin start teams Attributes Creating a Custom Whitelist Allowing Specific CSS Styles About the Custom Whitelist’s StructureAllowing Specific URL Protocols Tag Attributes Allowing Specific Html Tags and AttributesTo allow specific Html tags and attributes About the Built-in Whitelist Protocols Allowed in the Built-in WhitelistBuilt-in whitelist allows these protocols ProtocolCSS Styles Allowed in the Built-in Whitelist Html Tags and Attributes Allowed in the Built-in WhitelistBuilt-in whitelist allows these CSS styles 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 PurposeFor more information about AtomPub, see Viewing a Wiki’s Administration SettingsTo regenerate the index after editing raw wiki content Metadata.plist file includes the following keys Key Example Value DescriptionTo manually edit wiki administration settings Viewing a Page’s Metainformation PageuidManaging Attachments