Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
| #!/usr/bin/env ruby | |
| # Input: WordPress XML export file. | |
| # Outputs: a series of Markdown files ready to be included in a Jekyll site, | |
| # and comments.yml which contains all approved comments with metadata which | |
| # can be used for a Disqus import. | |
| # Changes from the original gist: http://gist.github.com/268428 | |
| # 1. Handles titles containing special characters. Those have to be YAML escaped | |
| # 2. Use the original permalinks in wordpress. |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000| This playbook has been removed as it is now very outdated. |