Home Page - www.tele-pro.co.uk - Ecommerce Integration


XML RSS Content Feed Class Properties

 The XML RSS Content Feed VBScript Class makes it easy to download and display RSS XML News Feeds XML RSS Content Feed VBScript Class Properties

 Go RSSContentFeed Class Intro
 Go RSSContentFeed Class Reference
 Go RSSContentFeed Class Methods

 Go RSSContentFeed Class Sample Code
 Go Download Setting Properties sample code as text
 Go See Setting Properties sample code working  
 

Properties

Version, ContentURL, PostData, MaxResults, ResultsXML, TotalResults, RSSVersion, ChannelLink, ChannelTitle, ChannelDescription, ChannelImgURL, ChannelImgTitle, ChannelImgLink, ChannelImgWidth, ChannelImgHeight, Cache, CacheDays, CacheCount, FromCache
 

Collections

Results, Links, Titles, Descriptions, PubDates, Images, Ids, Headers
   

Version

 

String, readonly

Class object version string

XML RSS Content Feed VBScript Class Version 1.0
© 2004 www.tele-pro.co.uk

Top
 
 
ContentURL

String, required

The URL of XML RSS Content. Required for the GetRSS method.

'set content url
rss.ContentURL = _
  "http://freenewsfeed.newsfactor.com/rss"

Top
 
 
PostData

String

The data to be posted to the ContentURL. Optional, for RSS feed providers which require data to be posted.

'set Post data
rss.PostData = "id=123&cat=news"

Top
 
 
MaxResults

Integer

Maximum number of results to return

'set content url
rss.MaxResults = 5

Top
 
 
ResultsXML

String, readonly

The raw XML response returned from the server

Top
 
 
TotalResults

Integer, readonly

Total number of results returned (up to MaxResults)

Top
 
 
RSSVersion

String, readonly

The RSS Version of the results returned

Example: 0.91, 1.0, 2.0

Top
 
 
ChannelLink

String, readonly

The RSS Channel link

Top
 
 
ChannelTitle

String, readonly

The RSS Channel title

Top
 
 
ChannelDescription

String, readonly

The RSS Channel description

Top
 
 
ChannelImgURL

String, readonly

The image URL of the channel image

Example

http://www.computerworld.com/rss/computerworld_logo_sm.gif

Top
 
 
ChannelImgTitle

String, readonly

The caption of the channel image

Top
 
 
ChannelImgLink

String, readonly

The hyperlink URL of the channel image

Top
 
 
ChannelImgWidth

Integer, readonly

The width of the channel image

Top
 
 
ChannelImgHeight

Integer, readonly

The height of the channel image

Top
 
 
Cache

String

The full physical Cache folder path.

'set cache
rss.Cache = "\\websites\domain.com\htdocs\rsscache\"

Top
 
 
CacheDays

Integer

Number of days to keep files in Cache

'cache items for 2 days
rss.CacheDays = 2

Top
 
 
CacheCount

Integer, readonly

Count of files in the Cache folder

Top
 
 
FromCache

Boolean, readonly

Indicates whether the current content was returned from the Cache.

if rss.FromCache Then
  'item was returned from cache
End If

Top
 

Collections

 
Top
 
 
Headers

Strings, readonly

The HTTP request headers that have been added with the AddHeader method.

 

The following collections contain the details of all the items in the RSS feed. The number of items in each collection is equal to the value of TotalResults
 

Top
 
 
Results

Integers, readonly

Returns the number of the result item specified. This enables you to loop through the results as follows.

For Each i in rss.Results
  response.write rss.Links(i) & "<br>"
Next

Top
 
 
Links

Strings, readonly

Returns the URL of the result item specified

Top
 
 
Titles

Strings, readonly

Returns the title of the result item specified

Top
 
 
Descriptions

Strings, readonly

Returns the description of the result item specified

Top
 
 
PubDates

Strings, readonly

Item dates (optional)

Top
 
 
Images

Strings, readonly

Returns the image URL of the result item specified

NB: The Images collection is only used for Amazon and eBay content. For Amazon the medium size image is returned and for eBay the item image is returned.

Top
 
 
Ids

Strings, readonly

Returns the Id of the result item specified

NB: The Ids collections is only used for Amazon and eBay content. For Amazon the ASIN (ISBN) number is returned and for eBay the item Id is returned.

Top
 
 
   

See Also

 Go RSSContentFeed Class Intro
 Go RSSContentFeed Class Reference
 Go RSSContentFeed Class Sample Code
 Go RSSContentFeed Class Demo

Search RSS

 Go Website: RSS
 Go Website: RSS Content Feed Class
 Go Google: RSS Feed
 Go Google: RSS Content Feed Class
 

RSS Links

 Go www.w3.org/RDF/
 Go www.xml.org/xml
 Go RDF Site Summary RSS 1.0

RSS Content Feed

xml, rss, rdf, content, feed, vbscript, class, news feeds, RSSContentFeed, properties, methods, object, rss 0.91, 1.0, 2.0, asp, vb, api, free news feed, sofotex, prweb, alistapart, news.com, newsfactor, code, coding, script, scripting, utility
 

Top | Home | ECommerce | Hosting | Site Map | Search | © 2003-6 | Contact