Convert between relative and absolute urls.
Convert between relative and absolute urls.
url_absolute(x, base) url_relative(x, base)
x |
A character vector of urls relative to that base |
base |
A string giving a base url. |
A character vector of urls
xml_url
to retrieve the URL associated with a document
url_absolute(c(".", "..", "/", "/x"), "http://hadley.nz/a/b/c/d") url_relative("http://hadley.nz/a/c", "http://hadley.nz") url_relative("http://hadley.nz/a/c", "http://hadley.nz/") url_relative("http://hadley.nz/a/c", "http://hadley.nz/a/b") url_relative("http://hadley.nz/a/c", "http://hadley.nz/a/b/")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.