[Htmlparser-developer] Re: [Htmlparser-user] Integration Release 1.3-20030223 is out (API changes)
Brought to you by:
derrickoswald
From: Somik R. <so...@ya...> - 2003-02-24 18:12:00
|
I was trying to integrate the changes of the latest parser with some existing projects at work - and of course, I had to modify the code to use the new API. I had some suggestions - as I know many of you will be facing the same issue. I use Eclipse, and I hope most of you use a decent IDE that supports refactoring. Get the parser into your IDE, and let all your other project code refer to it (thats how it is setup in my IDE). Then, rename Parser to HTMLParser using your refactoring tool. Rename it back to Parser, and all your existing code will automatically get fixed. Do this for some other classes like HTMLNode/Node, etc.. and within minutes it should be done. Regards, Somik --- Somik Raha <so...@ya...> wrote: > Hi Folks, > This week's release is out. I've finally taken > heed of all the feedback > I had been receiving about the terrible naming > convention, and have removed > "HTML" from all class names. In addition, > HTMLEnumeration is now > NodeIterator and SimpleEnumeration is > SimpleNodeIterator. HTMLParser is just > Parser. > > This is a big step, so to make it easy for > everyone, there have been no > major bug fixes that will require you to upgrade > right away. I apologize in > advance for inconvenience caused - I hope you don't > curse me too much for > having to modify your programs. I had the option of > doing it in stages, and > forcing you to modify some small thing in every > release, or get it over with > in one sweep. I chose the latter bcos there were too > many changes and > suffering over a long period of time didn't make > sense. Hopefully, once you > have migrated to the new names, you will appreciate > not having to type > "HTML" each time. > > The BodyScanner contributed by Dhaval Udani is > finally in (Dhaval - > sorry for the delay). > The interesting part is that the documentation > accompanying the package > is now the latest one on the site - it has been > ripped off a Php Wiki. I am > thinking that the ripping program might be useful > for those who wish to > provide wiki content as offline documentation (any > feedback on this is > welcome). > > From the change log : > Integration build 1.3 - 20030223 > -------------------------------- > [1] Modification of documentation packaging > - the new documentation is actually produced > by a tiny program that coverts wiki pages > into documentation (works with PhpWiki) > [2] Inclusion of BodyScanner, BodyTag > [3] HTMLVisitor is now NodeVisitor - and has an > extra param to > visit itself > [4] HTMLParser is now Parser. No class has HTML > prefix anymore. > [5] HTMLEnumeration is now NodeIterator, > SimpleEnumeration is > SimpleNodeIterator > > Regards, > Somik > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. > Develop an edge. > The most comprehensive and flexible code editor you > can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. > FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |