*
* @param cruisecontrolLog JDOM Element representation of the main cruisecontrol build log
*/
public void publish(Element cruisecontrolLog) throws CruiseControlException {
XMLLogHelper helper = new XMLLogHelper(cruisecontrolLog);
// Get a reference to the RSSFeed
if (this.rssFeed == null) {
this.rssFeed = getRSSFeed(new File(this.fileName));
// Ensure that the rssFeed matches the config properties of the publisher.
this.rssFeed.setProjectName(helper.getProjectName());
this.rssFeed.setMaxLength(this.maxLength);
this.rssFeed.setLink(this.channelLinkURL);
}
// Create the RSSFeedItem