rss_item Class Reference
#include <item.h>
Detailed Description
The
rss_item class is used to represent an Item in an RSS feed.
Definition at line 34 of file item.h.
Constructor & Destructor Documentation
virtual rss_item::~rss_item |
( |
|
) |
[virtual] |
Member Function Documentation
void rss_item::handle_title |
( |
const nstring & |
value |
) |
|
The handle_title method is used to set the title of the item.
void rss_item::handle_description |
( |
const nstring & |
value |
) |
|
The handle_description method is used to set the description of the item.
void rss_item::handle_pub_date |
( |
const nstring & |
value |
) |
|
The handle_pub_date method is used to set the pub_date of the item.
void rss_item::handle_link |
( |
const nstring & |
value |
) |
|
Add a link (URL) for the item.
void rss_item::handle_author |
( |
const nstring & |
value |
) |
|
Add the email address of the author of the item.
void rss_item::handle_category |
( |
const nstring & |
value |
) |
|
Add a category for this item to be included with.
void rss_item::handle_comments |
( |
const nstring & |
value |
) |
|
Add the URL of a page for comments relating to the item.
void rss_item::handle_enclosure |
( |
const nstring & |
value |
) |
|
Add a description of a media object attached to the item.
void rss_item::handle_guid |
( |
const nstring & |
value, |
|
|
bool |
is_perma_link | |
|
) |
| | |
Add a string that uniquely identifies the item.
void rss_item::handle_source |
( |
const nstring & |
value |
) |
|
Add the RSS channel that the item came from.
Print out the contents of the item.
the handle_change method is used to set the attributes of the RSS item from the given change.
- Parameters:
-
| cp | The change to take the attributes from. |
Field Documentation
The item's title.
Definition at line 127 of file item.h.
The item's description.
Definition at line 132 of file item.h.
The item's publication date.
Definition at line 137 of file item.h.
The item's link (URL).
Definition at line 142 of file item.h.
The email address of the author of the item.
Definition at line 147 of file item.h.
The category of the item.
Definition at line 152 of file item.h.
URL of a page for comments relating to the item.
Definition at line 157 of file item.h.
Describes a media object that is attached to the item.
Definition at line 162 of file item.h.
A string that uniquely identifies the item.
Definition at line 167 of file item.h.
A flag indicating whether or not the GUID is a permanent link.
Definition at line 172 of file item.h.
The RSS channel that the item came from.
Definition at line 177 of file item.h.
The documentation for this class was generated from the following file: