Content Studio Web Content Management System
SystemObject
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingPageableComponent
ContentStudio.Site.ActiveScriptingEPTBase
ContentStudio.Site.ActiveScripting.MiscRSSFeeder
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Top
Top
Top
To use this class, create an instance of this object, and call the Invoke
method with an appropriate set of parameters and properties.
This class can throw exceptions, thus your code should be wrapped
within try/catch statements in order to avoid the entire page to crash.
[This is preliminary documentation and is subject to change.]
Writes an RSS Feed to the supplied stream or the default response
stream.
Before using this class you must ensure that CS_CreatedBy and CS_PublishDate
EPT fields as well as the title field and are indexed.
The RSSFeeder class acts as the underlying engine for the RSS
2.0 Feeder AS component.
Inheritance Hierarchy
ContentStudio.SiteCodeBase
ContentStudio.Site.ActiveScriptingActiveScriptingBase
ContentStudio.Site.ActiveScriptingPageableComponent
ContentStudio.Site.ActiveScriptingEPTBase
ContentStudio.Site.ActiveScripting.MiscRSSFeeder
Namespace: ContentStudio.Site.ActiveScripting.Misc
Assembly: CS_SiteLib (in CS_SiteLib.dll) Version: 5.7.5016.0 (5.7.5016.0)
Syntax
The RSSFeeder type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RSSFeeder(Int32) |
Constructs a new instance of the RSSFeeder class that writes to
the default response stream.
| |
RSSFeeder(Stream, Int32) |
Constructs a new instance of the RSSFeeder class that writes to
the supplied stream.
|
Properties
Name | Description | |
---|---|---|
ApplicationTimeout |
Sets or gets a value that indicates the time (in minutes) how long the
application cache should cache its result. If the value is zero, there
is no timeout limit. The cache can be recycled depending on the size of
the total application cache. The default value is zero.
This parameter has no meaning if the UseApplicationCache
property is false.
| |
BackwardsComponentCompatibilityMode |
Sets or gets a value that indicates whether the code runs in backwards
compatibility component mode. The default value is false.
(Inherited from ActiveScriptingBase.) | |
CategoryID |
Sets or gets a value that indicates a document category to
use. This category must be a valid EPT document category. The
default value is zero.
| |
ComponentName |
Gets the name of the component.
(Overrides ActiveScriptingBaseComponentName.) | |
Conformance |
Gets a value which specifies which type of code a component can
generate.
Since RSSFeeder returns pure XML this property not applicable.
(Overrides ActiveScriptingBaseConformance.) | |
DataFields |
Sets or gets an array of EPT field that contains the data to write to
the RSS feed. The default value is an array with XmlIndexQuery.PARAMETER_COUNT-2
members that are initialized with empty strings.
The first field name must specify the name of the EPT field containing
the item title. The second field name must specify the name the
EPT field containing the item description. The rest of the
members specifies the name the EPT field that you would like to filter
on.
| |
DataTypes |
Sets or gets the data type for the DataFields field. The default
value is an array with PARAMETER_COUNT members
filled with the XmlIndexQuery.QueryDataTypes.String value.
| |
Description |
Sets or gets the description of the feed.
The default value is an Empty string.
| |
ElementType |
Gets a value which specifies the type of outer element the component
generates.
Since RSSFeeder returns pure XML this property not applicable.
(Overrides ActiveScriptingBaseElementType.) | |
Encoding |
Sets or gets the encoding the component uses. The default encoding is
the UTF8 encoding without byte order mark.
(Inherited from ActiveScriptingBase.) | |
FilterCriteria |
Sets or gets an expression to filter on. The default value is an empty
string.
The expression should be the WHERE clause of an T-SQL statement
using the field you specified in one or more of the DataFields
parameter members. The field name must be enclosed in brackets and must
have correct casing. Do not include the WHERE keyword.
| |
ItemsToReturn |
Sets or gets a value that indicates the maximum number of
returned items in the feed. Use zero to return all available
items. The default value is 10.
| |
LanguageCode |
Sets or gets the language code of the feed. The default value is
"en-gb".
| |
Link |
Sets or gets the main link of the feed.
The default value is an Empty string.
| |
PresentationTemplate |
Sets or gets a value that indicates a presentation template
to use. Use zero if no presentation template is used. The
default value is zero.
| |
RSSConformanceLevel |
A value that specifies at what specification level the RSS should be
generated. The default value is ConformanceLevel.RSS2Spec.
| |
Title |
Sets or gets the title of the whole RSS feed.
The default value is an Empty string.
| |
UseApplicationCache |
Sets or gets a value that indicates if the application cache should be
used. The default value is false.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
Invoke |
Invokes the component and writes its content into the specified stream.
| |
ToString | (Inherited from Object.) |
Remarks
See Also