Solved

HTML Parser

Posted on 2001-06-20
3
402 Views
Last Modified: 2013-11-20
I've already asked this but I didn't recieved any satisfied solution.

I am looking for an HTML parser that can recieve a CString as a source. I've checked several tools:

IHTMLDocument2   - Can't load it with a CString (as far as I know)

WWWLib - A lot of companion classes. I only need an html parser

I need something that can also handle scripts in the html. I don't need to manipulate them, just a parser that can handle it's existence. I will be browsing using CInternetSession so I get the html as a CString.

I don't want to use CWebBrowser2 control because it is slowser that CInternetSession and I don't want to download all images and stuff, just the plain html page.

Another bug with IHTMLDocument2. It's hierarchy is not so good. You can get a following node of another node even if it is not its son. I need clear hierarchy (like the CTreeCtrl)


Please help
0
Comment
Question by:gilad_no
  • 2
3 Comments
 
LVL 10

Expert Comment

by:makerp
ID: 6210924
i have written a simple parser a while back, do you want the code.
0
 

Author Comment

by:gilad_no
ID: 6211229
Yes. I'll be glad to check it.
gilad@bmidas.com
0
 
LVL 10

Accepted Solution

by:
makerp earned 70 total points
ID: 6213183
i posted the code
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question