| Home | Trees | Indices | Help |
|
|---|
|
|
Author: Andres Riancho ( andres.riancho@gmail.com )
|
|||
| __init__(self, document, baseUrl, useTidy=True, verbose=0) | ||
|
_findMetaRedir(self,
tag,
attrs) Find meta tag redirections, like this one: <META HTTP-EQUIV="refresh" content="4;URL=http://www.f00.us/"> |
||
|
_findReferences(self,
tag,
attrs) This method finds references inside a document. |
||
|
_parse(self,
s) This method parses the document. |
||
|
_parseMetaTags(self,
tag,
attrs) This method parses the meta tags and creates a list of tuples with their values. |
||
| getAccounts(self) | ||
| getComments(self) | ||
| getForms(self) | ||
| getMetaRedir(self) | ||
| getMetaTags(self) | ||
|
getReferences(self) Searches for references on a page. |
||
|
handle_comment(self,
text) This method is called by parse when a comment is found. |
||
|
unknown_starttag(self,
tag,
attrs) Called for each start tag attrs is a list of (attr, value) tuples e.g. |
||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
Called for each start tag attrs is a list of (attr, value) tuples e.g. for <pre class="screen">, tag="pre", attrs=[("class", "screen")] Note that improperly embedded non-HTML code (like client-side Javascript) may be parsed incorrectly by the ancestor, causing runtime script errors. All non-HTML code must be enclosed in HTML comment tags (<!-- code -->) to ensure that it will pass through this parser unaltered (in handle_comment).
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Thu Oct 18 19:37:40 2007 | http://epydoc.sourceforge.net |