Show More
@@ -57,7 +57,7 def get_tag_uri(url, date): | |||
|
57 | 57 | "Creates a TagURI. See http://diveintomark.org/archives/2004/05/28/howto-atom-id" |
|
58 | 58 | tag = re.sub('^http://', '', url) |
|
59 | 59 | if date is not None: |
|
60 | tag = re.sub('/', ',%s:/' % date.strftime('%Y-%m-%d'), tag, 1) | |
|
60 | tag = re.sub('/', ',%s:/' % date.strftime('%Y-%m-%d'), tag, count=1) | |
|
61 | 61 | tag = re.sub('#', '/', tag) |
|
62 | 62 | return 'tag:' + tag |
|
63 | 63 |
General Comments 0
You need to be logged in to leave comments.
Login now