Package gozerbot :: Package contrib :: Module feedparser :: Class _RelativeURIResolver
[hide private]
[frames] | no frames]

Class _RelativeURIResolver

source code

markupbase.ParserBase --+        
                        |        
       sgmllib.SGMLParser --+    
                            |    
           _BaseHTMLProcessor --+
                                |
                               _RelativeURIResolver

Instance Methods [hide private]
 
__init__(self, baseuri, encoding)
Initialize and reset this instance.
source code
 
resolveURI(self, uri) source code
 
unknown_starttag(self, tag, attrs) source code

Inherited from _BaseHTMLProcessor: feed, handle_charref, handle_comment, handle_data, handle_decl, handle_entityref, handle_pi, normalize_attrs, output, reset, unknown_endtag

Inherited from sgmllib.SGMLParser: close, error, finish_endtag, finish_shorttag, finish_starttag, get_starttag_text, goahead, handle_endtag, handle_starttag, parse_endtag, parse_pi, parse_starttag, report_unbalanced, setliteral, setnomoretags, unknown_charref, unknown_entityref

Inherited from markupbase.ParserBase: getpos, parse_comment, parse_declaration, parse_marked_section, unknown_decl, updatepos

Inherited from markupbase.ParserBase (private): _parse_doctype_attlist, _parse_doctype_element, _parse_doctype_entity, _parse_doctype_notation, _parse_doctype_subset

Class Variables [hide private]
  relative_uris = [('a', 'href'), ('applet', 'codebase'), ('area...

Inherited from _BaseHTMLProcessor: elements_no_end_tag

Inherited from sgmllib.SGMLParser: entitydefs

Inherited from sgmllib.SGMLParser (private): _decl_otherchars

Method Details [hide private]

__init__(self, baseuri, encoding)
(Constructor)

source code 

Initialize and reset this instance.

Overrides: markupbase.ParserBase.__init__

unknown_starttag(self, tag, attrs)

source code 
Overrides: sgmllib.SGMLParser.unknown_starttag

Class Variable Details [hide private]

relative_uris

Value:
[('a', 'href'),
 ('applet', 'codebase'),
 ('area', 'href'),
 ('blockquote', 'cite'),
 ('body', 'background'),
 ('del', 'cite'),
 ('form', 'action'),
 ('frame', 'longdesc'),
...