Google blogger to Docpad static blog.
CoffeeScript CSS JavaScript Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Goolge Blogger to DocPad.

Import Google Blooger articles by label and generate Docpad static blog.


git clone git:// ~/.nvm
printf "\n\n# NVM\nif [ -s ~/.nvm/ ]; then\n\tNVM_DIR=~/.nvm\n\tsource ~/.nvm/\nfi" >> ~/.bashrc
source ~/.nvm/
nvm install v0.10.25
nvm alias default 0.10
nvm use 0.10
gem install jekyll-import
sudo npm install docpad -g
npm install --save cheerio
git clone 
cd blogger-docpad
docpad install sitemap
docpad install cleancss 
docpad install uglify
docpad install ghpages
docpad install moment
docpad install sitemap
cd src
npm install -g grunt
npm install --save-dev grunt-contrib-watch 
npm install --save-dev grunt-shell
npm install --save-dev time-grunt

Edit config files to fit your blog

Make sure that a category name should be unique.


    • line 37 : git repository.
    • line 40 : domain name.

    • categories
    • docpadConfig/templateData/site
    • docpadConfig/templateData/collections
  • src/Gruntfile

    • categories
    • intros
    • titles
    • descriptions
  • src/partials

  • src/layouts

  • src/documents/scripts

  • src/documents/styles

  • src/documents/images


  • Run to init blogger-docpad
  • Run

How to handle large number of files with docpad?

It's very tough. The sample blog has more than 1000 articles. But docpad can't handle large number of files. However we have a trick. That's adding 'ignored' flag into your article's header. Before generating an article, set 'ignored' flag as false. When the article generated well, change 'ignored' flag to true. Docpad will ignore articles that already generated. Unfortunately cleanurls plugin not working with this trick. If you use the plugin, docpad generate ignored articles without layouts.



Blogger-Docpad is under the MIT license.