Solved

HTML Parser

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installing Microsoft R server on REDHAT or SUSE Linux 4 152
sumDigits challenge 9 171
Window placement 17 93
MaxSpan challenge 9 122
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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…
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 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