bin/make-rss-feed.py
def main():
    '''Main driver for feed regeneration.'''

    options, args = parse_args()
    config = load_info(os.curdir)
    config['site'] = options.site
    config['output'] = options.output

    selection = config['blog'][-config['recent_length']:]
    selection.reverse()
    build_blog_rss(config,
                   os.path.join(options.output, 'feed.xml'),
                   selection)
Main driver for feed regeneration.
Main driver for feed regeneration.
Main driver for feed regeneration .
def main():
    options, args = parse_args()
    config = load_info(os.curdir)
    config['site'] = options.site
    config['output'] = options.output
    selection = config['blog'][-config['recent_length']:]
    selection.reverse()
    build_blog_rss(config,
                   os.path.join(options.output, 'feed.xml'),
                   selection)
def main ( ) : options , args = parse_args ( ) config = load_info ( os . curdir ) config [ 'site' ] = options . site config [ 'output' ] = options . output selection = config [ 'blog' ] [ - config [ 'recent_length' ] : ] selection . reverse ( ) build_blog_rss ( config , os . path . join ( options . output , 'feed.xml' ) , selection )
Main driver for feed regeneration.
Main driver for feed regeneration .
'''Main driver for feed regeneration.'''