Đã Đóng

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;

}

Kỹ năng: .NET

Xem thêm: little test, write html pages, rn, no html, io, html we, html on, html c, encoding, ee, html code pages, catch can, append line file, string html, html file net, column text, column html, html info, html object, info line, quot html, html column, html line, html quot, htmltext

Về Bên Thuê:
( 0 nhận xét ) PARIS, France

Mã Dự Án: #27042

7 freelancer đang chào giá trung bình $72 cho công việc này

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 Thêm

$100 USD trong 7 ngày
(0 Đánh Giá)
0.0
dileepk

We can deliver the project within specified time.

$60 USD trong 5 ngày
(0 Đánh Giá)
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. Thêm

$99 USD trong 7 ngày
(0 Đánh Giá)
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 Thêm

$80 USD trong 7 ngày
(0 Đánh Giá)
0.0
neon

can be done easily. check PMB

$80 USD trong 0 ngày
(0 Đánh Giá)
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 trong 5 ngày
(0 Đánh Giá)
0.0
NimboProgramers

Check PMB, it too easy

$55 USD trong 2 ngày
(0 Đánh Giá)
0.0