I am happy to announce the release of version 5.3 of Nikola a static blog/site generator. It includes some minor features and a good amount of bugfixing. Upgrading to it should not cause you any trouble, as far as I know.
Here's the changelog:
Optionally use content distribution networks for jquery and twitter-bootstrap (USE_CDN option)
New Brazilian portuguese translation.
New planetoid experimental extra_plugin
Make really sure we import the right conf.py
Make SLUG_TAG_PATH a config dep for most pages
Removed meta title tag for better HTML validation
Removed #999 background from footnote backlink.
Made footnote references be superscripted.
Centered figure's image and caption.
Removed outset border from admonitions.
Use default theme as last resource for messages/translations
DATE_FORMAT option was being ignored
Remove trailing "" on windows gallery links (Issue #298)
Inconsistent breadcrumbs in gallery pages (Issue #303)
Use source files as bundle dependencies instead of outputs (Issue #294)
I am thrilled to announce that you can now download Nikola 5.2. a new version of my static blog/site generator.
What's new in this version? A LOT. Don't let the minor version tick fool you, this version is packed with goodness. Let's start with features:
You can easily embed more content:
New vimeo directive for restructured text.
Custom "gist" directive providing reStructured text support for GitHub gists.
You can write your content in almost any markup:
Textile markup support.
Creole Wiki markup support.
txt2tags markup support.
bbcode markup support.
And of course, it still supports reStructured text, Markdown and HTML.
New Catalá translation
New polish translation.
New Simplified Chinese translation.
Use multilingual Disqus (although it doesn't seem to work)
You can import your data:
New Blogger/Blogspot importer
Much improved Wordpress importer
Extract metadata from filename by using regexp (helpful for importing from octopress or other systems).
You can do fancier and more configurable sites:
One-page, dynamic-loading, client-rendered site plugin (task_mustache)
Recursive post/story folders
New COMMENTS_IN_GALLERIES and COMMENTS_IN_STORIES options.
Local search based on Tipue (extra_plugins/task_localsearch)
Added comments to image galleries
New option RSS_TEASERS
New STORY_INDEX option to generate index.html in story folders.
Add multi size favicon support.
You can use Python 2.6 or higher ... including Python 3. The only missing bit for full Python 3 support is Google sitemap generation.
And of course, a lot of bugs got smashed:
Added sane defaults for most options, so you can have a lean config file.
Made layout of the site theme responsive, with collapsing navbar.
Use timeline instead of parsing post_pages in generic_page_renderer and task_render_pages.
Updated disqus integration code, added identifiers so it works on any URL.
Make sure folder links end in "/" in the gallery code.
Removed copy of PyRSS2Gen, made it a dependency.
Detect "namespace" dependencies for Mako templates.
Use consistent encodings in RSS feeds.
Refactored disqus code into separate helpers
Use the correct extension (or raise an error) on new_post
Fix titles that include quotes
Updated to current CSS from docutils (was using version from 2005)
Avoid needless regeneration of gallery indexes.
Always ensure the folder for the new post exists.
Get title from filename if not available in metadata.
Don't copy sources if they end in ".html"
Don't link to unexisting translations.
Sort tags case insensitive.
Today at lunch, I added support for importing blogger (maybe also blogspot? They seem to be the same nowadays) blogs into Nikola my static blog/site engine.
- What works?
Well, the only site I tried works, mostly.
Blog Metadata (except language)
Redirects to keep URLs stable (at least it tries really hard!)
URL rewriting in the posts (it tries!)
- What's not there?
Comments import (it makes more sense to import them via Disqus' import tool)
Attachments (images and such)
It's basically on par with the Wordpress import, except noone has used it for real. So, feel free to try!
(It's nikola import_blogger name_of_the_dump.xml)
Just for completeness' sake I have gone over Wikipedia's list of lightweight markup languages and added support in Nikola (a static site and blog generator) for a couple of them: BBCode and txt2tags, which brings the number of supported markup formats to 7 (the others are reStructured text, markdown, HTML, textile and Wiki).
Of the list of markup languages, the only missing ones with a Python implementation are AsciiDoc and Markdown Extra.
Why bother with this? It's not as if there was someone asking for BBCode support. However, one of the uses I want to support is archiving sites. Suppose you have a forum you want to shut down? I want you to be able to archive it (even if it's some work) and keep the data out there. A wiki? Same thing.
This is a first step in that direction.