Commits on Feb 5, 2011
  1. Turns markdown extensions off by default but easily configurable in _…

    … to turn them on.
    committed Feb 5, 2011
  2. Makes the Markdown extensions configurable in

    Adds an example post to show off Markdown.
    committed Feb 5, 2011
  3. Makes sure filters only get initialized once.

    (This only ever occurred before if a filter had an alias)
    committed Feb 5, 2011
Commits on Feb 4, 2011
  1. Enabled footnote syntax for markdown templates

    Michael Pirnat committed Feb 4, 2011
  2. Use an incrementing number instead of the Wordpress ID. Get rid of fu…

    …nky characters. Change spaces into underscores.
    By default the posts generated from the database get the Wordpress ID in
    the form of "NNNN. <post title>.html." While the ID is useful to WP it
    isn't useful to the blogger using Blogofile. This change instead assigns
    the number in the filename with an incrementing integer (with a scale of
    The post title itself requires some special attention as well.
    Special characters such as ?/-:'!* can also be present in titles,
    but these can be troublesome when on a filesystem. This change removes
    them. Spaces are converted to underscores (_) to retain a somewhat
    readable name.
    The end result is each WP post being written in chronological order
    (your first post is 0001_<post title>.html) and with readable
    file names.
    antzucaro committed Feb 4, 2011
Commits on Jan 30, 2011
  1. Adds a new config method: build_finally

    build_finally will get called after blogofile successfully builds the site, similar to post_build OR will get called in the event of a fatal error in rendering. This can be used as a cleanup function if needed, or to get the user's attention somehow.
    committed Jan 30, 2011
Commits on Jan 27, 2011
  1. Fixed logging when formatting unicode strings.

    Thanks to masonmark for reporting the issue.
    committed Jan 27, 2011
Commits on Jan 22, 2011
  1. Fixes bf.template_context.template_name in static templates.

    Nick Craig-Wood wrote a patch (ncw@251caba) to fix the bf.template_context.template_name in static templates (was giving 'memory:0x1d80a90' previously). It modified the Mako uri of the template which made it fail for some pages. This adaptation records the original path in a bf_meta dict attached to the Template which does not alter the internal Mako workings like modifying uri did.
    committed Jan 22, 2011
Commits on Jan 2, 2011
Commits on Jan 1, 2011
  1. Rewords introductory text in config files to be more clear of how _co…

    … precedence works. Also Adds a "blogofile info" command that so far just prints the paths to the config files on a user's system.
    committed Jan 1, 2011
  2. Defaults the built-in webserver to running on the loopback interface …

    …only. Running on other interfaces still possible by supplying the IP address manually, or for binding to all available.
    I just don't want some poor guy accidentally opening a port to the entire Internet when he didn't mean to.
    committed Jan 1, 2011
Commits on Dec 26, 2010
  1. Make bf.template_context.template_name work for static pages

    This used to show memory:0x28657383 which wasn't terribly useful
    Done by adding the adding uri parameter to the mako.Template instantiation
    ncw committed Dec 26, 2010
  2. Hardlink files instead of copying them for speed and space improvements

    $ sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'
    $ time blogofile build
    real	0m20.234s
    user	0m1.940s
    sys	0m0.260s
    $ sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'
    $ time blogofile build
    real	0m16.444s
    user	0m1.590s
    sys	0m0.260s
    This also saves me > 80 MB of disk space!
    ncw committed Dec 26, 2010
Commits on Dec 22, 2010
  1. file_ignore_patterns: raw strings are not necessary

    As nothing is escaped in those regular expressions, raw (r'') strings
    are not necessary. In fact, they're almost always useless unless
    many occurences of a non-escaped backlash are required in the string.
    nicdumz committed Dec 22, 2010
Commits on Dec 19, 2010
Commits on Dec 14, 2010
  1. Fixed category sorting

    mpirnat committed Dec 14, 2010
Commits on Dec 12, 2010
Commits on Nov 27, 2010
  1. Fixed declaration of to alleviate traceback during ex…

    …port from Wordpress
    mpirnat committed Nov 27, 2010
Commits on Nov 22, 2010