Solved

HTML Parser

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 48
Need Help INsttalling wget on Mavericks OS X 3 90
format the code in java 6 86
Making an alias 7 82
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

863 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