a step forward in blog automation
- use this ruby gem to convert your stackoverflow profile to a jekyll blog and more
- fetch questions for a specifc user id and convert them to markdown or html
- install autpilot?
- add
gem 'auto_pilot', '~> 2.0.0'
to gemfile as development dependency - run
bundle install
- add
- use autopilot?
- run
bundle exec autopilot
from command line - the bin will create a config file in the root of your project
- run
- customize templates?
- register for an API key?
- see demo?
customized templates are as easy as updating your config:
full example of config with custom template
- we can update our config with an override of MarkdownConverter#md_template
- for html, override HTMLConverter#html_template
- fork it
- create your feature branch
- commit your changes
no. we are just generating partials from stackoverflow posts - they could be integrated with wordpress or rails projects with ease.
afterall, its just html :)
you will also want to set disable_front_matter = true
in your config when using outside of jekyll
checkout the demo application and experiment
- change file naming convention to date question answered
- update config options
- get questions after date x
- credit sources
- support erb templates