Package openid :: Package yadis :: Module parsehtml
[frames] | no frames]

Module parsehtml

source code

Classes
  MetaNotFound
Exception to hold the content of the page if we did not find the appropriate <meta> tag
Functions
str
findHTMLMeta(stream)
Look for a meta http-equiv tag with the YADIS header name.
source code
Function Details

findHTMLMeta(stream)

source code 

Look for a meta http-equiv tag with the YADIS header name.

Parameters:
  • stream (Object that implements a read() method that works like file.read) - Source of the html text
Returns: str
The URI from which to fetch the XRDS document
Raises:
  • MetaNotFound - raised with the content that was searched as the first parameter.