Using the RSS Activity Feed service
11
Setting up the RSS Activity Feed service
The RSS Activity Feed service produces a syndication feed that lists Publish, Delete, and Roll
Back events that occur to pages in any folder on your website. Before you use the RSS Activity
Feed service, you need to complete some set-up tasks.
To set up the RSS Activity Feed service:
1.
Open the settings.xml file, which is located in the following directory:
C:/Program Files/Macromedia/Contribute Publishing Server/jrun4/servers/
contribute-wps/contribute/customservices/rssfeed
Note:
If you plan to extend the service, open the settings.xml file for the uncompiled version of the
code in C:/Program Files/Macromedia/Contribute Publishing Server
/
jrun4/servers/contribute-
wps/contribute/customservices_code/rssfeed.
2.
In the settings.xml file, add the following information for a syndication feed:
■
Name
is the name of the syndication feed you’re creating.
■
TargetPath
is the server location of the output file the syndication feed creates.
You need to have HTTP access to this location.
■
WatchURI
indicates the folder the RSS Activity Feed service monitors for changes.
Any Publish, Delete, or Roll Back events that occur to pages in this folder, or any
subdirectory, produces an entry in the syndication feed.
Note:
If a page belongs to multiple syndication feeds, each syndication feed reports that page’s
changes.
■
MaxEntries
is the upper limit for the number of entries the syndication feed stores.
The default value is 20,000.
For example:
<FeedList>
<Feed>
<Name>My Site’s Announcement</Name>
<TargetPath>\\myserver\wwwroot\feeds\announcementsfeed.xml</TargetPath>
<WatchURI>http://myserver/announcements</WatchURI>
<MaxEntries>25</MaxEntries>
</Feed>
</FeedList>
3.
(Optional) Add entries to create other syndication feeds to the settings.xml file if you want.
4.
Make sure that your server is running with a user that has sufficient network permissions on the
server indicated in the
TargetPath
to create the syndication feed output file.
If you are using Windows, many servers run, by default, with the local system user (which
probably has limited network access). To change a server’s user on Windows, do the following:
a
Right-click
My Computer
, and then select
Manage
.
The Computer Management dialog box appears.
b
Expand the
Services and Applications
node, and then select
Services
.