Documentation
module Network.URL
isSameDomain :: String -> String -> BoolSource
is the second url on the same domain as the first? Note: this will return False if either URL is invalid.
mkAbsoluteUrl :: String -> Shpider (Maybe String)Source
Assumes the given URL is relative to currentPage
.
isAbsoluteUrl :: String -> BoolSource
True if the url is absolute