Skip to main content

simple blog generator

Project description

PyPI version Build Status

blogtopoid

This is pre-alpha. Most things don’t work yet.

blogtopoid is a blog generator - it takes a bunch of posts, renders them to HTML and saves them to a web directory.

Structure

Work flow:

  • take all documents from pagesdir, render them and save them to outputdir/.

  • take all posts from inputdir, render and save to outputdir/YYYY/mm/dd/. post filename must be “YYYYMMDD post title.ext”.

  • generate index.html linking all posts.

  • generate rss feed including all posts.

  • generate listing pages for all used tags.

  • pack and copy style files from style/ to outputdir/style/.

Post formats

Currently posts and pages can either be markdown2 or reStructuredText.

In posts and pages {{blogurl}} gets replaced with blogurl from config, in style files {{styleurl}} with blogurl/style.

Usage

  • pip install –pre blogtopoid

  • run blogtopoid –quickstart

  • run blogtopoid

  • see post-receive.example for automatically deploying from git commits.

TODO

  • don’t pregenerate listings (index, tag-pages), move to template.

  • TEST!

  • make a shipable default template

  • implement –post

  • check hashes

  • paginate index (not relevant with current index)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blogtopoid-0.0.1b.tar.gz (28.3 kB view details)

Uploaded Source

File details

Details for the file blogtopoid-0.0.1b.tar.gz.

File metadata

  • Download URL: blogtopoid-0.0.1b.tar.gz
  • Upload date:
  • Size: 28.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for blogtopoid-0.0.1b.tar.gz
Algorithm Hash digest
SHA256 599d7d9685c7b9aeca6ce5bb6fc596aa3db860394d0b669721beb31ea7447b8d
MD5 be2f7a62bd3e241bf7ee038adff07d43
BLAKE2b-256 39ca77270c08ff805facd11c61d6ec2e0c3a1dcec957a1de3476c8f1004c9897

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page