Add an explanatory docstring to the script

Signed-off-by: Dan Scott <dan@coffeecode.net>
License, better handling of the sample URL vs. sitemap dealio

Signed-off-by: Dan Scott <dan@coffeecode.net>