publish_file


Description:

public bool publish_file (FeedChannel channel, List<FeedItem> items, string uri) throws Error

Dump the given channel in an Atom formatted file in path.

If the local PubSubHubbub hub has been activated (with hub_switch) notifies remote subscribers about the new items which has been added since previous invocation of this function for the same FeedChannel.

Parameters:

this

a FeedsPublisher.

channel

the FeedChannel to dump in the file.

items

list of FeedItems to be added in the feed.

uri

URI of the file to write. The full path must exists.

Returns:

true if the file is successfully written, false otherwise.