?
Solved

HTML Parser

Posted on 2001-06-20
3
Medium Priority
?
412 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 280 total points
ID: 6213183
i posted the code
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

764 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