1.1 --- a/ep2008.py Mon Mar 24 20:28:57 2008 +0100
1.2 +++ b/ep2008.py Tue Mar 25 01:31:22 2008 +0100
1.3 @@ -70,4 +70,10 @@
1.4 contribute_string = u'Contribute to this site!'
1.5 special_username = 0 # show simple username or contribute string for login
1.6
1.7 + # RSS links for the blog.
1.8 + extra_rss = u'''
1.9 +<link rel="alternate" type="application/rss+xml"
1.10 + title="EuroPython Conference RSS Feed" href="http://europython.wordpress.com/feed/" />
1.11 +<link rel="pingback" href="http://europython.wordpress.com/xmlrpc.php" />'''
1.12 +
1.13 # vim: tabstop=4 expandtab shiftwidth=4
2.1 --- a/themes/ep2008/ep2008.py Mon Mar 24 20:28:57 2008 +0100
2.2 +++ b/themes/ep2008/ep2008.py Tue Mar 25 01:31:22 2008 +0100
2.3 @@ -2,7 +2,7 @@
2.4 """
2.5 MoinMoin - ep2008 (EuroPython 2008) theme
2.6
2.7 - @copyright: 2003-2007 by Nir Soffer, Thomas Waldmann, Paul Boddie
2.8 + @copyright: 2003-2008 by Nir Soffer, Thomas Waldmann, Paul Boddie
2.9 @license: GNU GPL (v2 or later), see COPYING.txt for details.
2.10 """
2.11
2.12 @@ -14,6 +14,23 @@
2.13
2.14 name = "ep2008"
2.15
2.16 + def rsslink(self):
2.17 + """ Create rss link in head, used by FireFox
2.18 +
2.19 + RSS link for FireFox. This shows an rss link in the bottom of
2.20 + the page and let you subscribe to the wiki rss feed.
2.21 +
2.22 + @rtype: unicode
2.23 + @return: html head
2.24 + """
2.25 +
2.26 + if self.shouldUseRSS():
2.27 + extra_rss = self.cfg.extra_rss
2.28 + else:
2.29 + extra_rss = u''
2.30 +
2.31 + return ThemeBase.rsslink(self) + u'\n' + extra_rss
2.32 +
2.33 def header(self, d, **kw):
2.34 """ Assemble wiki header
2.35