publish_web


Description:

public bool publish_web (FeedChannel channel, List<FeedItem> items, string id) throws Error

If the local web server has been executed (with hub_switch) this function exposes the given channel as an Atom formatted file avalable to http://[LOCAL_IP:DEFINED_PORT]/id .

Parameters:

this

a FeedsPublisher.

channel

the FeedChannel to dump in the file.

items

list of FeedItems to be added in the feed.

id

name used in the external URL of the feed.

Returns:

true if the file is successfully written, false otherwise.




2022 vala-language.org