Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

RSSLoadFeed Function

Overview

The RSSLoadFeed function loads a specified file from a local file or remote URI, parses the contents and creates and index of news/store items which can be enumerated. The source can be RSS or Atom XML format.

Syntax/Parameters

Syntax

handle = RSSLoadFeed ( string uri );

Parameters

uri

A string to a qualified filename or URI.

Return Value

A handle to an RSS Object or NULL_HANDLE on failure. Use the GetLastError function to retrieve a reformatted error code. Use the CloseHandle function to close the object.

Remarks

The RSS Object parser is exceptionally liberal with incoming format. However, if the source file is not RSS or Atom, or other serious errors occur, a error will be returned.

Once a feed file is loaded, its content is static. To refresh the content, close the object and reload the feed.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic