Valid sub-elements for the <options> element include:
|
<clientType>
| Optional (no need to provide this if the value provided in the weblog’s RSD file is accurate). Base client type for the purpose of calculating weblog capabilities. Valid values include: • Metaweblog • MovableType • WordPress |
| Capabilities Elements | Zero or more capabilities elements (valid elements enumerated below). |
An example options element might look like this:
|
<options>
<clientType>Metaweblog</clientType>
<supportsNewCategories>Yes</supportsNewCategories>
<supportsTrackbacks>Yes</supportsTrackbacks>
<supportsEmbeds>Yes</supportsEmbeds>
</options> |
The following table enumerates all of the available API capabilities along with the default values for the three supported APIs.
|
API Capability
|
Metaweblog
|
MovableType
|
WordPress
|
| supportsPostAsDraft | ● | ● | ● |
| supportsFileUpload | ● | ● | ● |
| supportsExtendedEntries | | ● | ● |
| supportsCustomDate | ● | ● | ● |
| supportsCategories | ● | ● | ● |
| supportsCategoriesInline | ● | | ● |
| supportsMultipleCategories | ● | ● | ● |
| supportsHierarchicalCategories | | | ● |
| supportsNewCategories | | | ● |
| supportsNewCategoriesInline | | | ● |
| supportsKeywords | | ● | |
| supportsCommentPolicy | | ● | ● |
| supportsPingPolicy | | ● | ● |
| supportsAuthor | | | ● |
| supportsSlug | | | ● |
| supportsPassword | | | ● |
| supportsExcerpt | | ● | ● |
| supportsTrackbacks | | ● | ● |
| supportsPages | | | ● |
| supportsPageParent | | | ● |
| supportsPageOrder | | | ● |
There are a number of other Writer features which rely on knowledge of service capabilities that aren’t related to weblog APIs (e.g. does the weblog allows embeds?). These values can also be overridden using the <options> element. The defaults for these values are as follows:
|
Capability
|
Default Value
|
| supportsEmptyTitles | Yes |
| requiresHtmlTitles | No |
| requiresXHTML | No |
| supportsScripts | Unknown |
| supportsEmbeds | Unknown |
| characterSet | UTF-8 |
| maxCategoryNameLength | (None) |
| invalidPostIdFaultCodePattern | (None) |
| invalidPostIdFaultStringPattern | (None) |
| supportsAutoUpdate | Yes |