Uh-oh. Newbie code ahead. You have been warned. Thank you all for helping me with my questions! splits2d.pl can be used to split one or more HTML files of links, or bookmarks, into a set of HTML files of links, or bookmarks, by category. As currently written, splits2d prefers two types of HTML as input: bookmark files and splits2d's own output. It has not been extensively tested with other types of HTML.
Output files are overwritten without warning. If you run it, please read the included documentation, which I tried to make fairly thorough. Uh-oh, I forgot to add 2 more bugs to it: it expects the template to be in the current directory; and output files always go to the current directory and they are always named page1.html, page2.html, etc. Make that 3 bugs. Unfortunately, this perl script has only been tested on Windows, and I decided to put the script and supporting files in a zip file. However, the script was saved in Unix format. Any feedback is welcome. It uses widely available modules but I couldn't find anything out there that did this exactly. The scripts that I found didn't preserve the link descriptions as defined by <dd> tags, and I tend to save bookmarks in Yahoo and export to Netscape bookmark files which have those descriptions. Also I wanted splits2d.pl to be able to read its own output as input (and it does). splits2d.pl requires the following modules (some of these are core modules): File:Basename, G (thanks Jenda), HTML::TokeParser, HTMLTMPL, Getopt::Long, Pod::Usage, Time::HiRes splits2d.zip, which contains splits2d.pl and supporting files (including a sample input file bookmarks.html to play with), can be found at this link if anyone's interested: URL:http://www.webneed.net/~heydave/work-in-progress/ Dave ---- Sometimes it really is the messenger's fault. Sometimes you really did miss a spot. -- myself -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]