User Guide

22 Chapter 2: Extending Contribute Publishing Server
Related topics:
“Creating a custom publishing service” on page 17
API data types” on page 22
“Web service methods” on page 23
About extending the RSS Activity Feed service
You can use the RSS Activity Feed service to produce a syndication feed that lists changes that
occur in any folder on your website. Then, you can use a news reader or aggregator to view the
output of the syndication feed.
Note: If you want to use the service as is (without extending it), see “Using the RSS Activity Feed
service” on page 10.
If you want to extend the service, use the uncompiled version of the RSS Activity Feed service
code. This code is written in ColdFusion, so you need to have a ColdFusion server to extend this
service.
Note: CPS installs a special version of the ColdFusion server, which enables you to run the compiled
version of the RSS Activity Feed service as is. This server, however, is not sufficient for extending the
service. You must have the full version of the ColdFusion server running to extend the uncompiled
code.
To find the RSS Activity Feed service files for extending:
Locate the RSS Activity Feed service files in the following default location:
C:/Program Files/Macromedia/Contribute Publishing Server/jrun4/servers/
contribute-wps/contribute/customservices_code/rssfeed
This folder contains the uncompiled code for the service, which you can modify. The files are:
events.cfc receives and parses SOAP messages.
feedmanager.cfc is a library that creates the syndication feed.
settings.xml contains settings for the RSS Activity Feed service.
Related topics:
API data types” on page 22
“Web service methods” on page 23
API data types
The following complex data types are used in the arguments to the web service methods.
User
The
User object describes a Contribute user with the following elements:
username is a string that provides the user’s name. "Douglas Fairbanks" is an example of a
username value.
email is the users e-mail address. An example of an email value is
"
douglasf@moviestar.org".