htmlparser-user Mailing List for HTML Parser (Page 86)
Brought to you by:
derrickoswald
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(7) |
Feb
|
Mar
(9) |
Apr
(50) |
May
(20) |
Jun
(47) |
Jul
(37) |
Aug
(32) |
Sep
(30) |
Oct
(11) |
Nov
(37) |
Dec
(47) |
2003 |
Jan
(31) |
Feb
(70) |
Mar
(67) |
Apr
(34) |
May
(66) |
Jun
(25) |
Jul
(48) |
Aug
(43) |
Sep
(58) |
Oct
(25) |
Nov
(10) |
Dec
(25) |
2004 |
Jan
(38) |
Feb
(17) |
Mar
(24) |
Apr
(25) |
May
(11) |
Jun
(6) |
Jul
(24) |
Aug
(42) |
Sep
(13) |
Oct
(17) |
Nov
(13) |
Dec
(44) |
2005 |
Jan
(10) |
Feb
(16) |
Mar
(16) |
Apr
(23) |
May
(6) |
Jun
(19) |
Jul
(39) |
Aug
(15) |
Sep
(40) |
Oct
(49) |
Nov
(29) |
Dec
(41) |
2006 |
Jan
(28) |
Feb
(24) |
Mar
(52) |
Apr
(41) |
May
(31) |
Jun
(34) |
Jul
(22) |
Aug
(12) |
Sep
(11) |
Oct
(11) |
Nov
(11) |
Dec
(4) |
2007 |
Jan
(39) |
Feb
(13) |
Mar
(16) |
Apr
(24) |
May
(13) |
Jun
(12) |
Jul
(21) |
Aug
(61) |
Sep
(31) |
Oct
(13) |
Nov
(32) |
Dec
(15) |
2008 |
Jan
(7) |
Feb
(8) |
Mar
(14) |
Apr
(12) |
May
(23) |
Jun
(20) |
Jul
(9) |
Aug
(6) |
Sep
(2) |
Oct
(7) |
Nov
(3) |
Dec
(2) |
2009 |
Jan
(5) |
Feb
(8) |
Mar
(10) |
Apr
(22) |
May
(85) |
Jun
(82) |
Jul
(45) |
Aug
(28) |
Sep
(26) |
Oct
(50) |
Nov
(8) |
Dec
(16) |
2010 |
Jan
(3) |
Feb
(11) |
Mar
(39) |
Apr
(56) |
May
(80) |
Jun
(64) |
Jul
(49) |
Aug
(48) |
Sep
(16) |
Oct
(3) |
Nov
(5) |
Dec
(5) |
2011 |
Jan
(13) |
Feb
|
Mar
(1) |
Apr
(7) |
May
(7) |
Jun
(7) |
Jul
(7) |
Aug
(8) |
Sep
|
Oct
(6) |
Nov
(2) |
Dec
|
2012 |
Jan
(5) |
Feb
|
Mar
(3) |
Apr
(3) |
May
(4) |
Jun
(8) |
Jul
(1) |
Aug
(5) |
Sep
(10) |
Oct
(3) |
Nov
(2) |
Dec
(4) |
2013 |
Jan
(4) |
Feb
(2) |
Mar
(7) |
Apr
(7) |
May
(6) |
Jun
(7) |
Jul
(3) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2014 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
(4) |
Nov
(2) |
Dec
(4) |
2015 |
Jan
(4) |
Feb
(2) |
Mar
(8) |
Apr
(7) |
May
(6) |
Jun
(7) |
Jul
(3) |
Aug
(1) |
Sep
(1) |
Oct
(4) |
Nov
(3) |
Dec
(4) |
2016 |
Jan
(4) |
Feb
(6) |
Mar
(9) |
Apr
(9) |
May
(6) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2017 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(2) |
Aug
(3) |
Sep
(6) |
Oct
(3) |
Nov
(2) |
Dec
(5) |
2018 |
Jan
(3) |
Feb
(13) |
Mar
(28) |
Apr
(5) |
May
(4) |
Jun
(2) |
Jul
(2) |
Aug
(8) |
Sep
(2) |
Oct
(1) |
Nov
(5) |
Dec
(1) |
2019 |
Jan
(8) |
Feb
(1) |
Mar
|
Apr
(1) |
May
(4) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(2) |
2020 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
(2) |
Jul
(1) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(1) |
2021 |
Jan
(3) |
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
(1) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: ken z. <ken...@ya...> - 2003-01-24 05:17:22
|
Dear Helpers, I am Ken Zhao and would like to know whether this HTML parser can parse any HTML file. I want to write a software application or tool to get the data from the server without login the server web site. The scenario is as follows: I use POST method and HTTP protocol to send a request to the server that returns the data with HTML format. I have to parse the data from this HTML file ( I don't know whether your application can help me to do this ?). Can I write a tool to automatically login my account to get the data from returning the HTML source file by parsing this HTML file page by page using your html parser? How do I do it if yes and how complex is it? Thank you for your time and effort. Ken ===== Ken Zhao Phone:(613) 270-0188 E-mail:ken...@ya... __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Somik R. <so...@ya...> - 2003-01-22 23:47:55
|
> Can someone give me some direction in using the > formscanner and formTag to > parse form elements like the buttons (submit, > cancel, etc) on a html page. Just rig up the parser as usual (parser.registerScanners()) - and check your node to see if it is a form tag. If it is, cast it and use the api. Use searchFor, or searchByName (in HTMLFormTag). The former gets anything that contains the given text, while the latter gives named elements within the form (as subclasses of HTMLTag). Regards, Somik __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: ope t. <op...@ho...> - 2003-01-22 18:24:59
|
Can someone give me some direction in using the formscanner and formTag to parse form elements like the buttons (submit, cancel, etc) on a html page. greatly appreciated and urgently needed Thanks! Ope _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 |
From: Pavan P. <pav...@pe...> - 2003-01-20 03:41:18
|
Yes, that's right Derrick. ~ Pavan ----- Original Message ----- From: "Derrick Oswald" <Der...@ro...> To: <htm...@li...> Sent: Monday, January 20, 2003 5:57 AM Subject: [Htmlparser-user] Re: Htmlparser-user digest, Vol 1 #171 - 1 msg > Pavan, > > The HTMLLinkTag class has methods to determine the type: isMailLink(), > isJavascriptLink(), isFTPLink(), isHTTPLink(), isHTTPSLink() and > isHTTPLikeLink(). > > By a FILE link do you mean something like file:///C:/config.sys? > > Derrick > > htm...@li... wrote: > > >From: "Pavan Podila" <pav...@pe...> > >To: <htm...@li...> > >Date: Sun, 19 Jan 2003 17:49:47 +0530 > >Organization: P S P L > >Subject: [Htmlparser-user] getLink() method of HTMLLinkTag doesn't work properly > >Reply-To: htm...@li... > > > >Hello, > > The getLink() method of HTMLLinkTag doesn't return proper values for > >MAILTO, JAVASCRIPT AND FILE links. For example for MAILTO links which > >appear as: > ><a href=3D"mailto:he...@he..."> mailto link </a>, the getLink() > >method returns only he...@he... (without the "mailto:"). I think it > >should be returning mailto:he...@he.... Similar behaviour occurs for > >JAVASCRIPT link and FILE links don't get detected at all. > > My application depends crucially upon the presence of these > >protocols in the link and the inclusion of the protocol as part of the > >link will greatly help me. I am facing lot of problems because of this > >behaviour. Please help. > > > >thanks, > >Pavan > > > > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: FREE SSL Guide from Thawte > are you planning your Web Server Security? Click here to get a FREE > Thawte SSL guide and find the answers to all your SSL security issues. > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user |
From: Derrick O. <Der...@ro...> - 2003-01-20 00:20:24
|
Pavan, The HTMLLinkTag class has methods to determine the type: isMailLink(), isJavascriptLink(), isFTPLink(), isHTTPLink(), isHTTPSLink() and isHTTPLikeLink(). By a FILE link do you mean something like file:///C:/config.sys? Derrick htm...@li... wrote: >From: "Pavan Podila" <pav...@pe...> >To: <htm...@li...> >Date: Sun, 19 Jan 2003 17:49:47 +0530 >Organization: P S P L >Subject: [Htmlparser-user] getLink() method of HTMLLinkTag doesn't work properly >Reply-To: htm...@li... > >Hello, > The getLink() method of HTMLLinkTag doesn't return proper values for >MAILTO, JAVASCRIPT AND FILE links. For example for MAILTO links which >appear as: ><a href=3D"mailto:he...@he..."> mailto link </a>, the getLink() >method returns only he...@he... (without the "mailto:"). I think it >should be returning mailto:he...@he.... Similar behaviour occurs for >JAVASCRIPT link and FILE links don't get detected at all. > My application depends crucially upon the presence of these >protocols in the link and the inclusion of the protocol as part of the >link will greatly help me. I am facing lot of problems because of this >behaviour. Please help. > >thanks, >Pavan > > |
From: Pavan P. <pav...@pe...> - 2003-01-19 12:18:33
|
Hello, The getLink() method of HTMLLinkTag doesn't return proper values for = MAILTO, JAVASCRIPT AND FILE links. For example for MAILTO links which = appear as: <a href=3D"mailto:he...@he..."> mailto link </a>, the getLink() = method returns only he...@he... (without the "mailto:"). I think it = should be returning mailto:he...@he.... Similar behaviour occurs for = JAVASCRIPT link and FILE links don't get detected at all.=20 My application depends crucially upon the presence of these = protocols in the link and the inclusion of the protocol as part of the = link will greatly help me. I am facing lot of problems because of this = behaviour. Please help. thanks, Pavan |
From: Somik R. <so...@ya...> - 2003-01-16 07:35:18
|
You could try passing the proxy params into the jvm like so : java -Dhttp.proxyHost 192.232.23... -Dhttp.proxyPort 43 -jar htmlparser.jar From within java, put this before your application makes the connection : System.getProperties().put("proxyHost","192.344.3.."); System.getProperties().put("proxyPort","43"); Bytway, you could also get a direct url connection by specifying the url in the c'tor (instead of using BufferedStream). Regards, Somik ----- Original Message ----- From: "anumodh narayanan kutty" <anu...@ho...> To: <htm...@li...> Sent: Wednesday, January 15, 2003 11:19 PM Subject: [Htmlparser-user] Having Proxy ,need to SET SYSTEM PROPERTY(URGENT) > Hello Somik, > > I used your htmlparser to get links,and suceeded, but for that I > read it from a file.I want to read from directly from URL, using > BufferedStream, which I did already using my code, by setting the SYSTEM > PROPERTY for PROXY.I couldn't find that in your Connect code, > Will that work with out setting SYSTEM PROPERTY,because I have PROXY in > between. > > ANUMODH > > > > > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* > http://join.msn.com/?page=features/virus > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: A Thawte Code Signing Certificate > is essential in establishing user confidence by providing assurance of > authenticity and code integrity. Download our Free Code Signing guide: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user |
From: anumodh n. k. <anu...@ho...> - 2003-01-16 07:20:01
|
Hello Somik, I used your htmlparser to get links,and suceeded, but for that I read it from a file.I want to read from directly from URL, using BufferedStream, which I did already using my code, by setting the SYSTEM PROPERTY for PROXY.I couldn't find that in your Connect code, Will that work with out setting SYSTEM PROPERTY,because I have PROXY in between. ANUMODH _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?page=features/virus |
From: Somik R. <so...@ya...> - 2003-01-14 02:40:28
|
> I am undertaking a project work on Web-document > clustering and summarizer,so > need to parse the HTML documents, I am using the > "ExtractLink" in > parserapplications directory of htmlparser1_2.I need > to get the web page > data also, which I think can do with your present > code,isn't it? Yes you could, though the code has been simplified a lot, and we should be putting up an example of it very soon. > Is it > thread safe? There are some issues with HTMLStringNode (parsing of strings), that are going to be fixed this week. But generally speaking, the parser is thread safe. > I am now going for > /htmlparser/htmlparser1_3_20030112.zip,I think > this is the new version,isn't it? Yes. Regards, Somik __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: anumodh n. k. <anu...@ho...> - 2003-01-13 22:12:41
|
Hello, I am undertaking a project work on Web-document clustering and summarizer,so need to parse the HTML documents, I am using the "ExtractLink" in parserapplications directory of htmlparser1_2.I need to get the web page data also, which I think can do with your present code,isn't it? Is it thread safe? I am now going for /htmlparser/htmlparser1_3_20030112.zip,I think this is the new version,isn't it? regards, ANUMODH (anu...@ho...) _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?page=features/virus |
From: Somik R. <so...@ya...> - 2003-01-13 05:09:39
|
> I am new to the HTMLParser and was wondering if it can > be used to parse non-HTML tags included in a HTML > file, like JSP custom tags, such as the Struts > <html:...> and <bean:....> tags? Yes. These come in as HTMLTag objects. It is simple to use the parser to pick up tags that you want which are not already covered by the scanners. Here is what a sample program would look like. public class MyApp { MyTagVisitor myTagVisitor = new MyTagVisitor(); public void parse() throws HTMLParserException { HTMLParser parser = HTMLParser.createParser( "<html><html:something><body><bean:some bean tag></body></html>" ); // Replace above with the line below as per your requirements // HTMLParser parser = new HTMLParser("http://www.yahoo.com"); parser.visitAllNodesWith(myTagVisitor); } public List getMyTags() { return myTagVisitor.getMyTags(); } public static void main(String[] args) throws HTMLParserException { MyApp myApp = new MyApp(); myApp.parse(); List myTags = myApp.getMyTags(); HTMLTag tag; for (Iterator i = myTags.iterator();i.hasNext();) { tag = (HTMLTag)i.next(); tag.print(); } } class MyTagVisitor extends HTMLVisitor { List myTags = new ArrayList(); public void visitTag(HTMLTag tag) { if (tag.getText().indexOf("html:")!=-1 || tag.getText().indexOf("bean:")!=-1) myTags.add(tag); } public List getMyTags() { return myTags; } } } |
From: Somik R. <so...@ya...> - 2003-01-13 04:50:14
|
Hi Folks, This week's integration release is out. This release has significant contributions from Derrick Oswald and Josh Kerievsky. Derrick is building a nice UI for the parser - and making tons of improvements. Thanks to Josh's insight, we have done some major refactorings on the scanners - resulting in a massive drop in code duplication. Here are some statistics - the scanners package in the last release had 1693 lines of code. In the current release, this has dropped to 1300 lines of code. We have a new class HTMLCompositeTagScanner which does the hard-work for picking up child tags. Most scanners use this code. HTMLTagScanner too does some useful work- and from this release, new scanners dont need to override evaluate() or scan(). Take a look at the refactored scanner code and you might be surprised with its size and simplicity. Here's the change log : Integration build 1.3 - 20030112 -------------------------------- [1] Assume charset is correct for JVM's without Charset class to check it [2] Beanize the parser [3] Switch to swingui junit runner by default [4] Half baked beans [5] Fix javadoc warnings in JDK 1.4 [6] Added StringFindingVisitor + test code + new visitors packages [7] Fixed bug 659723, but HTMLStringNode is not thread-safe anymore. [8] JDK 1.2 compilability [9] Modified HTMLEnumeration interface (made less verbose) [10] Added HTMLCompositeTagScanner [11] Refactored following scanners to use HTMLCompositeTagScanner : (i) HTMLStyleScnner (ii) HTMLSelectScanner (iii) HTMLFrameSetScanner (iv) HTMLTitleScanner (v) HTMLTextAreaScanner (vi) HTMLScriptScanner (vii) HTMLFrameSetScanner [12] Made StringNode the last parse attempt, so now Reader trys in this order: remark tag endtag string (this will return more HTMLStringNode objects than it did before). [13] Improve speed by performing tag/string triage based on '<' as next character. [14] Refactored HTMLTagScanner. The following scanners use refactored code: (i) HTMLBaseHREFScanner (ii) HTMLDoctypeScanner (iii) HTMLFrameScanner (iv) HTMLJspScanner (v) HTMLMetaTagScanner Regards, Somik |
From: Fabian G. <fa...@ya...> - 2003-01-13 04:24:46
|
Hi, I am new to the HTMLParser and was wondering if it can be used to parse non-HTML tags included in a HTML file, like JSP custom tags, such as the Struts <html:...> and <bean:....> tags? - Fabian __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: <jt...@ya...> - 2003-01-07 05:05:53
|
Hi, > the HTMLParser. I suggest that u do it on your own > using readers and writers for the present. Seems like I will have to do that for now. But this also means that I will have to read the stream twice (huge performance cost) because I also need to parse the html for form elements as mentioned in my previous mail. I have searched for libraries which will allow me to do all this in one step and HTMLParser is the closest I got which meets my requirements. I really hope that my suggestions are taken. Regards, Ash. ________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com |
From: <jt...@ya...> - 2003-01-07 05:01:59
|
Hi, > the HTMLParser. I suggest that u do it on your own > using readers and writers for the present. ________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com |
From: <dha...@or...> - 2003-01-06 11:49:23
|
Ash, For your requirement of reading the entire HTML and storing it on disk in an identical format, I suggest that you not use the HTMLParser. I suggest that u do it onyour own using readers and writers for the present. The changes suggested by you are quite good. However as far as the toHTML() method is concerned it does not exactly throw replicate the input HTML. So if you are using it to do that you are better off with the approach given above. However for parsing HTML, this parser is great not only because it works beautifully, but because it is so easy to use as described by Somik below but also because you can switch off and switch on the parsers as required. Regards, Dhaval Udani Senior Analyst M-Line, QPEG OrbiTech Solutions Ltd. +91-22-28290019 Extn. 1457 -----Original Message----- From: jtrek4 [mailto:jt...@ya...] Sent: Monday, January 06, 2003 5:07 PM To: htmlparser-user Cc: jtrek4 Subject: Re: [Htmlparser-user] Efficient parsing - help needed Hi Somik, Thanks for the help. > You can use toHTML() to do this.. > HTMLNode node; > for (HTMLEnumeration e = > parser.elements();e.hasMoreNodes();) { > node = e.nextHTMLNode(); > writeToDisk(node.toHTML()); > } I tried this, but toHTML() modifies the contents, wrongly in some cases. I have posted a bug regarding this : http://sourceforge.net/tracker/index.php?func=detail&aid=663038&group_id =24399&atid=381399 I have one suggestion to make : overloaded constructors in HTMLParser of the foll. signature/s : public HTMLParser(java.lang.String resourceLocn, HTMLParserFeedback feedback, Writer writer) public HTMLParser(java.lang.String resourceLocn, Writer writer) with corresponding overloaded constructors in HTMLReader: public HTMLReader(java.io.Reader in, int len, Writer writer) public HTMLReader(java.io.Reader in, java.lang.String url, Writer writer) This will give the users a way to save the response to disk as it is received. Of course, there is another option of taking a String file name argument, but the user may want to specify the file encoding as well (as is the case with me). So the java.io.Writer is a better option. This should not take much time to implement, as you just need to check if the writer has been supplied and once you read a line using the readLine() method in HTMLReader, write this string to the writer using the println method and call flush(). This gives the added advantage to the user of preserving line breaks at the original points. What do you think? Also, when can we expect the next release? Warm Regards, Ash ________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Htmlparser-user mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlparser-user |
From: <jt...@ya...> - 2003-01-06 11:37:09
|
Hi Somik, Thanks for the help. > You can use toHTML() to do this.. > HTMLNode node; > for (HTMLEnumeration e = > parser.elements();e.hasMoreNodes();) { > node = e.nextHTMLNode(); > writeToDisk(node.toHTML()); > } I tried this, but toHTML() modifies the contents, wrongly in some cases. I have posted a bug regarding this : http://sourceforge.net/tracker/index.php?func=detail&aid=663038&group_id=24399&atid=381399 I have one suggestion to make : overloaded constructors in HTMLParser of the foll. signature/s : public HTMLParser(java.lang.String resourceLocn, HTMLParserFeedback feedback, Writer writer) public HTMLParser(java.lang.String resourceLocn, Writer writer) with corresponding overloaded constructors in HTMLReader: public HTMLReader(java.io.Reader in, int len, Writer writer) public HTMLReader(java.io.Reader in, java.lang.String url, Writer writer) This will give the users a way to save the response to disk as it is received. Of course, there is another option of taking a String file name argument, but the user may want to specify the file encoding as well (as is the case with me). So the java.io.Writer is a better option. This should not take much time to implement, as you just need to check if the writer has been supplied and once you read a line using the readLine() method in HTMLReader, write this string to the writer using the println method and call flush(). This gives the added advantage to the user of preserving line breaks at the original points. What do you think? Also, when can we expect the next release? Warm Regards, Ash ________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com |
From: Visarut T. <piz...@ho...> - 2003-01-05 20:22:54
|
When I use Htmlparser Class on Win XP I can , But When I use Htmlparser Class on Win ME I can't. Why? My friends tell me that It may be return Exception at Htmlparser Constructor Ex. HTMLParser parser = new HTMLParser("http://www.set.or.th/set/en/market/market_u9.jsp?sym=COMUN"); and I must set proxy. Is it true? If yes how can I do (My friends don't know how to set it) If not What problem that happen . _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus |
From: Somik R. <so...@ya...> - 2003-01-03 18:08:32
|
Hmm.. Check the Sample Programs on the website http://htmlparser.sourceforge.net. That should help you understand the parser and get started. The sample programs are also in the download bundle of the parser. > 1) read the stream and save the entire response to > disk. You can use toHTML() to do this.. HTMLNode node; for (HTMLEnumeration e = parser.elements();e.hasMoreNodes();) { node = e.nextHTMLNode(); writeToDisk(node.toHTML()); } > 2) While reading, parse the contents and extract > links > and form elements from it. Check sample programs for links. Form elements is much the same as there is an HTMLFormTag. So all you need to do is : if (node instanceof HTMLFormTag) { HTMLFormTag formTag = (HTMLFormTag)node; } > 3) search the response for a particular string. > Also, > suppose that the response is not html, it is plain > text maybe, would it still be possible to search the > response for some string? Sure. There are methods like toPlainTextString(), which get the string output of a node. Then there is HTMLStringNode - that represents a pure string node. > What is the most efficient way to do this? I am > looking for an all-in-one-step approach. I went > through the docs but am not sure whether I need to > write custom HtmlRenderers and scanners. You dont. Start with the sample programs, and post here if you need help. > Another question is that has HtmlParser been tested > with Unicode content, for example Korean or Chinese > characters? In other words, does HtmlParser support > Unicode? This question is in relation to the point > no.3 mentioned above. Yes - I think you should not have a problem. There was an earlier thread on this. http://sourceforge.net/mailarchive/message.php?msg_id=2507341 Regards, Somik __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: <jt...@ya...> - 2003-01-03 06:45:42
|
Hi All, I am new to html parser. I am working on a project which needs quite a bit of html parsing. I have an inputstream and this is what I need to do with it: 1) read the stream and save the entire response to disk. 2) While reading, parse the contents and extract links and form elements from it. 3) search the response for a particular string. Also, suppose that the response is not html, it is plain text maybe, would it still be possible to search the response for some string? What is the most efficient way to do this? I am looking for an all-in-one-step approach. I went through the docs but am not sure whether I need to write custom HtmlRenderers and scanners. Please help. Another question is that has HtmlParser been tested with Unicode content, for example Korean or Chinese characters? In other words, does HtmlParser support Unicode? This question is in relation to the point no.3 mentioned above. Regards, Ash. P.S. A VERY HAPPY NEW YEAR TO EVERYBODY. ________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com |
From: Navid H.L. <na...@ya...> - 2002-12-30 23:54:14
|
Hi Somik, Thank you very much. It was very clear and really helped. And next time I will be more carful about my question to be topic related. Happy New Year! Regards, Navid --- Somik Raha <so...@ya...> wrote: > Hi Navid, > Im really sorry - these questions don't belong on > the htmlparser list - you should be asking eclipse > questions on the newsgroup (check www.eclipse.org) - > they are very responsive, and your questions will > get > archived in their system, helping other eclipse > newbies as well, just as htmlparser questions get > archived in this list. Eclipse comes with a lot of > quality documentation (in the Help menu). > > > I still cann't do it. I installed ANT on my > windows > > XP. Then using Eclipse, I logged to CVS > > Repositories, > > there by clicking on HEAD, and then htmlparser, I > > could see another set of folders and also > build.xml > > 1.24. > > I right click on xml file, but could not RUN ANT > did > > not appear!! > > May be my Eclipse configuration is wronge, or I am > > on > > wronge path!! > > Well - you've got to check out the project. Right > Click, and choose Check out As. The choose java > project. Then, give a name to your project, and > create > a source folder (add new folders). It will prompt > you > for bin, and you can accept that. Once its checked > out, you will see the build.xml in your workspace. > Right-click here and you should be able to run it. > > > It looks kind of complecated now, but I will learn > > it > > any way. Any suggestion will be appreciated. > > The best suggestion from me is - get on the ant > mailing list - post after you've checked the docs > and > the mailing list archives. The same goes for > eclipse. > > Feel free to post htmlparser related questions on > this > list. > > Regards, > Somik > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Pavan P. <pav...@pe...> - 2002-12-29 14:41:23
|
hello all, How can I get the size of the HTML page that has been parsed/ = scanned ? I tried the getReader() method of HTMLParser but to no avail. = Is there any way in which I can get to know the size of the parsed Page = ?? Please help. Urgent. ~ Pavan |
From: Somik R. <so...@ya...> - 2002-12-29 08:09:57
|
Hi Folks, The integration release for this week is out. You can download it from http://htmlparser.sourceforge.net Integration build 1.3 - 20021228 -------------------------------- [1] Added URLConnection constructors to HTMLParser [2] Honour charset parameter on HTTP header and in HTML meta tag [3] Following tags now inherit from HTMLCompositeTag (i) HTMLFormTag (ii) HTMLLinkTag (iii) HTMLSelectTag (iv) HTMLFrameSetTag (v) HTMLTitleTag (vi) HTMLTextAreaTag (vii) HTMLStyleTag (viii) HTMLScriptTag (ix) HTMLAppletTag [4] Performed Refactoring "Introduce Parameter Object" on HTMLTag, HTMLCompositeTag, HTMLLinkTag, HTMLFormTag [5] Refactored HTMLFormTag, pulling up the search methods into HTMLCompositeTag [6] Added HTMLVector, which can return HTMLSimpleEnumeration - a no-exception flavor of HTMLEnumeration [7] Refactored HTMLEnumeration - created new interface - HTMLPeekingEnumeration Notes : HTMLVector is not yet integrated with the tags. That should happen in the next release. Regards, Somik |
From: Somik R. <so...@ya...> - 2002-12-28 03:55:51
|
Hi Navid, Im really sorry - these questions don't belong on the htmlparser list - you should be asking eclipse questions on the newsgroup (check www.eclipse.org) - they are very responsive, and your questions will get archived in their system, helping other eclipse newbies as well, just as htmlparser questions get archived in this list. Eclipse comes with a lot of quality documentation (in the Help menu). > I still cann't do it. I installed ANT on my windows > XP. Then using Eclipse, I logged to CVS > Repositories, > there by clicking on HEAD, and then htmlparser, I > could see another set of folders and also build.xml > 1.24. > I right click on xml file, but could not RUN ANT did > not appear!! > May be my Eclipse configuration is wronge, or I am > on > wronge path!! Well - you've got to check out the project. Right Click, and choose Check out As. The choose java project. Then, give a name to your project, and create a source folder (add new folders). It will prompt you for bin, and you can accept that. Once its checked out, you will see the build.xml in your workspace. Right-click here and you should be able to run it. > It looks kind of complecated now, but I will learn > it > any way. Any suggestion will be appreciated. The best suggestion from me is - get on the ant mailing list - post after you've checked the docs and the mailing list archives. The same goes for eclipse. Feel free to post htmlparser related questions on this list. Regards, Somik __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Claude D. <CD...@ar...> - 2002-12-28 03:35:04
|
SSB0cmllZCB0byByZWZyYWluIGZyb20ganVtcGluZyBpbiwgYnV0IGhlcmUgYXJlIGEgY291cGxl IG9mIGNlbnRzIHdvcnRoIG9mIG9waW5pb24sIGp1c3QgZm9yIHRoZSBob2xsaWRheXMgOy0pLg0K IA0KSW4gbXkgdmlldywgZGlzdGlsbGluZyBzb2Z0d2FyZSBkb3duIHRvIGVzc2VudGlhbHMgaXMg cGFydCBvZiBpbXByb3ZpbmcgZGVzaWduLiBJdCBjdXRzIGRvd24gb24gY29kZSB0aGF0IHdvdWxk IGxhdGVyIG5lZWQgdG8gYmUgbWFpbnRhaW5lZC4gUmVkdW5kYW5jeSBpcyBleHBlbnNpdmUuIE1v cmUgY29kZSBuZWVkcyB0byBjaGFuZ2UgZXZlcnkgdGltZSBhIGJ1ZyBpcyBmaXhlZCwgcG90ZW50 aWFsbHkgbWlzc2luZyBvbmUgb2YgdGhlIHZhcmlhbnRzIGFuZCBpbnRyb2R1Y2luZyBkaWZmaWN1 bHQgdG8gZGlhZ25vc2Ugc2l0dWF0aW9ucy4gTGVzcyBjb2RlIG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