class

RSS::Cloud

Inherits RSS::Element / Reference / Object

Optional sub-element of a channel.

It specifies a web service that supports the rssCloud interface which can be implemented in HTTP-POST, XML-RPC or SOAP 1.1.

Its purpose is to allow processes to register with a cloud to be notified of updates to the channel, implementing a lightweight publish-subscribe protocol for RSS feeds.

<cloud domain="radio.xmlstoragesystem.com" port="80" path="/RPC2" registerProcedure="xmlStorageSystem.rssPleaseNotify" protocol="xml-rpc" />

In this example, to request notification on the channel it appears in, you would send an XML-RPC message to radio.xmlstoragesystem.com on port 80, with a path of /RPC2. The procedure to call is xmlStorageSystem.rssPleaseNotify.

A full explanation of this element and the rssCloud interface is here.

Constructors

new(domain : URI | String, port : Int32, path : String, register_procedure : String, protocol : String)
Source

Instance methods

domain
Source
domain=(domain : URI)
Source
path
Source
path=(path : String)
Source
port
Source
port=(port : Int32)
Source
protocol
Source
protocol=(protocol : String)
Source
register_procedure
Source
register_procedure=(register_procedure : String)
Source
to_xml(xml : XML::Builder)

Writes the generated XML to the provided xml builder.

Source