This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
dirty and filthy script to migrate trac tickets to a static site, based on | |
their rss feed. | |
will take all xml files in data/ dir and create the new files with .html | |
extension. also accepts single xml file as input. | |
depends on feedparser (pip install feedparser) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" | |
"net" | |
"flag" | |
"github.com/gliderlabs/ssh" |