| Top |
| #define | FEEDS_GROUP() |
| #define | FEEDS_GROUP_CLASS() |
| #define | FEEDS_GROUP_GET_CLASS() |
| GrssFeedsGroup * | grss_feeds_group_new () |
| GList * | grss_feeds_group_get_formats () |
| GList * | grss_feeds_group_parse_file () |
| gboolean | grss_feeds_group_export_file () |
GrssFeedsGroup is an utility to read and write lists of GrssFeedChannels in different formats, such as OPML and XOXO.
#define FEEDS_GROUP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), FEEDS_GROUP_TYPE, GrssFeedsGroup))
#define FEEDS_GROUP_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), FEEDS_GROUP_TYPE, GrssFeedsGroupClass))
#define FEEDS_GROUP_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), FEEDS_GROUP_TYPE, GrssFeedsGroupClass))
GList *
grss_feeds_group_get_formats (GrssFeedsGroup *group);
Returns the list of supported file formats.
GList * grss_feeds_group_parse_file (GrssFeedsGroup *group,const gchar *path,GError **error);
Parses the given file to obtain list of listed feeds.
gboolean grss_feeds_group_export_file (GrssFeedsGroup *group,GList *channels,const gchar *format,const gchar *uri,GError **error);
Creates a new file with the list of channels
represented in the required
format
. If the file already exists at the uri
location, it is overwritten.
group |
||
channels |
list of GrssFeedChannels. |
[element-type GrssFeedChannel] |
format |
string rappresenting the desired export format, as returnes by
|
|
uri |
URI of the file to write. |
|
error |
location for eventual errors. |