Grss.FeedItem – libgrss Reference Manual
Packages
libgrss
Grss
FeedItem
FeedItem
add_category
add_contributor
add_enclosure
get_author
get_categories
get_comments_url
get_contributors
get_copyright
get_description
get_enclosures
get_geo_point
get_id
get_parent
get_publish_time
get_real_source
get_related
get_source
get_title
set_author
set_comments_url
set_copyright
set_description
set_geo_point
set_id
set_publish_time
set_real_source
set_related
set_source
set_title
FeedItem
Object Hierarchy:
Description:
[
CCode
( type_id =
"grss_feed_item_get_type ()"
) ]
public
class
FeedItem
:
Object
Namespace:
Grss
Package:
libgrss
Content:
Creation methods:
public
FeedItem
(
FeedChannel
parent)
To allocate a new empty
FeedItem
.
Methods:
public
void
add_category
(
string
category)
Adds a category to the
this
.
public
void
add_contributor
(
Person
contributor)
To add a contributor to the
this
.
public
void
add_enclosure
(
FeedEnclosure
enclosure)
Adds an enclosure to the
this
.
public
Person
get_author
()
Retrieves the author of
this
.
public
unowned
List
<
string
>
get_categories
()
Retrieves list of categories assigned to the
this
.
public
unowned
string
get_comments_url
()
Retrieves the URL where to catch comments to the
this
.
public
unowned
List
<
Person
>
get_contributors
()
Retrieves contributors for
this
.
public
unowned
string
get_copyright
()
Retrieves copyright reference for the
this
.
public
unowned
string
get_description
()
Retrieves the description of the
this
.
public
unowned
List
<
FeedEnclosure
>
get_enclosures
()
Retrieves the list of enclosures added with
add_enclosure
.
public
bool
get_geo_point
(
out
double
latitude,
out
double
longitude)
Retrieves the geo reference of the
this
.
public
unowned
string
get_id
()
Retrieves the ID assigned to the
this
.
public
unowned
FeedChannel
get_parent
()
Retrieves the feed from which the item belongs.
public
time_t
get_publish_time
()
Retrieves the publish time of the item.
public
void
get_real_source
(
string
realsource,
string
title)
Retrieves references to the real source of
this
.
public
unowned
string
get_related
()
Retrieves indication about posts related to
this
.
public
unowned
string
get_source
()
Retrieves the URL where the
this
can be found.
public
unowned
string
get_title
()
Retrieves the title assigned to
this
.
public
void
set_author
(
Person
author)
To assign an author to the
this
.
public
bool
set_comments_url
(
string
url)
To assign the URL where to fetch comments for the item.
public
void
set_copyright
(
string
copyright)
To set a copyright reference to
this
.
public
void
set_description
(
string
description)
To set the description of
this
.
public
void
set_geo_point
(
double
latitude,
double
longitude)
To assign geographic context to the
this
.
public
void
set_id
(
string
id)
To set the ID of the
this
.
public
void
set_publish_time
(
time_t
publish)
To set the publish time of the item.
public
bool
set_real_source
(
string
realsource,
string
title)
To set an alternative real source for
this
.
public
void
set_related
(
string
related)
To set reference to a post related to
this
.
public
bool
set_source
(
string
source)
To set the source of the
this
.
public
void
set_title
(
string
title)
To set a title to the
this
.
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