Re: 2nd try: reusing parsing of LinkExtor for FormatText

Gisle Aas (aas@bergen.sn.no)
Tue, 08 Oct 1996 14:08:16 +0200


In message <199610080916.CAA19647@kelly.teleport.com>, Aaron Nabil writes:
> I'd like to use LinkExtor and then FormatText without re-parsing the html.

You can't.

FormatText needs the HTML syntax tree built by the TreeBuilder.  You 
can try to use the extract_links() method on the syntax tree though.

--Gisle