Mercurial > genshi > genshi-test
annotate examples/tutorial/geddit/templates/index.xml @ 838:80bce2f6f9fe
Move ChangeLog entry for [1046] to 0.5.2 release section.
author | cmlenz |
---|---|
date | Tue, 17 Mar 2009 17:19:14 +0000 |
parents | 693a7212b348 |
children |
rev | line source |
---|---|
622 | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <feed xmlns="http://www.w3.org/2005/Atom" | |
3 xmlns:py="http://genshi.edgewall.org/"> | |
4 | |
628
693a7212b348
GenshiTutorial: tweaks to sync with code on wiki page.
cmlenz
parents:
623
diff
changeset
|
5 <title>Geddit News</title> |
622 | 6 <id href="${url('/')}"/> |
7 <link rel="alternate" href="${url('/')}" type="text/html"/> | |
8 <link rel="self" href="${url('/feed/')}" type="application/atom+xml"/> | |
9 <updated>${links[0].time.isoformat()}</updated> | |
10 | |
11 <entry py:for="link in reversed(links)"> | |
12 <title>${link.url}</title> | |
13 <link rel="alternate" href="${link.url}" type="text/html"/> | |
623
9c89e22516b4
GenshiTutorial: Minor updates to Atom feed templates.
cmlenz
parents:
622
diff
changeset
|
14 <link rel="via" href="${url('/info/%s/' % link.id)}" type="text/html"/> |
622 | 15 <id>${url('/info/%s/' % link.id)}</id> |
16 <author> | |
17 <name>${link.username}</name> | |
18 </author> | |
19 <updated>${link.time.isoformat()}</updated> | |
20 <summary>${link.title}</summary> | |
21 </entry> | |
22 | |
23 </feed> |