Establishing a Connection
The objects available within our connector are accessible from the "cdata.rss" module. To use the module's objects directly:
- Import the module as follows:
import cdata.rss as mod
- To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
mod.connect("URI=http://myservice/myfeed/;")
The CData Python Connector for RSS supports connecting to RSS and Atom feeds, as well as feeds with custom extensions. To connect to a feed, set the URI property. The connector also supports accessing secure feeds. A variety of authentication mechanisms are supported. See the connection properties for details.