| Rss-GLib Reference Manual | ||||
|---|---|---|---|---|
RssItemPrivate;
RssItem;
RssItem* rss_item_new (void);
const gchar* rss_item_get_guid (RssItem *self);
const gchar* rss_item_get_title (RssItem *self);
const gchar* rss_item_get_link (RssItem *self);
const gchar* rss_item_get_description (RssItem *self);
const gchar* rss_item_get_copyright (RssItem *self);
const gchar* rss_item_get_author_name (RssItem *self);
const gchar* rss_item_get_author_uri (RssItem *self);
const gchar* rss_item_get_author_email (RssItem *self);
const gchar* rss_item_get_contributor_name (RssItem *self);
const gchar* rss_item_get_contributor_uri (RssItem *self);
const gchar* rss_item_get_contributor_email (RssItem *self);
const gchar* rss_item_get_comments (RssItem *self);
const gchar* rss_item_get_pub_date (RssItem *self);
const gchar* rss_item_get_source (RssItem *self);
const gchar* rss_item_get_source_url (RssItem *self);
GList* rss_item_get_categories (RssItem *self);
"author" gchar* : Read / Write "author-email" gchar* : Read / Write "author-uri" gchar* : Read / Write "comments" gchar* : Read / Write "contributor" gchar* : Read / Write "contributor-email" gchar* : Read / Write "contributor-uri" gchar* : Read / Write "copyright" gchar* : Read / Write "description" gchar* : Read / Write "guid" gchar* : Read / Write "link" gchar* : Read / Write "pub-date" gchar* : Read / Write "source" gchar* : Read / Write "source-url" gchar* : Read / Write "title" gchar* : Read / Write
RssItem is the representation of an individual item parsed from a RssDocument. This would mean an individual article, or note within the source feed.
RssItem* rss_item_new (void);
Creates a new RssItem. This isn't incredibly useful yet as we do not have an RssGenerator written. However, that will come eventuall and make creating feeds much simpler.
Returns : |
a new RssItem which should be unref'd with g_object_unref().
|
const gchar* rss_item_get_description (RssItem *self);
Retrieves the "description" field.
const gchar* rss_item_get_copyright (RssItem *self);
Retrieves the "copyright" field.
const gchar* rss_item_get_author_name (RssItem *self);
Retrieves the "author" field.
const gchar* rss_item_get_author_uri (RssItem *self);
Retrieves the "author-uri" field.
const gchar* rss_item_get_author_email (RssItem *self);
Retrieves the "author-email" field.
const gchar* rss_item_get_contributor_name (RssItem *self);
Retrieves the "contributor" field.
const gchar* rss_item_get_contributor_uri (RssItem *self);
Retrieves the "contributor-uri" field.
const gchar* rss_item_get_contributor_email (RssItem *self);
Retrieves the "contributor-email" field.
const gchar* rss_item_get_comments (RssItem *self);
Retrieves the "comments" field.
const gchar* rss_item_get_pub_date (RssItem *self);
Retrieves the "pub-date" field.
const gchar* rss_item_get_source (RssItem *self);
Retrieves the "source" field.
const gchar* rss_item_get_source_url (RssItem *self);
Retrieves the "source-url" field.
GList* rss_item_get_categories (RssItem *self);
Returns a copy of the list of categories for the RssItem. The data
in the linked list are pointers to strings (char*). They are owned
by the RssItem and should not be modified. Use g_strdup() to copy
the individual strings.
|
a RssItem |
Returns : |
a new GList which should be freed with g_list_free().
|
"author-email" property"author-email" gchar* : Read / Write
The authors email.
Default value: NULL
"author-uri" property"author-uri" gchar* : Read / Write
The authors uri, often a website.
Default value: NULL
"comments" property"comments" gchar* : Read / Write
Any comments that may have been associated with the item.
Default value: NULL
"contributor" property"contributor" gchar* : Read / Write
The contributors name.
Default value: NULL
"contributor-email" property"contributor-email" gchar* : Read / Write
The contributors email.
Default value: NULL
"contributor-uri" property"contributor-uri" gchar* : Read / Write
The contributors uri, often a website.
Default value: NULL
"copyright" property"copyright" gchar* : Read / Write
Any associated copyright that may exist for the content.
Default value: NULL
"description" property"description" gchar* : Read / Write
The description of the item. This is often where the actual content for the item is stored.
Default value: NULL
"guid" property"guid" gchar* : Read / Write
The guid of the item. Many feed engines will use the url here plus some tag metadata.
Default value: NULL
"link" property"link" gchar* : Read / Write
The link to the upstream source of the item.
Default value: NULL
"pub-date" property"pub-date" gchar* : Read / Write
The string representation of the publish date.
Default value: NULL
"source" property"source" gchar* : Read / Write
The name of the source of the item.
Default value: NULL
"source-url" property"source-url" gchar* : Read / Write
The url of the source of the item.
Default value: NULL