HTML Parser improvement
$30-100 USD
Paid on delivery
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;
}
Project ID: #27042
About the project
7 freelancers are bidding on average $72 for this job
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