The legal tricks-Learn Your Self

Latest gadgets,softwares,hardware,reviews,programming and campuses, game cheats ext......

Strip HTML tags from a Web Page and save the Output to aTexT

Strip HTML tags from a Web Page and save the Output to a Text File

Version Compatibility: Visual Basic 5, Visual Basic 6

More information: This .bas module includes a function that takes a string containing HTML as a parameter, and it returns the string with the HTML tags removed. The best thing about the function is how it formats the output, based on the tags. For instance, there is support for ordered lists, bulleted lists, and special characters. In addition, tables are recognized and outputted intelligently.

Using an optional parameter, you can save the text output to a file. Usage of the function is explained in detail within the code's comments.

This is a great module for browser based applications that want to add a Save as Text option, or web crawlers that need to strip HTML tags from pages before saving or indexing them.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.


DOWNLOAD NOW!!!

0 comments: