|
This structure contains information about the properties of an
item in a news feed channel.
typedef struct _RSSCHANNELITEM
{
UINT nItemId;
DWORD dwFlags;
DWORD dwReserved;
LPCTSTR lpszTitle;
LPCTSTR lpszLink;
LPCTSTR lpszText;
LPCTSTR lpszGuid;
LPCTSTR lpszAuthor;
LPCTSTR lpszSource;
LPCTSTR lpszComments;
LPCTSTR lpszEnclosure;
SYSTEMTIME stPublished;
} RSSCHANNELITEM, *LPRSSCHANNELITEM;
Members
- nItemId
- An integer which identifies this item in the channel.
- dwFlags
- A value which specifies one or more option flags for the item.
Currently there are no option flags defined and this member is
reserved for future expansion.
- dwReserved
- A value reserved for future expansion.
- lpszTitle
- A pointer to a string which specifies the title of the item.
If a title for the item has not been specified, this member will be
NULL.
- lpszLink
- A pointer to a string which specifies a URL that typically
links to additional information related to the item. If a link for
the item has not been specified, this member will be NULL.
- lpszText
- A pointer to a string which specifies a summary or
description of the item. This may contain either plain text or HTML
formatted text, and there is no fixed limit to the length of the
text. If no text has been specified for the item, this member will
be NULL.
- lpszGuid
- A pointer to a string which uniquely identifies the item in
the channel. If this property is defined, it is guaranteed to be a
unique, persistent value. It is important to note that this string
does not have to be a standard GUID reference number, it can be any
unique string. In many cases it is the same value as the item
hyperlink specified by the lpszLink member, although an
application should never depend on this behavior. If there is no
unique identifier associated with the item, this member will be
NULL.
- lpszAuthor
- A pointer to a string which identifies the author of the
item. If this property is defined, it is typically the name and
email address of the person who created the content that the item
links to. If the author is not specified, this member will be
NULL.
- lpszSource
- A pointer to a string which identifies the source of the
item, specified as a URL for the original news feed that contained
it. This typically used to propagate credit for items that are
aggregated by a third-party and re-published in their own channel.
If the source is not specified, this member will be NULL.
- lpszComments
- A pointer to a string which specifies a URL that links to
further discussion about the item. Typically this is a link to the
comment area of a weblog or a forum topic specific to the item. If
a comment link is not specified, this member will be NULL.
- lpszEnclosure
- A pointer to a string which specifies a URL that links to a
file related to the item. This is similar to an attachment in an
email message, however instead of the item containing the contents
of the attached file, it only specifies a link to the file.
Enclosures are most commonly used with podcasting where an item is
linked to an audio or video file, however the link may reference
any type of file. If there is no enclosure specified for the item,
this member will be NULL.
- stPublished
- The date that the item was published. If the item does not
specify the publish date, this structure will contain all
zeroes.
Requirements
Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Unicode: Implemented as Unicode and ANSI versions.
|
|