[Htmlparser-user] extract links
Brought to you by:
derrickoswald
From: Sodergren, M.G. <mg...@le...> - 2002-04-06 13:53:55
|
Hello again, I think I have figured out how to do it. Its as follows: - I have written two programs called WebPage (which is a static utility = class that provides operations for downloading web pages) and = WebPageViewer (contains utilities to download and display HTML pages). = So if i run WebPageViewer i just enter my search at the top (which makes = the yahoo search url with my search) and it displays the yahoo search = page for this search because the beginning URL is the standard yahoo = search url. So can i not some how get the htmlparser (just the extract = link programs) to work with my WebPage Viewer so that i enter a search = like before but this time the HTML page shown in my window is just the = extracted links? Can I do this? If so how? This would mean that I dont = need a servlet or something else. I have attached my two programs so you = can have a look at them and run them if you want. They are quite basic = and really i want them to contain a text field where i can enter my = search without the basic yahoo search url been shown and then have a = search button i can press to perform the search instead of pressing = enter.=20 Thanks, Mats |