diff --git a/bookmobile b/bookmobile index 6d73713..9b9aa1b 100755 --- a/bookmobile +++ b/bookmobile @@ -84,7 +84,13 @@ function process_article switch $format case html #just a placeholder - echo "Html saved to " $output + + if test (string match 'http*' $url ) + echo "Html saved to " $output + else + echo "Error. Html requires URLs beginning http/https:" + end + case reader pandoc -s $output/$title.html -c $theme -o $output/$title-article.html rm -f $output/$title.html