• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

Remove all the links out of an .html file?

Hi,

Does somebody have some code to remove all the links from an html file?

Thanks
0
zattz
Asked:
zattz
  • 5
  • 4
4 Solutions
 
bernaniCommented:
Hi,

The answer can be the same than in your other post:

http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_22071154.html

Depending of what you plan to do with the file (save as html, text, ...) , I believe that you can find all the answers with these components. Free for all versions of Delphi 5 up to D2006.

0
 
zattzAuthor Commented:
I also need an example that dosn't use twebrowser or the balsa component.

0
 
bernaniCommented:
Hi,

In this case, I believe you need a HTML parser.

Not free, http://www.zeitungsjunge.de/delphi/htmlparser/

See on Torry:

http://www.torry.ru/pages.php?id=216





0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
bernaniCommented:

...

An a little (old) sample application easy to understand, with source code

HTML Tag Stripper

http://www.wimb.net/index.php?s=delphi&page=27

View HTML
In the HTML window the HTML file can be viewed.
The result of a Tag strip is direct visible in this window.
With "HTML Save" its content is saved to file.

0
 
CodedKCommented:
Here's an example without any components :
http://www.wimb.net/files/dld.php?app0027s.zip
0
 
CodedKCommented:
Sorry bernani i posted the same link :)
0
 
bernaniCommented:
Hi CodedK,

It doesn't matter ;)

I believe each contribution is welcome, even if sometimes this happens. We try do to our best, it's the most important.
0
 
CodedKCommented:
Hey zattz i made an application for you.
The code is easier and it works good :)

Here is the link with the source :
http://www.geocities.com/kalatz_gr_fisher/TheFiles/stripper.zip
0
 
CodedKCommented:
Thank you very much zattz :)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now