Skip to content

Instantly share code, notes, and snippets.

@jackbaty
Created April 6, 2014 19:39
Show Gist options
  • Save jackbaty/10010596 to your computer and use it in GitHub Desktop.
Save jackbaty/10010596 to your computer and use it in GitHub Desktop.
Day One Export OPML Template
<?xml version="1.0" encoding="UTF-8"?>
<opml version="2.0">
<head>
<title>Day One Export</title>
</head>
<body>
{% for entry in journal %}
<outline text="{{ entry['Text'] }}" StartDate="{{ entry['Date'] }}" Weather="{{ entry['Fahrenheit'] }} and {{ entry['Description'] }}" Address="{{ entry.place() }}" />
{% endfor %}
</body>
</opml>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment