Skip to content

Instantly share code, notes, and snippets.

View kylebarbour's full-sized avatar

Kyle Barbour kylebarbour

View GitHub Profile
@kylebarbour
kylebarbour / rssmaker.py
Created December 26, 2016 22:39
Generates an RSS item from kramdown and metadata sourcefiles
#!/usr/bin/env python
#
# rssmaker sourcefile | Kyle Barbour | Summer 2013
# Generates an RSS item from kramdown and metadata sourcefiles
#
# The sourcefile should be formatted as follows:
#
# Title of RSS entry
# * http://urlforpost.org
# Text of RSS entry. Text can be in any format supported by Markdown.
@kylebarbour
kylebarbour / pagemaker.py
Last active December 26, 2016 22:39
Generates HTML5 from kramdown and metadata sourcefiles
#!/usr/bin/env python
#
# pagemaker [-xh] sourcefile [destination] | Kyle Barbour | Spring 2013
# Generates XHTML from kramdown and metadata sourcefiles
#
# The sourcefile should be formatted as follows:
#
# TITLE: Title
# META: Meta content
# HEADER: Relative path to the XHTML header