Skip to main content

%ZEN.Mobile.RSS.API

Class %ZEN.Mobile.RSS.API Extends %RegisteredObject [ Deprecated, System = 3 ]

This class provides the API for the RSS implementation

Methods

%CreateApplication

ClassMethod %CreateApplication(pName As %String, pDescription As %String, Output pApplication As Application) As %Status

Create an application, at minimum a name and description must be supplied

%TestFeed

ClassMethod %TestFeed(pURL As %String, Output pStatus As %Status, pTimeout As %Integer = -1, pHttpRequest As %Net.HttpRequest = "") As %Boolean

Test a Feed, URL must be supplied. Optionally supplied a preconfigured HttpRequest. Returns True if an Accessible Feed, Otherwise false. If false examine pStatus for an an explanation of why the feed is not accessible ( if you care )

%DeleteApplication

ClassMethod %DeleteApplication(pName As %String) As %Status [ CodeMode = expression ]

Delete a named application

%ExistsApplication

ClassMethod %ExistsApplication(pName As %String) As %Boolean [ CodeMode = expression ]

Test for existence of a named application

%ListApplications

ClassMethod %ListApplications(Output pNames As %String) As %Status

Returns a list of defined applications

%OpenApplication

ClassMethod %OpenApplication(pName As %String, Output pObject As Application) As %Status

Open a named application

%Exercise

ClassMethod %Exercise(pFeedURL As %String = "feed://www.npr.org/rss/rss.php?id=1001")

Exercise the API