Solved

HTML Parser

Posted on 2001-06-20
3
399 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
configuration management 2 100
Rewrite URL With Encoded Characters 6 64
string initialization in java 11 103
twoTwo  challenge 35 86
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 …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now