Re: extract_links - Parse.pm -Parser.pm

Gisle Aas (aas@bergen.sn.no)
11 Jul 1997 13:03:27 +0200


Luuk de Boer <luuk_de_boer@pi.net> writes:

> There is still the frame bug in extract_link. Hereby I would like to 
> ask Gisle to add a simple extra line to Body element in 
> Treebuilder.pm with frame so extract_link will get also the links on 
> a frame page with frame html commands.

I have hesitated to do that because <framset> and <frame> are not
really Body elements.  The whole idea of a HTML::TreeBuilder needs
rethinking.

http://www.w3.org/TR/WD-html40-970708/sgml/HTML4.dtd

<!ENTITY % html.content "HEAD, (FRAMESET|BODY)">
<!ELEMENT FRAMESET - - ((FRAMESET|FRAME)+ & NOFRAMES?)>
<!ELEMENT BODY O O  (%block) -(BODY) +(INS|DEL)>

-- 
Gisle Aas <aas@sn.no>