|
This structure contains information about the properties of the
news feed channel.
typedef struct _RSSCHANNEL
{
UINT nItemCount;
UINT nTimeToLive;
WORD wVersionMajor;
WORD wVersionMinor;
DWORD dwFlags;
DWORD dwReserved;
LPCTSTR lpszTitle;
LPCTSTR lpszLink;
LPCTSTR lpszDescription;
LPCTSTR lpszCategory;
LPCTSTR lpszLanguage;
LPCTSTR lpszCopyright;
LPCTSTR lpszEditor;
LPCTSTR lpszWebmaster;
LPCTSTR lpszGenerator;
LPCTSTR lpszImageLink;
LPCTSTR lpszImageTitle;
LPCTSTR lpszImageUrl;
SYSTEMTIME stPublished;
SYSTEMTIME stLastBuild;
} RSSCHANNEL, *LPRSSCHANNEL;
Members
- nItemCount
- An integer value which specifies number of news items in the
channel.
- nTimeToLive
- An integer value which specifies the frequency in seconds at
which the feed should be refreshed to obtain updated information.
Not all feeds specify a time-to-live, in which case this member
will have a value of zero.
- wVersionMajor
- A word value which specifies the major version number for the
news feed.
- wVersionMinor
- A word value which specifies the minor version number for the
news feed.
- dwFlags
- A value which specifies one or more option flags for the news
feed channel. 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 name of the
channel. If the content of the news feed corresponds to a website,
this is typically the same as the title of the website. If a title
has not been specified, this member will be NULL. Note that a
strictly conforming news feed requires a title.
- lpszLink
- A pointer to a string which specifies a URL to the website
corresponding to the channel. Note that this is not the URL of the
news feed itself. Typically it is a link to the home page of the
site which owns the news feed. If a link has not been specified,
this member will be NULL. Note that strictly conforming news feed
requires a link.
- lpszDescription
- A pointer to a string which describes the channel. This
provides an overview of the news feed and the type of information
that is provided. If a description of the feed has not been
specified, this member will be NULL. Note that a strictly
conforming news feed requires a description.
- lpszCategory
- A pointer to a string which defines the category or
categories that the channel belongs to. This property is optional
and the category names themselves are user-defined. If a category
has not been specified, this member will be NULL.
- lpszLanguage
- A pointer to a string which defines the language the channel
is written in, using the standard language codes. This property is
optional and if this member is NULL, the English language is
typically presumed to be the default.
- lpszCopyright
- A pointer to a string which specifies a copyright notice for
the content. If a copyright has not been specified, this member
will be NULL.
- lpszEditor
- A pointer to a string which identifies the person
responsible for managing the content of the news feed. If this
property is defined, it is typically the name and email address of
the feed editor. If an editor has not been specified, this member
will be NULL.
- lpszWebmaster
- A pointer to a string which identifies the person
responsible for technical issues related to the news feed. If this
property is defined, it is typically the name and email address of
a system administrator. If a webmaster has not been specified, this
member will be NULL.
- lpszGenerator
- A pointer to a string which identifies the application that
was used to create the news feed. If the application that generated
the feed has not been specified, this member will be NULL.
- lpszImageLink
- A pointer to a string which specifies a URL to the website
corresponding to the channel. In most cases, this is the same URL
that is specified by the lpszLink member. If an image link
has not been specified, this member will be NULL.
- lpszImageTitle
- A pointer to a string which identifies the image associated
with the channel. This is usually a brief description of the image,
and may be the same as the value specified by the lpszTitle
member. If an image title has not been specified, this member will
be NULL.
- lpszImageUrl
- A pointer to a string which specifies a URL for the image
associated with the channel. An application can download this image
and display it with the contents of the news feed. If an image URL
has not been specified, this member will be NULL.
- stPublished
- The date that the news feed was published. For example, a feed
that is associated with a weekly print publication may update this
value once per week. Note that this is not necessarily the date
that the feed was last modified. If the channel does not specify
the publish date, this structure will contain all zeroes.
- stLastBuild
- The date that the content of the channel was last modified. If
the channel does not specify the build 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.
|
|