ajack 2004/01/11 10:42:33
Modified: python/gump/syndication syndicator.py atom.py
Log:
Minor RSS/Atom fixes.
Revision Changes Path
1.13 +3 -3 jakarta-gump/python/gump/syndication/syndicator.py
Index: syndicator.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/syndication/syndicator.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- syndicator.py 9 Jan 2004 19:57:20 -0000 1.12
+++ syndicator.py 11 Jan 2004 18:42:32 -0000 1.13
@@ -99,13 +99,13 @@
content += self.getStateContent(project.getStatePair())
- content += 'Sequence in state: ' + `stats.sequenceInState`
+ content += 'Duration in state: <b>' + `stats.sequenceInState` + '</b>
(runs), '
if not stats.previousState == STATE_NONE \
and not stats.previousState == STATE_UNSET:
- content += 'Previous state: ' \
+ content += 'Previous state: <b>' \
+ stateName(stats.previousState) \
- + '\n\n'
+ + '</b>\n\n'
content += self.getSundries(project)
1.8 +2 -2 jakarta-gump/python/gump/syndication/atom.py
Index: atom.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/syndication/atom.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- atom.py 9 Jan 2004 19:57:20 -0000 1.7
+++ atom.py 11 Jan 2004 18:42:32 -0000 1.8
@@ -99,8 +99,8 @@
# Write the header part...
stream.write(""" <entry>
- <author>Gump</author>
- <id>tag:gump:%s:%s-%s</id>
+ <author><name>Gump</name></author>
+ <id>gump:%s:%s-%s</id>
<title>%s</title>
<link rel="alternate" type="text/html" href="%s"/>
<issued>%s</issued>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]