Skip to content

Instantly share code, notes, and snippets.

@rlander
Created February 23, 2012 19:59
Show Gist options
  • Save rlander/1894765 to your computer and use it in GitHub Desktop.
Save rlander/1894765 to your computer and use it in GitHub Desktop.
renderer
map = {
'title': 'h1'
'body' : 'p'
}
node = extract(d, map)
node['title'] = entry.title
node['body'] = entry.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment