Hi Somik,
I finally got round to making the NeuroGridHTMLParser work with the
latest version of the HTMLParser. A number of issues have arisen.
Most importantly I seem to get a lot of debug output text that I would
prefer to avoid, see the examples below. Perhaps I'm mistaken but this
seems to be output by default. Is there some way for me to avoid getting
this debug output?
Also as I was upgrading various parts of the software there were
naturally a few method name changes such as:
HTMLEndTag.getContent() --> HTMLEndTag.getTagName()
since there were no notes in the javadoc I had to run the following:
HTMLEndTag x_end_tag =(HTMLEndTag)p_node;
o_cat.debug("x_end_tag.toString(): " + x_end_tag.toString());
o_cat.debug("x_end_tag.toHTML(): " + x_end_tag.toHTML());
o_cat.debug("x_end_tag.toPlainTextString(): " +
x_end_tag.toPlainTextString());
o_cat.debug("x_end_tag.getTagName(): " + x_end_tag.getTagName());
o_cat.debug("x_end_tag.getText(): " + x_end_tag.getText());
to determine which of the new method calls would give me which kind of
data. Not such an important point, just a nudge about the importance of
providing method descriptions (ideally with examples) for your javadoc :-)
Keep up the good work on this project.
CHEERS> SAM
========auto-debug examples =============
; begins at : -1; ends at : -1
Text = to provide a means to discover that the data set exists and how
it might be obtained or accessed; and
; begins at : -1; ends at : -1
Text = to document the content, quality, and features of a data set,
indicating its fitness for use.
; begins at : -1; ends at : -1
Text = NOTE:
; begins at : -1; ends at : -1
and
LinkData
--------
0 Begin Tag : IMG ALIGN=left WIDTH=31 HEIGHT=31 BORDER=0
SRC="../pics/misc/nscape1.gif" ALT="nscape1.gif"; begins at : 0; ends at
: 48
*** END of LinkData ***
Link to : http://cgi.netscape.com/cgi-bin/123.cgiurllist; titled : ;
begins at : 0; ends at : 53, AccessKey=null
LinkData
--------
0 Begin Tag : IMG ALIGN=right WIDTH=31 HEIGHT=31 BORDER=0
SRC="../pics/misc/nscape1.gif" ALT="nscape1.gif"; begins at : 0; ends at
: 48
*** END of LinkData ***
and
META TAG
--------
Http-Equiv : null
Name : Description
Contents : Examples of HTML META tag codes
META TAG
--------
Http-Equiv : null
Name : KeyWords
Contents : HTML, META
|