Re: crawling the net...
From: Morten Wennevik (MortenWennevik_at_hotmail.com)
Date: 04/29/04
- Next message: Walter Tross: "Re: leading underscore for member names"
- Previous message: Sumit Rajan: "Re: Question about ADL"
- In reply to: ask josephsen: "crawling the net..."
- Next in thread: mortb: "Re: crawling the net..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 13:17:44 +0200
Hi Ask,
You could try using the features of Path.GetFullPath which collapses /../
and /./ and returns the proper path. However, it insists on adding the
application path so you will need to do something like
string newUrl =
Path.GetFullPath(url).Substring(Application.StartupPath.Length+1));
It will switch the / to \ though. Oh, and remove the http:// from the url
first.
There are plenty web crawlers, just do a web searh on "web crawler" and
"web bot".
Happy coding!
Morten Wennevik [C# MVP]
- Next message: Walter Tross: "Re: leading underscore for member names"
- Previous message: Sumit Rajan: "Re: Question about ADL"
- In reply to: ask josephsen: "crawling the net..."
- Next in thread: mortb: "Re: crawling the net..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]