Mercurial > hg > Feedworm
comparison OpmlImport.py @ 217:bb3c851b18b1
add source file endcoding header
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 27 Apr 2014 05:33:34 +0200 |
parents | b8d209fdad14 |
children | 699d8f1cebd4 |
comparison
equal
deleted
inserted
replaced
216:9bc4b2465435 | 217:bb3c851b18b1 |
---|---|
1 | 1 # -*- coding: utf-8 -*- |
2 from Feed import Feed | 2 from Feed import Feed |
3 from xml.dom.minidom import parse | 3 from xml.dom.minidom import parse |
4 | 4 |
5 def createFeedsFromOPML(session=None, filename=None): | 5 def createFeedsFromOPML(session=None, filename=None): |
6 document = parse(filename) | 6 document = parse(filename) |