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


XML RSS Content Feed Class Methods

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

 Go RSSContentFeed Class Intro
 Go RSSContentFeed Class Reference
 Go RSSContentFeed Class Properties
 Go RSSContentFeed Class Sample Code
 

Methods

Clear, GetRSS, GetAmazonRSS, AddHeader, DeleteCache, Transform, XMLValue, Shorten

 
 
Clear

Clear()
Returns: None

Clear search properties and resu;ts collections

'clear content
rss.Clear
()

Top
 
 
GetRSS

GetRSS()
Returns: Integer

Retrieves the content specified in ContentURL

'clear content
rss.GetRSS()

Top
 
 
GetAmazonRSS

GetAmazonRSS(String t, Integer devt, String kwd, String mode, String bcm)
Returns: Integer

Inbuilt function to retrieve Amazon.com content. Automatically constructs the URL of your Amazon content based on the specified parameters, and is otherwise identical to the GetRSS function.

Parameters

t Associate Tag
devt Developer Token
kwd Search keyword
mode Search mode, e.g., 'books-uk'
bcm Channel title

'display amazon content
rss.GetAmazonRSS(t, DevToken, kwd, mode, bcm)


The value of ContentURL is set to the location of the RSS XML.

Top
 
 
AddHeader

AddHeader(String strKey, String strValue)
Returns: None

Add header to the HTTP request

'Add header
rss.Addheader("Accept-Language", "en-us")

Top
 
 
DeleteCache

DeleteCache()
Returns: None

Delete files in the cache

'delete cached content
rss.DeleteCache()

Top
 
 
Transform

Transform(String xslt)
Returns: String

Transform the results with the specified XSL stylesheet

'transform xml with xsl
StrHTML = rss.Transform("style.xsl")

Top
 
 
XMLValue

XMLValue(String node)
Returns: String

XML-handling function to return the value of a node of the results

'get xml node value
Str = rss.XMLValue("//rss/channel/copyright")

Top
 
 
Shorten

Shorten(String strtotshorten, Integer wds, String addifShortened)
Returns: String

This string-handling function shortens a text string to specified number of words, adding the specified string to the end if shortened.

'shorten string
shortStr = rss.Shorten(longStr, 10, "...")

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