renodino has asked for the wisdom of the Perl Monks concerning the following question:
Turns out the solution can be generalized to convert any HTML with a nested list (<ul> or <ol>) TOC to a JS Tree widget...which makes me think there's a CPAN module that already does this, but I haven't found the search terms to locate it.
(As an example of the different output, see this old page vs. the converted page.)
Update
Done. See HTML::ListToTree.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Convert nested list HTML TOC to JS Tree ?
by shmem (Chancellor) on Jun 03, 2007 at 09:55 UTC | |
|
Re: Convert nested list HTML TOC to JS Tree ?
by trwww (Priest) on Jun 03, 2007 at 19:58 UTC | |
by renodino (Curate) on Jun 04, 2007 at 17:41 UTC |