Click here to Skip to main content
6,595,444 members and growing! (16,707 online)
Email Password   helpLost your password?
Web Development » Applications & Tools » Tools with source code     Intermediate

Html Cleaner

By WittnezZ (Claus Witt)

Not really an article, just a simple tool to clean html
C++, C#, Windows, .NET 1.0, .NET 1.1VS.NET2003, Dev
Posted:25 Aug 2004
Views:22,706
Bookmarked:9 times
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
5 votes for this article.
Popularity: 1.67 Rating: 2.39 out of 5
2 votes, 40.0%
1

2
2 votes, 40.0%
3

4
1 vote, 20.0%
5

Introduction

Cleaning html code by hand is a pain in the ...! But once in a while you just have to do it (well I do anyway). Unless you have a tool to do it for you. When finding the Html Agility Pack my prayers were answered. I quickly found the code for cleaning html code with this library (with a little help from google) at this place. I put it all in a Windows application which allows me to quickly access the function whenever I need it. Nothing fancy in the application (it was pretty much cut/paste from the two sources I have linked to, and then the simple interface.) No error checking... Nothing...!

Usage

Insert to html to be cleaned into the upper box. Modify the tags and the attributes to be deleted. Press the clean button. Copy the modified html code (the second box). That's about it...

History

  • 24-08-2004: Initial development. The project were made in 30 minutes, and saved me about an hours work.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

WittnezZ (Claus Witt)


Member

Occupation: Web Developer
Location: Denmark Denmark

Other popular Applications & Tools articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
  (Refresh) 
-- There are no messages in this forum --

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 25 Aug 2004
Editor: Nishant Sivakumar
Copyright 2004 by WittnezZ (Claus Witt)
Everything else Copyright © CodeProject, 1999-2009
Web17 | Advertise on the Code Project