Google Docs and Jekyll playing nicely together
With Jekyll you can fast and easy build static sites (as this one). It started out as the engine behing GitHub Pages and has since then grown more and more popular. If you have no past experience then I recommend that you read the following two blog posts by Development Seed, you might also want to take a look at the Jekyll documentation.
- Development Seed: Build CMS free websites
- Development Seed: Using Jekyll and GitHub Pages for Our Site
Out of the box Jekyll comes with a pretty basic functionality that can be extended by using a variety of plugins. The content that it'll create consists of blog posts and regular pages – but what if you need more than that?
When trying to find good podcasts during the euros this summer I decided to build a simple football podcast directory. At first I though of using Drupal or Symfony but decided to see if I could do it with Jekyll.
Enough background… Here's is how I did it:
1. Google Docs as data source
Each podcast conist of the following data:
- iTunes feed
A simple spreadsheet would do for that. With the help of Google Docs I could easily gather that data. For this project it was only me who provided the content but as Google Docs is an excellent collaboration tool with all its functions, we could have been a group of people doing this together.
Each spreadsheet can be published to the web in various formats – CSV being one of them. Here is my spreadsheet as CSV containing all the podcasts.
2. The Jekyll Models plugin
3. Et voila
Source code on GitHub.