FeedsGroup

FeedsGroup — import and export group of channels

Stability Level

, unless otherwise indicated

Synopsis

                    FeedsGroup;
FeedsGroup*         feeds_group_new                     ();
GList*              feeds_group_parse_file              (FeedsGroup *group,
                                                         const gchar *path,
                                                         GError *error);
gboolean            feeds_group_export_file             (FeedsGroup *group,
                                                         GList *channels,
                                                         const gchar *path,
                                                         GError *error);

Object Hierarchy

  GObject
   +----FeedsGroup

Description

FeedsGroup is an utility to import and export list of FeedChannels in different formats, such as OPML.

Details

FeedsGroup

typedef struct _FeedsGroup FeedsGroup;


feeds_group_new ()

FeedsGroup*         feeds_group_new                     ();

Allocates a new FeedsGroup

Returns :

a new FeedsGroup

feeds_group_parse_file ()

GList*              feeds_group_parse_file              (FeedsGroup *group,
                                                         const gchar *path,
                                                         GError *error);

Parses the given file to obtain list of listed feeds

group :

a FeedsGroup

path :

path of the file to parse

error :

location for eventual errors

Returns :

a list of FeedChannels, or NULL if an error occours and error is set

feeds_group_export_file ()

gboolean            feeds_group_export_file             (FeedsGroup *group,
                                                         GList *channels,
                                                         const gchar *path,
                                                         GError *error);

group :

channels :

path :

error :

Returns :