question regarding relative URLs

Ashish Gupta (ashish@junglee.com)
Tue, 13 Aug 1996 12:51:52 -0700


I am trying to do the following:

extract a URL - U - from a page
using base information, determine the absolute URL using U

Example:
  extracted URL:  http://www.stanford.com
  base         :  http://www.db.stanford.com


I am looking for a package that will figure out that the extracted url
is absolute and thus need not be extended. In cases where the url is
relative, I would like it to be extended by the base.

any suggestions on a package that will enable me to do the above.
thanks much.

ashish