- Make sure you have
wget
installed on your machine. With Homebrew usebrew install wget
. - Put
wrapper.rb
in the directory where you want the files to be saved. - Run the script:
ruby wrapper.rb http://www.newmediacampaigns.com/about
. The first and only argument is the url for an interior page that should be used as the template for the wrapper. A home page could be used, but it's unlikely you'd want that for a wrapper. The url should look something like http://www.kevinstrouse.com/about. - Manually change the
title
, and change or remove any extra headers or content.
This should work with sites using an SSL because the assets should all be saved in the wrapper template directory.