You can load sitemaps via HTTP requests and load URLs via files. This PR lets you read a sitemap from a file.
You can also pass a sitemap.xml file (requires the file:// prefix) to the archiver:
archiver --sitemaps file://sitemap.xml
Added code that first checks if the URL/URI passed the sitemap argument is a file path and attempts to read the file rather than fetch it via the network.
update README with details on archiving sitemap.xml file
You can load sitemaps via HTTP requests and load URLs via files. This PR lets you read a sitemap from a file.
You can also pass a sitemap.xml file (requires the
file://
prefix) to the archiver:Added code that first checks if the URL/URI passed the sitemap argument is a file path and attempts to read the file rather than fetch it via the network.
update README with details on archiving sitemap.xml file