HTML-Tree

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

   Release by Sean M. Burke <sburke@cpan.org>

   -- a few new features.

   Added the aliases "descendents" and "find" to HTML::Element.

   Added a new method "simplify_pres" to HTML::Element.


3.14     2002-10-19
   Release by Sean M. Burke <sburke@cpan.org>

   -- minor bugfix

   Just fixes a few problems in HTML::Element with the number_lists
   method.


3.13     2002-08-16
   Release by Sean M. Burke <sburke@cpan.org>

   -- basically a bugfix version

   It turns out that 3.12 had a hideous HTML::TreeBuilder bug that
   made the whole thing damn near useless.  Fixed.
   Many many thanks to Michael Koehne for catching this!

   Wrote t/parse.t, to catch this sort of thing from happening again.

   Fixed a bug that would treat <td> outside any table context
   as <tr><table><td> instead of <table><tr><td>


3.12     2002-07-30
   Release by Sean M. Burke <sburke@cpan.org>

   Added as_trimmed_text method to HTML::Element, as described
   (prophesied?) in the fantabulous new book /Perl & LWP/.

   Bugfix: fixed unshift_content when given a LoL.  (_parent wasn't
   getting set right.)

   HTML::Element and HTML::TreeBuilder now enforce at least some
   minimal sanity on what can be in a tag name.  (Notably, no spaces,
   slashes, or control characters.)

   Semi-bugfix: $element->replace_with(...) can now take LoLs in its
   replacement list.

   Bumped HTML::Element version up to 3.12 (right from 3.09)

   Semi-bugfix: as_XML now doesn't use named entities in its return
   value -- it always uses numeric entities.

   Added behavior: new_frow_lol can now do clever things in list
   context.

   HTML::Tree -- added blurb for /Perl & LWP/

   HTML::TreeBuilder -- added blurb for /Perl & LWP/
   Also added a few tweaks to do better with XHTML parsing.
   Added guts() and disembowel() methods, for parsing document fragments.

   TODO: desperately need to add tests to t/


3.11     2001-03-14
   Release by Sean M. Burke <sburke@cpan.org>

   Bugfix: Klaus-Georg Adams <Klaus-Georg.Adams@sap.com> reported that
   the topmost frameset element in an HTML::TreeBuilder tree wasn't
   getting its _parent attribute set.  Fixed.

   Minor bugfix: the root element of a new HTML::TreeBuilder tree was
   missing its initial "_implicit" attribute.  Fixed.

   Two handy new methods in HTML::TreeBuilder:
    * HTML::TreeBuilder->new_from_content(...)
    * HTML::TreeBuilder->new_from_file($filename)
       a.k.a.: HTML::TreeBuilder->new_from_file($fh)


3.10     2001-03-10
   Release by Sean M. Burke <sburke@cpan.org>

   Now bundling three relevent The Perl Journal articles by me:
   HTML::Tree::AboutObjects, HTML::Tree::AboutTrees, and
   HTML::Tree::Scanning.

   Vadims_Beilins@swh-t.lv observes that $h->push_content(LoL)
   doesn't take care of _parent bookkeeping right.  FIXED.
   John Woffindin <john@xoren.co.nz> notes a similar bug in clone();
   FIXED.

   Adding no_space_compacting feature to TreeBuilder, at suggestion of
   Victor Wagner <vitus@ice.ru>.

   Incorporating the clever suggestion (from Martin H. Sluka,
   <martin@sluka.de>) that $element->extract_links's returned LoL
   should contain a third item (for the attribute name) in the
   per-link listref.  I also add a fourth item, the tagname of the
   element.

   New method, "elementify", in HTML::TreeBuilder.

   Various improvements and clarifications to the POD in
   HTML::TreeBuilder and HTML::Element.

   Some new methods in HTML::Element: "number_lists",
   "objectify_text", and "deobjectify_text".

   HTML::Element and HTML::TreeBuilder versions both bumped up from
   3.08 to 3.10, to keep pace with the HTML::Tree version.


3.09     2001-01-21
   Release by Sean M. Burke <sburke@cpan.org>

   Changed HTML/Element/traverse.pod to HTML/Element/traverse.pm

   Wrote overview file: HTML/Tree.pm



( run in 3.178 seconds using v1.01-cache-2.11-cpan-119454b85a5 )