Skip to content

Commit

Permalink
Update style import style
Browse files Browse the repository at this point in the history
  • Loading branch information
decklin committed Oct 30, 2008
1 parent b625d19 commit 0e63e51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/simple/style/atom.kid
Expand Up @@ -2,7 +2,7 @@
<?python
import time
import datetime
import mnemosyne
from mnemosyne import __url__, __version__

def rfc3339(date):
date = datetime.datetime.fromtimestamp(time.mktime(date))
Expand All @@ -15,7 +15,7 @@ def rfc3339(date):
<link rel="self" type="application/atom+xml" href="${'/'.join([blogroot]+muse.where)}" />
<link rel="alternate" type="application/xhtml+xml" href="${blogroot}/" />
<updated>${rfc3339(muse.entries[-1].date)}</updated>
<generator uri="${mnemosyne.__url__}" version="${mnemosyne.__version__}">
<generator uri="${__url__}" version="${__version__}">
Mnemosyne
</generator>
<author>
Expand Down
7 changes: 4 additions & 3 deletions examples/simple/style/xhtml.kid
@@ -1,5 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<?python import mnemosyne ?>
<?python
from mnemosyne import __url__, __version__
?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#">

<head>
Expand All @@ -16,8 +18,7 @@

<hr />

<p>Generated by <a href="${mnemosyne.__url__}">Mnemosyne
${mnemosyne.__version__}</a>.</p>
<p>Generated by <a href="${__url__}">Mnemosyne ${__version__}</a>.</p>

</body>

Expand Down

0 comments on commit 0e63e51

Please sign in to comment.