cpp-ElementTree
Python ElementTree-alike XML API for C++
Classes | Enumerations | Functions
etree::feed Namespace Reference

RSS/ATOM feed parser implementation. More...

Classes

class  Feed
 Represents a feed. More...
 
class  Item
 Represent a single feed item. More...
 

Enumerations

Functions

Feed create (enum feed_format format)
 Create a new completely empty feed in the specified format.
 
Feed fromelement (Element elem)
 Wrap an Element containing a feed and return a reference. More...
 

Detailed Description

RSS/ATOM feed parser implementation.

Enumeration Type Documentation

Enumeration of possible content types for an element's content.

Enumerator
CTYPE_TEXT 

Equivalent to MIME type text/plain.

CTYPE_HTML 

Equivalent to MIME type text/html.

Enumeration of supported feed types.

Enumerator
FORMAT_RSS20 

RSS 2.0.

FORMAT_ATOM 

ATOM.

Function Documentation

Feed etree::feed::fromelement ( Element  elem)

Wrap an Element containing a feed and return a reference.

Parameters
elemParsed feed as an Element.
Returns
Feed reference.