[Zope-CVS] CVS: Packages/Moztop/moztopsupport/xml - container.py:1.3
Stephan Richter
srichter@cbu.edu
Thu, 20 Mar 2003 16:37:20 -0500
Update of /cvs-repository/Packages/Moztop/moztopsupport/xml
In directory cvs.zope.org:/tmp/cvs-serv16402/moztopsupport/xml
Modified Files:
container.py
Log Message:
Fixed site urn in rsd.xml
=== Packages/Moztop/moztopsupport/xml/container.py 1.2 => 1.3 ===
--- Packages/Moztop/moztopsupport/xml/container.py:1.2 Thu Mar 20 14:30:51 2003
+++ Packages/Moztop/moztopsupport/xml/container.py Thu Mar 20 16:37:19 2003
@@ -38,7 +38,7 @@
return url
def siteURN(self):
- return self.homePageLink()
+ return '%s/%s' %(self.homePageLink(), 'rsd.xml')
def contentsURL(self):
return '%s/%s' % (self.homePageLink(), 'contents.rdf')
@@ -53,7 +53,8 @@
if not title:
title = str(getAdapter(context, IObjectName))
if not title:
- title = str(getView(context, 'absolute_url', self.request))
+ title = 'Zope 3 at ' + str(getView(
+ context, 'absolute_url', self.request))
return title
def rsd(self):