Trees | Index | Help |
---|
Module feed_handler :: Class FeedHandler |
|
ContentHandler
--+
|
FeedHandler
Method Summary | |
---|---|
Initialize feed object, interpreter state and content | |
Accumulates text (called by SAX parser) | |
Strips material that won't look good in plain text | |
Collects element content, switches state as appropriate (called by SAX parser) | |
Checks if element may contain item/entry content | |
Turns <br/> into then removes all <tags> | |
Identifies nature of element in feed (called by SAX parser) | |
Trim string length neatly | |
Inherited from ContentHandler | |
Receive notification of the end of a document. | |
Signals the end of an element in non-namespace mode. | |
End the scope of a prefix-URI mapping. | |
Receive notification of ignorable whitespace in element content. | |
Receive notification of a processing instruction. | |
Called by the parser to give the application a locator for locating the origin of document events. | |
Receive notification of a skipped entity. | |
Receive notification of the beginning of a document. | |
Signals the start of an element in non-namespace mode. | |
Begin the scope of a prefix-URI Namespace mapping. |
Method Details |
---|
__init__(self)
Initialize feed object, interpreter state and content
|
characters(self, text)Accumulates text (called by SAX parser) |
cleanup_text(self, text)Strips material that won't look good in plain text |
endElementNS(self, name, qname)Collects element content, switches state as appropriate (called by SAX parser) |
is_content_element(self, localname)Checks if element may contain item/entry content |
process_tags(self, string)Turns <br/> into then removes all <tags> |
startElementNS(self, name, qname, attributes)Identifies nature of element in feed (called by SAX parser) |
trim(self, text)Trim string length neatly |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu May 27 10:33:26 2004 | http://epydoc.sf.net |