WebApp HTML Paser 의 종류

황제낙엽 2008.06.09 17:33 조회 수 : 2392 추천:162

sitelink1  
sitelink2  
sitelink3  
sitelink4  
sitelink5  
sitelink6  
1. HTMLParser ( http://htmlparser.sourceforge.net ) 내용 보기
HTML Parser is a Java library used to parse HTML in either a linear or nested fashion. Primarily used for transformation or extraction, it features filters, visitors, custom tags and easy to use JavaBeans. It is a fast, robust and well tested package.
Welcome to the homepage of HTMLParser - a super-fast real-time parser for real-world HTML. What has attracted most developers to HTMLParser has been its simplicity in design, speed and ability to handle streaming real-world html.
2. jericho HTML Parser ( http://jerichohtml.sourceforge.net/doc/index.html ) 내용 보기
Jericho HTML Parser is a simple but powerful java library allowing analysis and manipulation of parts of an HTML document, including some common server-side tags, while reproducing verbatim any unrecognised or invalid HTML. It also provides high-level HTML form manipulation functions.
3. NekoHTML ( http://people.apache.org/~andyc/neko/doc/index.html ) 내용 보기
NekoXNI is a collection of small, useful XML tools written for the Xerces Native Interface (XNI) that is the foundation of the Xerces2 implementation. The NekoXNI tools are written to illustrate the power and flexibility of the XNI framework as well as provide useful tools for XML application developers.
4. JTidy ( http://jtidy.sourceforge.net ) 내용 보기
JTidy is a Java port of HTML Tidy, a HTML syntax checker and pretty printer. Like its non-Java cousin, JTidy can be used as a tool for cleaning up malformed and faulty HTML. In addition, JTidy provides a DOM interface to the document that is being processed, which effectively makes you able to use JTidy as a DOM parser for real-world HTML.
5. YGHTML Parser ( http://jakarta.tistory.com/25 ) 내용 보기
주말 이틀 반납해가며, SCRIPT 부분에 대해 Parsing이 되는 HTML Parser를 만들어 보았다.
Version은 0.1 정도로 보면 되겠다. 가장 문법이 변태적인 Naver정도는 정확하게 Parsing을 해냈으나 아직까지 많은 테스트와 수정, 추가가 필요한 상황이다. 연구용 정도로 쓰기는에는 불편함이 없을듯 하며, 아직 DOM Tree를 생성하는 부분의 구현은 안되었다.(시간 부족)
Lexer가 어느정도 안정화 되었으므로 Stack 정도만 적절히 쓴다면 DOM Tree 정도는 쉽게 구현이 가능할 것이다.

번호 제목 글쓴이 날짜 조회 수
40 응답 헤더의 Content-disposition 속성 황제낙엽 2019.04.16 2434
39 Java에서 User-Agent 파써 사용하기 황제낙엽 2017.11.20 2569
38 서버구동시 주기적으로 동작을 수행하는 스레드를 함께 실행하는 서블릿 황제낙엽 2017.08.02 2202
37 JSP 파일에서 getOutputStream() has already been called for this response 에러 황제낙엽 2013.04.24 13681
36 [The type HttpUtils is deprecated] javax.servlet.http.HttpUtils 황제낙엽 2013.03.20 2288
35 Java에서 URL 다루기 file 황제낙엽 2012.06.24 2101
34 HttpServletResponse.setContentType(java.lang.String type) 과 MIME 타입 황제낙엽 2012.04.20 2210
33 한글 파일명 깨짐으로 살펴본 다국어 처리 문제 (UTF-8) 황제낙엽 2012.03.22 12223
32 <jsp:include>, include지시자 file 황제낙엽 2011.07.24 2171
31 <jsp:include> 액션태그 황제낙엽 2011.07.24 2203
30 Servlet의 각종 Listener 사용방법 및 샘플 황제낙엽 2010.10.26 2101
29 ServletContext 초기화 및 소멸 황제낙엽 2010.10.26 2129
28 ServletConfig 이용하기 황제낙엽 2010.03.15 2150
27 Transfer-Encoding: chunked VS Content-Length 황제낙엽 2009.09.17 2229
26 서블릿 응답 헤더(Response Header) 황제낙엽 2009.09.17 2161
25 MultipartRequest (cos.jar)와 서블릿을 이용한 업로드 file 황제낙엽 2009.06.19 2433
24 JSP session 정보 얻기 황제낙엽 2009.01.21 2199
23 서버상의 로컬경로 (실제경로) 관련 환경변수 황제낙엽 2009.01.21 2468
22 NekoHTML 샘플 예제 황제낙엽 2008.06.09 2116
» HTML Paser 의 종류 황제낙엽 2008.06.09 2392