IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic

How do you parse HTML in Java?


lucas123
no avatar

Group: Members
Posts: 3
Joined: 28-December 09
Member No.: 827



Post #1 post Jan 5 2010, 10:50 PM
How should you decide which HTML parser to use? And, not the proliferation of HTML parser out there means that there is something wrong with the JDK HTML parser, javax.swing.text.html.HTMLEditorKit.Parser?


--------------------
Go to the top of the page
+Quote Post
inkBot
NOBODY EXPECTS THE SPANISH INQUISITION

Group: AC Friends
Posts: 2067
Joined: 13-April 03
From: Evansville
Member No.: 49
xBox Live: inkBot
Wii Console Number:
3125 4266 7624 0291



Post #2 post Jan 6 2010, 08:54 AM
You need to break out your algorithms textbook, and use it to figure out the O(n) for each parser, that will help you decide.


--------------------
"If history is to change, let it change. If the world is to be destroyed, so be it. If my fate is to die, I must simply laugh."
- Magus

Go to the top of the page
+Quote Post
Wizard
W¡ZÅRÐ

Group: AC Founding Member
Posts: 7295
Joined: 28-February 02
From: USA
Member No.: 21
xBox Live: Bo



Post #3 post Jan 6 2010, 10:58 AM
I use IE mostly but also Firefox and Chrome.


--------------------
Go to the top of the page
+Quote Post
IceAge
Post Freak

Group: AC Founding Member
Posts: 2102
Joined: 22-February 02
Member No.: 5
xBox Live: IceAge
Wii Console Number:
7379 4991 3915 7558



Post #4 post Jan 7 2010, 11:06 AM
QUOTE (lucas123 @ Jan 6 2010, 01:50 AM) *
How should you decide which HTML parser to use? And, not the proliferation of HTML parser out there means that there is something wrong with the JDK HTML parser, javax.swing.text.html.HTMLEditorKit.Parser?



Holy crap! I can't even understand English anymore!! What the hell does that say? Forget parsing HTML, how about parsing standard English grammar rules. crazy.gif


--------------------
My Blog


"The lure of the pretty doesn't overcome her fear of the boom." - Angie :: July 4, 2008
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Mobile/PDA Version  ·  iPhone Version  ·  Lo-Fi Version Time is now: 8th September 2010 - 04:44 PM