FeedsPublisher
Object Hierarchy:
Grss.FeedsPublisher
Grss.FeedsPublisher
Grss.FeedsPublisher
GLib.Object
GLib.Object
GLib.Object->Grss.FeedsPublisher
Description:
[ CCode ( type_id = "grss_feeds_publisher_get_type ()" ) ]public class FeedsPublisher : Object
Content:
Creation methods:
Methods:
public string format_content (FeedChannel channel, List <FeedItem > items) throws Error
Format a FeedChannel
in Atom and returns the resulting string.
public void hub_set_port (int port)
To customize the port opened by the local server to deliver feeds and
catch incoming subscriptions.
public void hub_set_topics (List <FeedChannel > topics)
To define a list of valid "topics" for which the
FeedsPublisher will deliver contents.
public void hub_switch (bool run)
Permits to start and stop the webserver implemented by this object.
public bool publish_file (FeedChannel channel, List <FeedItem > items, string uri) throws Error
Dump the given channel
in an Atom formatted file in
path
.
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
.
Signals:
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref