Apple Computer Hardware manual Managing Attachments

Page 45

Key

Example Value

Description

tombstoned

<true/>, <false/>

Originally set to false, this is set to

 

 

true when a page is temporarily

 

 

deleted.

 

 

If a page is permanently deleted,

 

 

the entire page_uid.page/ folder is

 

 

removed.

 

 

 

uid

groups/group_name/wiki/page_uid/

Unique identifier for the wiki page

 

 

and its location.

 

 

 

versioned

<true/>, <false/>

Wiki pages are versioned; blog and

 

 

mailing list entries aren’t.

 

 

 

After manually editing this file, delete the group’s index.db file and restart the server. For more information, see “Manually Editing Raw Content,” on page 40.

Managing Attachments

When a user attaches a file to a wiki page, that file is stored in:

/Library/Collaboration/Groups/group_name/wiki/page_uid.page/attachments/ attachment_uid/

Group_name is the group’s short name. Page_uid is the unique identifier of the page that the file is attached to and attachment_uid is the unique identifier of the file. Both unique identifiers are included in the attachment’s URL:

http://domain_name/groups/group_name/wiki/page_uid/attachments/ attachment_uid/filename

If someone deletes or replaces an attachment in the wiki, the old attachment remains on the server. This allows use of the wiki’s history feature to restore old versions of attached files.

If you delete the folder containing the attachment on the server, users won’t be able to restore the attachment.

Chapter 3    Managing Wiki Content

45

Image 45
Contents Mac OS X Server 019-1252/2008-04-24 Contents Managing Wiki Content Preface Getting Additional InformationPreface About This Guide Theme File Structure Overview This chapter describes how to customize a wiki’s appearanceCustomizing How the Wiki Looks Variant Theme File Structure Overview File or Folder Name Purpose Wireframe Theme File Structure OverviewBorders, and positioning for comment entry Creating a Theme Terminal, enter the following commandsWebsite Editing CSS FilesAbout Property List Editor Editing Property List FilesAbout Property List Keys and Values About Property List FilesAbout Strings About DictionariesHere is the sidebars array in a plain text editor About ErrorsHere is an example of an array with a single string Here is an example of an array with multiple stringsChanging General Theme Settings Key Default Value Possible ValuesDescription Understanding the Types of Sidebars Creating SidebarsShared Keys 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 Tag Unique Keys Overview of the Example SidebarsRecent Activity 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 JavaScript Example About XSLCreate 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 Protocols Allowed in the Built-in Whitelist About the Built-in WhitelistBuilt-in whitelist allows these protocols ProtocolHtml Tags and Attributes Allowed in the Built-in Whitelist CSS Styles 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 Backing Up the Wiki Server Migrating Wiki Content From Other WebsitesManaging Wiki Content Wiki File Structure Overview File or Folder Name Purpose Manually Editing Raw ContentViewing a Wiki’s Administration Settings To regenerate the index after editing raw wiki contentFor more information about AtomPub, see Key Example Value Description Metadata.plist file includes the following keysTo manually edit wiki administration settings Pageuid Viewing a Page’s MetainformationManaging Attachments