Lukket

HTML Parser improvement

We have already an HTML parser. Modify it so that it can get all text items into an HTML string separated by a semni-column ;

The code should look a little bit like below, using the modified HTMLParser classes. The important thing is to test it on several HTML pages where this is an mshtml object.

Besides, the resulting text file should should have a line jump where it meets a in the original HTML code. It should also be able to get rid of garbage text element such as rn in the original HTML.

string strHTML = [url removed, login to view]();

string strStripedText = "";

HtmlParser theParser = new HtmlParser();

[url removed, login to view] allNodes = [url removed, login to view](strHTML);

foreach (HtmlNode node in allNodes)

{

if ([url removed, login to view]().ToString()=="KUMOFrwk.HTMLParser.HtmlText")

strStripedText += (([url removed, login to view])node).Text + ";";

}

try

{

[url removed, login to view] fs = new [url removed, login to view] (strFileName,append,[url removed, login to view]);

[url removed, login to view] (strStripedText);

[url removed, login to view] ();

[url removed, login to view] ();

}

catch (Exception ee)

{

[url removed, login to view]("Ignored Exception.", ee);

return false;

}

Færdigheder: .NET

Se mere: little test, html.net, html on line, write html pages, rn, parse html, parse an html, parse a string, no html, io, html, HTML%, html we, html parser, html on, html c, html /, encoding, ee, html code pages, net parse html, node file parser, catch can, append line file, string html

Om arbejdsgiveren:
( 0 bedømmelser ) PARIS, France

Projekt-ID: #27042

7 freelancers are bidding on average $72 for this job

Gtech

we will provide you exactly as you want within a time period with the quality work, we are the indian based software solution provider company, we have an experienced and high skilled programer who will satisfy all of Mere

$100 USD in 7 dage
(0 bedømmelser)
0.0
dileepk

We can deliver the project within specified time.

$60 USD in 5 dage
(0 bedømmelser)
0.0
hitechend

Hello!! We have gone through the project information and we are very much interested in working and having a long term relationship with you. We can meet your requirements. We have good and talented team of Designers. Mere

$99 USD in 7 dage
(0 bedømmelser)
0.0
amishra

Hi, I have expertise of 2 years in .NET and I have done a XML-Parser project.I have gone through your provided code, it is using a "Tree structure logic" to get the Text message from the HTML string. I know where it n Mere

$80 USD in 7 dage
(0 bedømmelser)
0.0
neon

can be done easily. check PMB

$80 USD in 0 dage
(0 bedømmelser)
0.0
nsrajesh

Sir I am ready todo this project. I did same type of project earlier in RAC. So, i can do this within 5 days from your approval. Thank you. Regards Rajesh Prabhu S

$30 USD in 5 dage
(0 bedømmelser)
0.0
NimboProgramers

Check PMB, it too easy

$55 USD in 2 dage
(0 bedømmelser)
0.0