PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Loads a RSS stream in memory.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
MyRSSStream is rssStream
MyRSSStream = rssInitialize("http://blogs.webdev.info/rss.awp?blog=technicalsupport", fromURL)
Syntax
<Result> = rssInitialize(<Source of RSS Stream> [, <Type of Source>])
<Result>: rssStream variable
rssStream variable that contains the characteristics of the specified RSS stream. If the initialization of the stream fails, the stream is empty and ErrorInfo returns more details about the error.
<Source of RSS Stream>: Character string
Source of the RSS stream used for the initialization. This parameter can correspond to:
  • An Ansi character string or a buffer containing the content of the RSS stream. In this case, <Type of Source> must correspond to the fromString constant.
  • A character string containing the full path of an XML file. This file must be accessible from the current computer. In this case, <Type of Source> must correspond to the fromFile constant.
  • A character string containing the URL address. The content of the RSS stream is retrieved from this URL. In this case, <Type of Source> must correspond to the fromURL constant.
<Type of Source>: Optional Integer constant
Indicates the source of the RSS stream to load.
fromStringThe RSS stream to load is contained in an Ansi character string or in a buffer.
fromFileThe RSS stream to load is contained in a file.
fromURLThe RSS stream to load is accessible by a URL.
An automatic detection is performed if this parameter is not specified. The type of the source is automatically deduced from <Source of RSS Stream>:
  • if <Source of RSS Stream> starts with "http://", the fromURL constant will be automatically used.
  • if <Source of RSS Stream> starts with a drive letter or with a UNC path, the fromFile constant will be automatically used.
  • otherwise, the fromString constant will be automatically used.
Remarks
Only the streams in RSS 2.0 format are currently supported.
Related Examples:
The RSS functions Unit examples (WINDEV): The RSS functions
[ + ] Using the WLanguage RSS functions.
These functions are used to read and create a stream.
These functions can be handled by specific types of variables: rssStream, rssChannel,...
WW_RSS_Stream Training (WEBDEV): WW_RSS_Stream
[ + ] This example explains how to read and display a RSS stream in a WEBDEV page via the RSS type and via the WLanguage functions for handling RSS.
A reusable control template is used to display the RSS data.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230xml.dll
Windows Mobile wp230xml.dll
Linux wd230xml.so
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment