webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Functions | Variables
planet.feedparser Namespace Reference

Functions

def dict (aList)
 
def zopeCompatibilityHack ()
 
def registerDateHandler (func)
 
def parse (url_file_stream_or_string, etag=None, modified=None, agent=None, referrer=None, handlers=[])
 

Variables

 USER_AGENT
 
 ACCEPT_HEADER
 
 PREFERRED_XML_PARSERS
 
 TIDY_MARKUP
 
 PREFERRED_TIDY_INTERFACES
 
 gzip
 
 zlib
 
 base64
 
 binascii
 
 chardet
 
 tagfind
 
 special
 
 charref
 
 SUPPORTED_VERSIONS
 
 UserDict
 
 cp1252
 
 urls
 
 result
 

Detailed Description

Universal feed parser

Handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds

Visit http://feedparser.org/ for the latest version
Visit http://feedparser.org/docs/ for the latest documentation

Required: Python 2.1 or later
Recommended: Python 2.3 or later
Recommended: CJKCodecs and iconv_codec <http://cjkpython.i18n.org/>

Function Documentation

◆ dict()

def planet.feedparser.dict (   aList)

◆ parse()

def planet.feedparser.parse (   url_file_stream_or_string,
  etag = None,
  modified = None,
  agent = None,
  referrer = None,
  handlers = [] 
)
Parse a feed from a URL, file, stream, or string

◆ registerDateHandler()

def planet.feedparser.registerDateHandler (   func)
Register a date handler function (takes string, returns 9-tuple date in GMT)

◆ zopeCompatibilityHack()

def planet.feedparser.zopeCompatibilityHack ( )

Variable Documentation

◆ ACCEPT_HEADER

planet.feedparser.ACCEPT_HEADER

◆ base64

planet.feedparser.base64

◆ binascii

planet.feedparser.binascii

◆ chardet

planet.feedparser.chardet

◆ charref

planet.feedparser.charref

◆ cp1252

planet.feedparser.cp1252

◆ gzip

planet.feedparser.gzip

◆ PREFERRED_TIDY_INTERFACES

planet.feedparser.PREFERRED_TIDY_INTERFACES

◆ PREFERRED_XML_PARSERS

planet.feedparser.PREFERRED_XML_PARSERS

◆ result

planet.feedparser.result

◆ special

planet.feedparser.special

◆ SUPPORTED_VERSIONS

planet.feedparser.SUPPORTED_VERSIONS

◆ tagfind

planet.feedparser.tagfind

◆ TIDY_MARKUP

planet.feedparser.TIDY_MARKUP

◆ urls

planet.feedparser.urls

◆ USER_AGENT

planet.feedparser.USER_AGENT

◆ UserDict

planet.feedparser.UserDict

◆ zlib

planet.feedparser.zlib