-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Archive supplied URLs in WebCite & Internet Archive
--
-- archiver is a daemon which will process a specified text file, each
-- line of which is a URL, and will (randomly) one by one request that
-- the URLs be archived or spidered by http://www.webcitation.org
-- and http://www.archive.org for future reference. (One may
-- optionally specify an arbitrary sh command like wget
-- --page-requisites to download URLs locally.)
--
-- Because the interface is a simple text file, this can be combined with
-- other scripts; for example, a script using Sqlite to extract visited
-- URLs from Firefox, or a program extracting URLs from Pandoc documents.
-- (See http://www.gwern.net/Archiving%20URLs.)
--
-- For explanation of the derivation of the code in
-- Network.URL.Archiver, see
-- http://www.gwern.net/haskell/Wikipedia%20Archive%20Bot.
@package archiver
@version 0.5
module Network.URL.Archiver
-- | Open a URL, and return either the HTML source or an error. openURL ::
-- String -> IO (Result (Response String))
--
-- Error check the URL and then archive it using webciteArchive,
-- alexaArchive, and alexaToolbar
checkArchive :: String -> String -> IO ()